[clang] [ClangFormat] Fix formatting bugs. (PR #76245)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 31 20:10:19 PST 2023


================
@@ -416,10 +421,15 @@ struct FormatToken {
   /// to another one please use overwriteFixedType, or even better remove the
   /// need to reassign the type.
   void setFinalizedType(TokenType T) {
+    if (MacroCtx && MacroCtx->Role == MR_UnexpandedArg)
+      return;
+
----------------
owenca wrote:

Remove this empty line to be consistent with lines 431-432 below?

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


More information about the cfe-commits mailing list