================
@@ -3769,7 +3771,33 @@ tooling::Replacements sortJavaImports(const FormatStyle
&Style, StringRef Code,
else if (isClangFormatOn(Trimmed))
FormattingOff = false;
- if (ImportRegex.match(Line, &Matches)) {
+ // Track block comments (/* ... */)
+ // Check if we're starting a block comment on this line
----------------
HazardyKnusperkeks wrote:
```suggestion
// Check if we're starting a block comment on this line.
```
End comments in full stop. (Here and everywhere else.)
https://github.com/llvm/llvm-project/pull/177326
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits