From: Craig Topper Date: Tue, 29 Sep 2015 05:08:30 +0000 (+0000) Subject: Revert part of r248776. One of the changes worked on my local build, but not on the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a981b2df0484fe4530123bd8305b78324807ed1f;p=clang Revert part of r248776. One of the changes worked on my local build, but not on the bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248778 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/Analyses/ThreadSafetyTIL.h b/include/clang/Analysis/Analyses/ThreadSafetyTIL.h index 9864999133..be8a7105d7 100644 --- a/include/clang/Analysis/Analyses/ThreadSafetyTIL.h +++ b/include/clang/Analysis/Analyses/ThreadSafetyTIL.h @@ -1445,7 +1445,7 @@ public: /// Return the list of basic blocks that this terminator can branch to. ArrayRef successors() { - return Branches; + return llvm::makeArrayRef(Branches); } template