From 9913583e06240ef1e6dc2576770a34f2abc5d97e Mon Sep 17 00:00:00 2001 From: Artem Dergachev Date: Fri, 7 Oct 2016 17:24:06 +0000 Subject: [PATCH] [analyzer] Re-apply r283092, attempt no.4, chunk no.3, fixup 1. Remove the brace default initializer to see if this is what's causing the msvc crash. llvm-svn: 283574 --- clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h index 2d14bdf..0aa4192 100644 --- a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h +++ b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h @@ -255,7 +255,7 @@ public: /// allows you to specify where exactly in the auto-generated path diagnostic /// the extra note should appear. void addNote(StringRef Msg, const PathDiagnosticLocation &Pos, - ArrayRef Ranges = {}) { + ArrayRef Ranges) { PathDiagnosticNotePiece *P = new PathDiagnosticNotePiece(Pos, Msg); -- 2.7.4