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 HEAD~1 HEAD --extensions cpp,h,c --
clang/lib/Frontend/FrontendActions.cpp clang/lib/Frontend/InitPreprocessor.cpp
clang/lib/Headers/ptrauth.h clang/test/Preprocessor/ptrauth_extension.c
clang/test/Preprocessor/ptrauth_feature.c clang/test/Sema/ptrauth-qualifier.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Frontend/FrontendActions.cpp
b/clang/lib/Frontend/FrontendActions.cpp
index 815bdc0bb..685a9bbf2 100644
--- a/clang/lib/Frontend/FrontendActions.cpp
+++ b/clang/lib/Frontend/FrontendActions.cpp
@@ -1160,7 +1160,6 @@ void DumpCompilerOptionsAction::ExecuteAction() {
const Preprocessor &PP = CI.getPreprocessor();
const LangOptions &LangOpts = PP.getLangOpts();
-
// FIXME: Rather than manually format the JSON (which is awkward due to
// needing to remove trailing commas), this should make use of a JSON
library.
// FIXME: Instead of printing enums as an integral value and specifying the
``````````
</details>
https://github.com/llvm/llvm-project/pull/153912
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits