=?utf-8?q?Björn_Schäpers?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>


================
@@ -1637,6 +1637,8 @@ static auto computeNewlines(const AnnotatedLine &Line,
                             const SmallVectorImpl<AnnotatedLine *> &Lines,
                             const FormatStyle &Style) {
   const auto &RootToken = *Line.First;
+  if (RootToken.Finalized || isClangFormatOn(RootToken.TokenText))
----------------
owenca wrote:

It might regress `OneLineFormatOffRegex`. I'd leave it out if it doesn't impact 
existing and the added tests.

https://github.com/llvm/llvm-project/pull/218022
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to