[clang] [clang] Improved isSimpleTypeSpecifier (PR #79037)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 26 18:55:41 PST 2024
================
@@ -156,24 +161,19 @@ bool Sema::isSimpleTypeSpecifier(tok::TokenKind Kind) const {
#define TRANSFORM_TYPE_TRAIT_DEF(_, Trait) case tok::kw___##Trait:
#include "clang/Basic/TransformTypeTraits.def"
case tok::kw___auto_type:
- return true;
-
- case tok::annot_typename:
+ case tok::kw__Bool:
----------------
owenca wrote:
I would move it up, to just below `kw_bool`.
https://github.com/llvm/llvm-project/pull/79037
More information about the cfe-commits
mailing list