]> granicus.if.org Git - clang/commitdiff
threadSafety::SExprBuilder::BlockInfo: Non-static member initializer is unavailable...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 16 Apr 2014 01:22:22 +0000 (01:22 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 16 Apr 2014 01:22:22 +0000 (01:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206347 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Analyses/ThreadSafetyCommon.h

index 83a00d3806f2b4a919b78b7272b4140eba1954bf..04207dc9c5d1d7a8f416932769815e74a897af64 100644 (file)
@@ -262,8 +262,9 @@ private:
 
   struct BlockInfo {
     NameVarMap ExitMap;
-    bool HasBackEdges = false;
-    unsigned SuccessorsToProcess = 0;
+    bool HasBackEdges;
+    unsigned SuccessorsToProcess;
+    BlockInfo() : HasBackEdges(false), SuccessorsToProcess(0) {}
   };
 
   // We implement the CFGVisitor API