[clang-tools-extra] 0b90e13 - [pseudo] Style tweaks forgotten in D130337. NFC

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 16 01:26:39 PDT 2022


Author: Sam McCall
Date: 2022-08-16T10:26:25+02:00
New Revision: 0b90e136eee928071656948b7fe1edc5ff36fcdf

URL: https://github.com/llvm/llvm-project/commit/0b90e136eee928071656948b7fe1edc5ff36fcdf
DIFF: https://github.com/llvm/llvm-project/commit/0b90e136eee928071656948b7fe1edc5ff36fcdf.diff

LOG: [pseudo] Style tweaks forgotten in D130337. NFC

Added: 
    

Modified: 
    clang-tools-extra/pseudo/lib/cxx/cxx.bnf

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/pseudo/lib/cxx/cxx.bnf b/clang-tools-extra/pseudo/lib/cxx/cxx.bnf
index 697e79d609aa..bc6599c4e3c4 100644
--- a/clang-tools-extra/pseudo/lib/cxx/cxx.bnf
+++ b/clang-tools-extra/pseudo/lib/cxx/cxx.bnf
@@ -375,18 +375,19 @@ simple-type-specifier := nested-name-specifier TEMPLATE simple-template-id
 simple-type-specifier := decltype-specifier
 simple-type-specifier := placeholder-type-specifier
 simple-type-specifier := nested-name-specifier_opt template-name
+simple-type-specifier := SHORT
+simple-type-specifier := LONG
+simple-type-specifier := SIGNED
+simple-type-specifier := UNSIGNED
 simple-type-specifier := builtin-type
+#! builtin-type added to aid in classifying which specifiers may combined.
 builtin-type := CHAR
 builtin-type := CHAR8_T
 builtin-type := CHAR16_T
 builtin-type := CHAR32_T
 builtin-type := WCHAR_T
 builtin-type := BOOL
-simple-type-specifier := SHORT
 builtin-type := INT
-simple-type-specifier := LONG
-simple-type-specifier := SIGNED
-simple-type-specifier := UNSIGNED
 builtin-type := FLOAT
 builtin-type := DOUBLE
 builtin-type := VOID


        


More information about the cfe-commits mailing list