summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2016-06-07 04:44:52 +0000
committerDevin Coughlin <dcoughlin@apple.com>2016-06-07 04:44:52 +0000
commit2737d991911e9769c43e8412bcce3736e48e98d7 (patch)
tree8fe3c6c39660bd4070393bebcbae1ba31e80c665
parentd15c106c9bd0a2edec9bd18f24278c0136bae4ad (diff)
downloadbcm5719-llvm-2737d991911e9769c43e8412bcce3736e48e98d7.tar.gz
bcm5719-llvm-2737d991911e9769c43e8412bcce3736e48e98d7.zip
[analyzer] Speculative fix for r271907.
Fix a compilation error on the bots involving brace initialization. Differential Revision: http://reviews.llvm.org/D12761 llvm-svn: 271981
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h b/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h
index c084f894191..8dfc116c0bd 100644
--- a/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h
+++ b/clang/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));
OpenPOWER on IntegriCloud