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 4db57ab958f5bac1d85927a955f989625badf962
2a7a6ef1b44f250abf840165bac4c91ca0af928b --extensions cpp,h --
clang/lib/Basic/Targets/RISCV.h clang/lib/CodeGen/CodeGenFunction.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Basic/Targets/RISCV.h b/clang/lib/Basic/Targets/RISCV.h
index 3165623593..3f2cee72fc 100644
--- a/clang/lib/Basic/Targets/RISCV.h
+++ b/clang/lib/Basic/Targets/RISCV.h
@@ -141,7 +141,8 @@ public:
return true;
}
- bool checkCFProtectionReturnSupported(DiagnosticsEngine &Diags) const
override {
+ bool
+ checkCFProtectionReturnSupported(DiagnosticsEngine &Diags) const override {
if (ISAInfo->hasExtension("zimop"))
return true;
return TargetInfo::checkCFProtectionReturnSupported(Diags);
``````````
</details>
https://github.com/llvm/llvm-project/pull/112477
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits