From: Devin Coughlin Date: Tue, 7 Jun 2016 04:44:52 +0000 (+0000) Subject: [analyzer] Speculative fix for r271907. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=749993885de01c27b9bac2070b748b467d903e78;p=clang [analyzer] Speculative fix for r271907. 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 --- diff --git a/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h b/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h index c084f89419..8dfc116c0b 100644 --- a/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h +++ b/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h @@ -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));