diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2016-10-07 10:56:44 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2016-10-07 10:56:44 +0000 |
commit | 5d9278ef00057d49349a42d28e3ea91f19bd22bf (patch) | |
tree | f221b69eb4e0f10beff6d54a97215e48d892ebf0 /clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp | |
parent | fc36b586fb07904dc9f0e311c9630a0d1c768e45 (diff) | |
download | bcm5719-llvm-5d9278ef00057d49349a42d28e3ea91f19bd22bf.tar.gz bcm5719-llvm-5d9278ef00057d49349a42d28e3ea91f19bd22bf.zip |
Revert "[analyzer] Try to re-apply r283092 "Extend bug reports with extra notes"
Vector of smart pointers wasn't the thing that caused msvc crash.
llvm-svn: 283537
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp b/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp index 86c194e8fae..54c668cd2d6 100644 --- a/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp +++ b/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp @@ -344,10 +344,3 @@ bool AnalyzerOptions::shouldWidenLoops() { WidenLoops = getBooleanOption("widen-loops", /*Default=*/false); return WidenLoops.getValue(); } - -bool AnalyzerOptions::shouldDisplayNotesAsEvents() { - if (!DisplayNotesAsEvents.hasValue()) - DisplayNotesAsEvents = - getBooleanOption("notes-as-events", /*Default=*/false); - return DisplayNotesAsEvents.getValue(); -} |