summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2016-10-07 10:56:44 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2016-10-07 10:56:44 +0000
commit5d9278ef00057d49349a42d28e3ea91f19bd22bf (patch)
treef221b69eb4e0f10beff6d54a97215e48d892ebf0 /clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
parentfc36b586fb07904dc9f0e311c9630a0d1c768e45 (diff)
downloadbcm5719-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.cpp7
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();
-}
OpenPOWER on IntegriCloud