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 origin/main HEAD --extensions c,cpp,h --
clang/test/CIR/CodeGen/restrict-nonnull.c clang/lib/CIR/CodeGen/CIRGenCall.cpp
clang/lib/CIR/CodeGen/CIRGenModule.h clang/test/CIR/CodeGen/coro-task.cpp
clang/test/CIR/CodeGen/new-delete.cpp clang/test/CIR/CodeGen/new.cpp
clang/test/CIR/CodeGenBuiltins/builtin-call.cpp
clang/test/CIR/CodeGenBuiltins/builtin-new-delete.cpp
clang/test/CIR/CodeGenBuiltins/builtin-printf.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CIR/CodeGen/CIRGenModule.h
b/clang/lib/CIR/CodeGen/CIRGenModule.h
index 73fe8a680..8156276c7 100644
--- a/clang/lib/CIR/CodeGen/CIRGenModule.h
+++ b/clang/lib/CIR/CodeGen/CIRGenModule.h
@@ -118,8 +118,7 @@ private:
/// A helper for constructAttributeList that handles argument attributes.
void constructFunctionArgumentAttributes(
const CIRGenFunctionInfo &info, const clang::Decl *targetDecl,
- bool isThunk,
- llvm::MutableArrayRef<mlir::NamedAttrList> argAttrs);
+ bool isThunk, llvm::MutableArrayRef<mlir::NamedAttrList> argAttrs);
/// A helper function for constructAttributeList that determines whether a
/// return value might have been discarded.
bool mayDropFunctionReturn(const ASTContext &context, QualType retTy);
``````````
</details>
https://github.com/llvm/llvm-project/pull/188281
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits