diff options
author | Brad King <brad.king@kitware.com> | 2023-01-18 21:19:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-18 21:19:27 (GMT) |
commit | 9ee57226bc37129e3c6a2b5cddc60279a105d4c7 (patch) | |
tree | 456940ec85feb41c05ded2403af1c2ebd9049f5c /Source | |
parent | 20bbd5f3d3b63fcf1f62e1df3ec8ce3ba30d288b (diff) | |
download | CMake-9ee57226bc37129e3c6a2b5cddc60279a105d4c7.zip CMake-9ee57226bc37129e3c6a2b5cddc60279a105d4c7.tar.gz CMake-9ee57226bc37129e3c6a2b5cddc60279a105d4c7.tar.bz2 |
clang-format: Add comments to suppress some formatting
Preserve manually-formatted blocks.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmCoreTryCompile.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx index 2084b33..618c794 100644 --- a/Source/cmCoreTryCompile.cxx +++ b/Source/cmCoreTryCompile.cxx @@ -39,12 +39,14 @@ constexpr size_t lang_property_start = 0; constexpr size_t lang_property_size = 4; constexpr size_t pie_property_start = 4; constexpr size_t pie_property_size = 2; +/* clang-format off */ #define SETUP_LANGUAGE(name, lang) \ static const std::string name[lang_property_size + pie_property_size + 1] = \ { "CMAKE_" #lang "_COMPILER_EXTERNAL_TOOLCHAIN", \ "CMAKE_" #lang "_COMPILER_TARGET", \ "CMAKE_" #lang "_LINK_NO_PIE_SUPPORTED", \ "CMAKE_" #lang "_PIE_SUPPORTED", "" } +/* clang-format on */ // NOLINTNEXTLINE(bugprone-suspicious-missing-comma) SETUP_LANGUAGE(c_properties, C); |