llvm-project/clang/lib/StaticAnalyzer/Frontend
Artem Dergachev 6cee434ed1 [analyzer] Add minimal support for fix-it hints.
Allow attaching fixit hints to Static Analyzer BugReports.

Fixits are attached either to the bug report itself or to its notes
(path-sensitive event notes or path-insensitive extra notes).

Add support for fixits in text output (including the default text output that
goes without notes, as long as the fixit "belongs" to the warning).

Add support for fixits in the plist output mode.

Implement a fixit for the path-insensitive DeadStores checker. Only dead
initialization warning is currently covered.

Implement a fixit for the path-sensitive VirtualCall checker when the virtual
method is not pure virtual (in this case the "fix" is to suppress the warning
by qualifying the call).

Both fixits are under an off-by-default flag for now, because they
require more careful testing.

Differential Revision: https://reviews.llvm.org/D65182

llvm-svn: 371257
2019-09-06 20:55:29 +00:00
..
AnalysisConsumer.cpp [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00:00
CMakeLists.txt [analyzer][NFC] Move CheckerRegistry from the Core directory to Frontend 2018-12-15 16:23:51 +00:00
CheckerRegistration.cpp [analyzer] Warn about -analyzer-configs being meant for development purposes only 2019-08-15 08:53:16 +00:00
CheckerRegistry.cpp [analyzer] Analysis: Silence checkers 2019-08-16 01:53:14 +00:00
FrontendActions.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
ModelConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ModelInjector.cpp Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
ModelInjector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00