Author: dcoughlin
Date: Mon Jun  6 23:44:52 2016
New Revision: 271981

URL: http://llvm.org/viewvc/llvm-project?rev=271981&view=rev
Log:
[analyzer] Speculative fix for r271907.

Fix a compilation error on the bots involving brace initialization.

Differential Revision: http://reviews.llvm.org/D12761

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h?rev=271981&r1=271980&r2=271981&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h 
(original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h Mon Jun  
6 23:44:52 2016
@@ -28,7 +28,7 @@ class MPIBugReporter {
 public:
   MPIBugReporter(BugReporter &BR, const CheckerBase &CB,
                  const MPIFunctionClassifier &FC)
-      : BReporter{BR} {
+      : BReporter(BR) {
     UnmatchedWaitBugType.reset(new BugType(&CB, "Unmatched wait", MPIError));
     DoubleNonblockingBugType.reset(
         new BugType(&CB, "Double nonblocking", MPIError));


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to