[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
================
@@ -346,6 +345,35 @@ bool UnwrappedLineParser::precededByCommentOrPPDirective() const {
(Previous->IsMultiline || Previous->NewlinesBefore > 0);
}
+void UnwrappedLineParser::parseStmt(bool keepIndentation) {
+ bool levelsAreAdded = (Line->Level == DeclarationScopeStack.size());
+ // move till the end of the statement
----------------
HazardyKnusperkeks wrote:
```suggestion
// Move till the end of the statement.
```
https://github.com/llvm/llvm-project/pull/102894
More information about the cfe-commits
mailing list