[analyzer] Add a new frontend flag to display all checker options
authorKristof Umann <kristof.umann@ericsson.com>
Thu, 23 May 2019 20:47:28 +0000 (20:47 +0000)
committerKristof Umann <kristof.umann@ericsson.com>
Thu, 23 May 2019 20:47:28 +0000 (20:47 +0000)
commite8df27d9256b38ec1a2467a1b9c087b00ffd17cc
tree7b17d3776217690e58a62413e1e8d104d0b1c693
parentdab31924e9c790555f916d21e6575e7f1e1cd5b7
[analyzer] Add a new frontend flag to display all checker options

Add the new frontend flag -analyzer-checker-option-help to display all
checker/package options.

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

llvm-svn: 361552
12 files changed:
clang/include/clang/Driver/CC1Options.td
clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
clang/include/clang/StaticAnalyzer/Frontend/FrontendActions.h
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
clang/test/Analysis/analyzer-checker-option-help.c [new file with mode: 0644]
clang/test/Analysis/analyzer-list-configs.c
clang/test/Analysis/checker-plugins.c