https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/86690
This patch fixes: clang/lib/AST/TypePrinter.cpp:2307:9: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] >From f9b781e803e79dd3395dbb796f327923449fa3b8 Mon Sep 17 00:00:00 2001 From: Kazu Hirata <k...@google.com> Date: Tue, 26 Mar 2024 09:15:45 -0700 Subject: [PATCH] [AST] Fix a warning This patch fixes: clang/lib/AST/TypePrinter.cpp:2307:9: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] --- clang/lib/AST/TypePrinter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clang/lib/AST/TypePrinter.cpp b/clang/lib/AST/TypePrinter.cpp index d9504f9dcb3899..d0ba6066fa0180 100644 --- a/clang/lib/AST/TypePrinter.cpp +++ b/clang/lib/AST/TypePrinter.cpp @@ -2303,10 +2303,10 @@ printTo(raw_ostream &OS, ArrayRef<TA> Args, const PrintingPolicy &Policy, } else { if (!FirstArg) OS << Comma; - // Tries to print the argument with location info if exists. - printArgument(Arg, Policy, ArgOS, - TemplateParameterList::shouldIncludeTypeForArgument( - Policy, TPL, ParmIndex)); + // Tries to print the argument with location info if exists. + printArgument(Arg, Policy, ArgOS, + TemplateParameterList::shouldIncludeTypeForArgument( + Policy, TPL, ParmIndex)); } StringRef ArgString = ArgOS.str(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits