[clang] Fixes and closes issues, #53390 and #58710. Added new controls to IndentNamespaceAliases, IndentUsingDeclarations and DecorateReflowedComments. (PR #102894)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 12:01:01 PDT 2024


================
@@ -465,6 +493,9 @@ bool UnwrappedLineParser::parseLevel(const FormatToken *OpeningBrace,
       SwitchLabelEncountered = true;
       parseStructuralElement();
       break;
+    case tok::kw_using:
+      parseStmt(Style.IndentUsingDeclarations);
----------------
HazardyKnusperkeks wrote:

```suggestion
      parseStmt(/*KeepIndentation=*/Style.IndentUsingDeclarations);
```

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


More information about the cfe-commits mailing list