]> granicus.if.org Git - clang/commitdiff
[analyzer] Speculative fix for r271907.
authorDevin Coughlin <dcoughlin@apple.com>
Tue, 7 Jun 2016 04:44:52 +0000 (04:44 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Tue, 7 Jun 2016 04:44:52 +0000 (04:44 +0000)
Fix a compilation error on the bots involving brace initialization.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271981 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h

index c084f89419176cb985e1700e98a78c56afb16dea..8dfc116c0bd979747e00c5c2243cd1da39569a46 100644 (file)
@@ -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));