[clang] [clang-format] annotate inline assembly parens (PR #201703)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 6 12:04:58 PDT 2026


================
@@ -1487,23 +1487,47 @@ void UnwrappedLineParser::parseStructuralElement(
     return;
   }
   switch (FormatTok->Tok.getKind()) {
-  case tok::kw_asm:
+  case tok::kw_asm: {
+    bool DoNotFormat = false;
----------------
HazardyKnusperkeks wrote:

Thanks, I would add that the formatting is disabled by finalizing the tokens.

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


More information about the cfe-commits mailing list