r271981 - [analyzer] Speculative fix for r271907.

Devin Coughlin via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 6 21:44:52 PDT 2016


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));




More information about the cfe-commits mailing list