]> granicus.if.org Git - clang/commitdiff
Revert part of r248776. One of the changes worked on my local build, but not on the...
authorCraig Topper <craig.topper@gmail.com>
Tue, 29 Sep 2015 05:08:30 +0000 (05:08 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 29 Sep 2015 05:08:30 +0000 (05:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248778 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Analyses/ThreadSafetyTIL.h

index 98649991338c79bbc7d3e88d9af7cb0189d59c39..be8a7105d7835a516f346540a1c74718539e47f1 100644 (file)
@@ -1445,7 +1445,7 @@ public:
 
   /// Return the list of basic blocks that this terminator can branch to.
   ArrayRef<BasicBlock*> successors() {
-    return Branches;
+    return llvm::makeArrayRef(Branches);
   }
 
   template <class V>