diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2019-08-20 02:15:47 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2019-08-20 02:15:47 +0000 |
commit | 48786cf8d3d5a84a966be2a8ab5c5e8097493731 (patch) | |
tree | 9f47a2febd4c723756e373903c7e6e462cb5ce0c /clang/lib | |
parent | e828ce1b8887aa20e9aa2bc7fbcbfa0a4eeff567 (diff) | |
download | bcm5719-llvm-48786cf8d3d5a84a966be2a8ab5c5e8097493731.tar.gz bcm5719-llvm-48786cf8d3d5a84a966be2a8ab5c5e8097493731.zip |
[analyzer] NFC: Drop support for extra text attached to bug reports.
It was introduced in 2011 but never used since then.
llvm-svn: 369319
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp index 37a3ddecf7a..847174af601 100644 --- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/clang/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)); } |