mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
clang-format: Add comments to suppress some formatting
Preserve manually-formatted blocks.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user