1
0
Эх сурвалжийг харах

clang-format: Add comments to suppress some formatting

Preserve manually-formatted blocks.
Brad King 7 жил өмнө
parent
commit
eb7ec19c1c

+ 2 - 1
Modules/CMakeCompilerABI.h

@@ -2,10 +2,11 @@
 /* Size of a pointer-to-data in bytes.  */
 /* Size of a pointer-to-data in bytes.  */
 #define SIZEOF_DPTR (sizeof(void*))
 #define SIZEOF_DPTR (sizeof(void*))
 const char info_sizeof_dptr[] = {
 const char info_sizeof_dptr[] = {
+  /* clang-format off */
   'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', 'o', 'f', '_', 'd', 'p', 't',
   'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', 'o', 'f', '_', 'd', 'p', 't',
   'r', '[', ('0' + ((SIZEOF_DPTR / 10) % 10)), ('0' + (SIZEOF_DPTR % 10)), ']',
   'r', '[', ('0' + ((SIZEOF_DPTR / 10) % 10)), ('0' + (SIZEOF_DPTR % 10)), ']',
   '\0'
   '\0'
-  /* clang-format needs this comment to break after the opening brace */
+  /* clang-format on */
 };
 };
 
 
 /* Application Binary Interface.  */
 /* Application Binary Interface.  */