summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCompilerABI.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-05-31 17:28:16 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-01 13:52:02 (GMT)
commiteb7ec19c1c639e91b812763ead3a56e97d20aec4 (patch)
treedfb814686fadbf2a635683ee212d6f6d1c51f60f /Modules/CMakeCompilerABI.h
parentb67a5bf175702ec2f464d1a09da31337fa98e8d9 (diff)
downloadCMake-eb7ec19c1c639e91b812763ead3a56e97d20aec4.zip
CMake-eb7ec19c1c639e91b812763ead3a56e97d20aec4.tar.gz
CMake-eb7ec19c1c639e91b812763ead3a56e97d20aec4.tar.bz2
clang-format: Add comments to suppress some formatting
Preserve manually-formatted blocks.
Diffstat (limited to 'Modules/CMakeCompilerABI.h')
-rw-r--r--Modules/CMakeCompilerABI.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeCompilerABI.h b/Modules/CMakeCompilerABI.h
index ad481d6..1f9abb1 100644
--- a/Modules/CMakeCompilerABI.h
+++ b/Modules/CMakeCompilerABI.h
@@ -2,10 +2,11 @@
/* Size of a pointer-to-data in bytes. */
#define SIZEOF_DPTR (sizeof(void*))
const char info_sizeof_dptr[] = {
+ /* clang-format off */
'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', 'o', 'f', '_', 'd', 'p', 't',
'r', '[', ('0' + ((SIZEOF_DPTR / 10) % 10)), ('0' + (SIZEOF_DPTR % 10)), ']',
'\0'
- /* clang-format needs this comment to break after the opening brace */
+ /* clang-format on */
};
/* Application Binary Interface. */