github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff fc7c79b60ca0846f1cc916b6b04eedd1fc21537e e0eb54954778a9321d520748d63732e2f66bc5c9 -- clang/test/CodeGen/aix-builtin-cpu-is.c clang/test/Sema/aix-builtin-cpu-unsupports.c clang/lib/Basic/Targets/PPC.cpp clang/lib/Basic/Targets/PPC.h clang/lib/CodeGen/CGBuiltin.cpp clang/lib/Sema/SemaChecking.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Basic/Targets/PPC.cpp b/clang/lib/Basic/Targets/PPC.cpp index 70f95f11b9..e43a9ff92a 100644 --- a/clang/lib/Basic/Targets/PPC.cpp +++ b/clang/lib/Basic/Targets/PPC.cpp @@ -915,7 +915,7 @@ bool PPCTargetInfo::validateCpuIs(StringRef CPUName) const { assert(Triple.isOSLinux() && "Triple for AIX OS has already been checked; " "it must be Linux OS here."); #define PPC_LNX_CPU(NAME, NUM) .Case(NAME, true) - return llvm::StringSwitch<bool>(CPUName) + return llvm::StringSwitch<bool>(CPUName) #include "llvm/TargetParser/PPCTargetParser.def" - .Default(false); + .Default(false); } `````````` </details> https://github.com/llvm/llvm-project/pull/80069 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits