summaryrefslogtreecommitdiff
path: root/clang-tools-extra/pseudo
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2022-08-16 10:26:25 +0200
committerSam McCall <sam.mccall@gmail.com>2022-08-16 10:26:25 +0200
commit0b90e136eee928071656948b7fe1edc5ff36fcdf (patch)
treec475deb9828bd1a24c2c099c7dd10565107d07bc /clang-tools-extra/pseudo
parentebabd6bf1889d38660f5e00c8b2d3724f9ee7e4a (diff)
downloadllvm-0b90e136eee928071656948b7fe1edc5ff36fcdf.tar.gz
[pseudo] Style tweaks forgotten in D130337. NFC
Diffstat (limited to 'clang-tools-extra/pseudo')
-rw-r--r--clang-tools-extra/pseudo/lib/cxx/cxx.bnf9
1 files changed, 5 insertions, 4 deletions
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