Index: clang/include/clang/Driver/CC1Options.td =================================================================== --- clang/include/clang/Driver/CC1Options.td +++ clang/include/clang/Driver/CC1Options.td @@ -109,11 +109,11 @@ const char *Values = #define GET_CHECKERS #define CHECKER(FULLNAME, CLASS, HT, DOC_URI) FULLNAME "," - #include "clang/StaticAnalyzer/Checkers/Checkers.inc" + #include "clang/Driver/Checkers.inc" #undef GET_CHECKERS #define GET_PACKAGES #define PACKAGE(FULLNAME) FULLNAME "," - #include "clang/StaticAnalyzer/Checkers/Checkers.inc" + #include "clang/Driver/Checkers.inc" #undef GET_PACKAGES ; }]>; Index: clang/include/clang/Driver/CMakeLists.txt =================================================================== --- clang/include/clang/Driver/CMakeLists.txt +++ clang/include/clang/Driver/CMakeLists.txt @@ -1,3 +1,7 @@ set(LLVM_TARGET_DEFINITIONS Options.td) tablegen(LLVM Options.inc -gen-opt-parser-defs) +clang_tablegen(Checkers.inc -gen-clang-sa-checkers + -I ${CMAKE_CURRENT_SOURCE_DIR}/../StaticAnalyzer/Checkers + SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/../StaticAnalyzer/Checkers/Checkers.td + TARGET SACheckerForClangDriver) add_public_tablegen_target(ClangDriverOptions)