[clang][Analyzer] Add symbol uninterestingness to bug report.
authorBalázs Kéri <1.int32@gmail.com>
Thu, 15 Jul 2021 06:34:59 +0000 (08:34 +0200)
committerBalázs Kéri <1.int32@gmail.com>
Thu, 15 Jul 2021 08:02:18 +0000 (10:02 +0200)
commitb0d38ad0bc254b887123cd063a5f0db30a80f938
tree425ef9cad63b5c5555fb08796e725842579cf2ab
parentfa2daaeff82e3eb26fe7008715024f5bc11f7f1a
[clang][Analyzer] Add symbol uninterestingness to bug report.

`PathSensitiveBughReport` has a function to mark a symbol as interesting but
it was not possible to clear this flag. This can be useful in some cases,
so the functionality is added.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D105637
clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
clang/lib/StaticAnalyzer/Core/BugReporter.cpp
clang/unittests/StaticAnalyzer/BugReportInterestingnessTest.cpp [new file with mode: 0644]
clang/unittests/StaticAnalyzer/CMakeLists.txt
clang/unittests/StaticAnalyzer/Reusables.h