
Instead of using CLANG_ENABLE_STATIC_ANALYZER for use of the static analyzer in both clang and clang-tidy, add a second toggle CLANG_TIDY_ENABLE_STATIC_ANALYZER. This allows enabling the static analyzer in clang-tidy while disabling it in clang. Differential Revison: https://reviews.llvm.org/D87118
11 lines
252 B
CMake
11 lines
252 B
CMake
/* This generated file is for internal use. Do not include it from headers. */
|
|
|
|
#ifdef CLANG_TIDY_CONFIG_H
|
|
#error clang-tidy-config.h can only be included once
|
|
#else
|
|
#define CLANG_TIDY_CONFIG_H
|
|
|
|
#cmakedefine01 CLANG_TIDY_ENABLE_STATIC_ANALYZER
|
|
|
|
#endif
|