summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-12-07 13:19:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-12-07 13:19:53 (GMT)
commit3b4337adc79c3744ad7b78b05035b4b460fb5f48 (patch)
tree9057f7ab5b14df7f35589661016810a12c9dcdc3 /Source/cmGlobalNinjaGenerator.cxx
parent6bae244ad2a25a95a90dde1aa9047924b5acc530 (diff)
parent232467eb1c0dab9156cd8c4af56aad3959cbee4b (diff)
downloadCMake-3b4337adc79c3744ad7b78b05035b4b460fb5f48.zip
CMake-3b4337adc79c3744ad7b78b05035b4b460fb5f48.tar.gz
CMake-3b4337adc79c3744ad7b78b05035b4b460fb5f48.tar.bz2
Merge topic 'clang-tidy-export-fixes-dir'
232467eb1c clang-tidy: add <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7982
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index f7753da..cfe4c7c 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -592,6 +592,8 @@ void cmGlobalNinjaGenerator::Generate()
this->CMakeCacheFile = this->NinjaOutputPath("CMakeCache.txt");
this->DisableCleandead = false;
this->DiagnosedCxxModuleNinjaSupport = false;
+ this->ClangTidyExportFixesDirs.clear();
+ this->ClangTidyExportFixesFiles.clear();
this->PolicyCMP0058 =
this->LocalGenerators[0]->GetMakefile()->GetPolicyStatus(
@@ -632,6 +634,8 @@ void cmGlobalNinjaGenerator::Generate()
{
this->CleanMetaData();
}
+
+ this->RemoveUnknownClangTidyExportFixesFiles();
}
void cmGlobalNinjaGenerator::CleanMetaData()