r248778 - Revert part of r248776. One of the changes worked on my local build, but not on the bots.

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 22:08:30 PDT 2015


Author: ctopper
Date: Tue Sep 29 00:08:30 2015
New Revision: 248778

URL: http://llvm.org/viewvc/llvm-project?rev=248778&view=rev
Log:
Revert part of r248776. One of the changes worked on my local build, but not on the bots.

Modified:
    cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h

Modified: cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h?rev=248778&r1=248777&r2=248778&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h (original)
+++ cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h Tue Sep 29 00:08:30 2015
@@ -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>




More information about the cfe-commits mailing list