[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 00:02:10 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:
----------------
mydeveloperday wrote:

I don't like stepping out of lib/Format  we need to check with the Owner of Lex they may want additional tests etc...  

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


More information about the cfe-commits mailing list