diff options
author | Brad King <brad.king@kitware.com> | 2023-04-28 14:13:08 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-04-28 14:13:18 (GMT) |
commit | 5aab50d4b753b6be47c8f897c4e8daf47aac45d9 (patch) | |
tree | 999c1ffd1621a518994c7f541450974b644bdcd4 /Source | |
parent | 602481ee6762d8231a313e1c9017830a32ffbd56 (diff) | |
parent | 485256f2d06f2e9bd31300a7f2013b607b322c21 (diff) | |
download | CMake-5aab50d4b753b6be47c8f897c4e8daf47aac45d9.zip CMake-5aab50d4b753b6be47c8f897c4e8daf47aac45d9.tar.gz CMake-5aab50d4b753b6be47c8f897c4e8daf47aac45d9.tar.bz2 |
Merge topic 'ignore_unity_suspicious_include'
485256f2d0 Unity: Suppress clang-tidy 'bugprone-suspicious-include' warning
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8437
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index e00341c..73c97a6 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2974,6 +2974,7 @@ void cmLocalGenerator::WriteUnitySourceInclude( unity_file << *beforeInclude << "\n"; } + unity_file << "// NOLINTNEXTLINE(bugprone-suspicious-include)\n"; unity_file << "#include \"" << sf_full_path << "\"\n"; if (afterInclude) { |