[clang] [clang-format] Don't unconditionally rotate qualifiers past `typeof_unqual` (PR #200970)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 5 09:34:46 PDT 2026


================
@@ -120,6 +120,7 @@ bool Token::isSimpleTypeSpecifier(const LangOptions &LangOpts) const {
   case tok::kw_char16_t:
   case tok::kw_char32_t:
   case tok::kw_typeof:
+  case tok::kw_typeof_unqual:
----------------
Cons-Cat wrote:

Oops, that should have stayed in the previous MR this split from. I'll just remove that, since it shouldn't be necessary to work here and apparently it wasn't needed for the previous fix to work.

https://github.com/llvm/llvm-project/pull/200970


More information about the cfe-commits mailing list