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 f71b63865140cf3c286baf3a77ba3e467f929504 f1689d64f185f9b00efd030e34b04eddf8242f96 --extensions cpp,h,c -- clang/include/clang/Tooling/ModuleBuildDaemon/Client.h clang/include/clang/Tooling/ModuleBuildDaemon/SocketMsgSupport.h clang/include/clang/Tooling/ModuleBuildDaemon/SocketSupport.h clang/include/clang/Tooling/ModuleBuildDaemon/Utils.h clang/lib/Tooling/ModuleBuildDaemon/Client.cpp clang/lib/Tooling/ModuleBuildDaemon/SocketSupport.cpp clang/lib/Tooling/ModuleBuildDaemon/Utils.cpp clang/tools/driver/cc1modbuildd_main.cpp clang/include/clang/Frontend/FrontendOptions.h clang/lib/Driver/ToolChains/Clang.cpp clang/test/Driver/unknown-arg.c clang/tools/driver/cc1_main.cpp clang/tools/driver/driver.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/include/clang/Frontend/FrontendOptions.h b/clang/include/clang/Frontend/FrontendOptions.h index 5821e121bf..d928e11a97 100644 --- a/clang/include/clang/Frontend/FrontendOptions.h +++ b/clang/include/clang/Frontend/FrontendOptions.h @@ -397,7 +397,7 @@ public: /// Connect to module build daemon unsigned ModuleBuildDaemon : 1; - + /// Whether to emit symbol graph files as a side effect of compilation. LLVM_PREFERRED_TYPE(bool) unsigned EmitSymbolGraph : 1; diff --git a/clang/tools/driver/cc1_main.cpp b/clang/tools/driver/cc1_main.cpp index f08958f93e..6547d74a31 100644 --- a/clang/tools/driver/cc1_main.cpp +++ b/clang/tools/driver/cc1_main.cpp @@ -25,8 +25,8 @@ #include "clang/Frontend/TextDiagnosticPrinter.h" #include "clang/Frontend/Utils.h" #include "clang/FrontendTool/Utils.h" -#include "clang/Tooling/ModuleBuildDaemon/Client.h" #include "clang/Serialization/ObjectFilePCHContainerReader.h" +#include "clang/Tooling/ModuleBuildDaemon/Client.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringExtras.h" #include "llvm/Config/llvm-config.h" `````````` </details> https://github.com/llvm/llvm-project/pull/68498 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits