summaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2019-08-20 02:15:47 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2019-08-20 02:15:47 +0000
commit37d1817c7e58ccd7c13e873a390ad16aaecd983a (patch)
tree9fa3f5ff5d32edb27cc6f9028be4168bc7920817 /lib/StaticAnalyzer
parent387fd059a36f735b46e4499e4aa2e1d2eb6db979 (diff)
downloadclang-37d1817c7e58ccd7c13e873a390ad16aaecd983a.tar.gz
[analyzer] NFC: Drop support for extra text attached to bug reports.
It was introduced in 2011 but never used since then. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer')
-rw-r--r--lib/StaticAnalyzer/Core/BugReporter.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp
index 37a3ddecf7..847174af60 100644
--- a/lib/StaticAnalyzer/Core/BugReporter.cpp
+++ b/lib/StaticAnalyzer/Core/BugReporter.cpp
@@ -2878,11 +2878,6 @@ void BugReporter::FlushReport(BugReportEquivClass& EQ) {
Pieces.push_front(*I);
}
- // Get the meta data.
- const BugReport::ExtraTextList &Meta = report->getExtraText();
- for (const auto &i : Meta)
- PD->addMeta(i);
-
updateExecutedLinesWithDiagnosticPieces(*PD);
Consumer->HandlePathDiagnostic(std::move(PD));
}