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 76947e040545aa1cbaa27cf0b06fae9ced272ca4 8265a5729a919e4ddb914b5322804b4c3290ee82 -- llvm/include/llvm/Frontend/Driver/CodeGenOptions.h llvm/lib/Frontend/Driver/CodeGenOptions.cpp clang/include/clang/Basic/CodeGenOptions.h clang/lib/CodeGen/BackendUtil.cpp clang/lib/Driver/ToolChains/Flang.cpp clang/lib/Tooling/DumpTool/ClangSrcLocDump.cpp flang/include/flang/Frontend/CodeGenOptions.h flang/lib/Frontend/CompilerInvocation.cpp flang/lib/Frontend/FrontendActions.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/flang/lib/Frontend/FrontendActions.cpp b/flang/lib/Frontend/FrontendActions.cpp index e3550b34ec80..d7ca7b66584d 100644 --- a/flang/lib/Frontend/FrontendActions.cpp +++ b/flang/lib/Frontend/FrontendActions.cpp @@ -852,9 +852,12 @@ getOutputStream(CompilerInstance &ci, llvm::StringRef inFile, /// \param [in] llvmModule LLVM module to lower to assembly/machine-code /// \param [in] codeGenOpts options configuring codegen pipeline /// \param [out] os Output stream to emit the generated code to -static void generateMachineCodeOrAssemblyImpl( - clang::DiagnosticsEngine &diags, llvm::TargetMachine &tm, - BackendActionTy act, llvm::Module &llvmModule, const CodeGenOptions &codeGenOpts, llvm::raw_pwrite_stream &os) { +static void generateMachineCodeOrAssemblyImpl(clang::DiagnosticsEngine &diags, + llvm::TargetMachine &tm, + BackendActionTy act, + llvm::Module &llvmModule, + const CodeGenOptions &codeGenOpts, + llvm::raw_pwrite_stream &os) { assert(((act == BackendActionTy::Backend_EmitObj) || (act == BackendActionTy::Backend_EmitAssembly)) && "Unsupported action"); `````````` </details> https://github.com/llvm/llvm-project/pull/71734 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits