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 cpp,c,h -- 
clang/test/CIR/CodeGen/func-identity-attr.c 
clang/test/CIR/CodeGen/func-identity-attr.cpp 
clang/test/CIR/Transforms/idiom-recognizer-guards-void-result.cpp 
clang/test/CIR/Transforms/idiom-recognizer-guards.cpp 
clang/test/CIR/Transforms/idiom-recognizer-inline-namespace.cpp 
clang/include/clang/CIR/Dialect/Passes.h clang/lib/CIR/CodeGen/CIRGenClass.cpp 
clang/lib/CIR/CodeGen/CIRGenFunction.cpp clang/lib/CIR/CodeGen/CIRGenModule.cpp 
clang/lib/CIR/CodeGen/CIRGenModule.h clang/lib/CIR/Dialect/IR/CIRDialect.cpp 
clang/lib/CIR/Dialect/Transforms/IdiomRecognizer.cpp 
clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp 
clang/lib/CIR/Lowering/CIRPasses.cpp 
clang/test/CIR/Transforms/idiom-recognizer.cpp clang/tools/cir-opt/cir-opt.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 6b656e34b..e47498dbc 100644
--- a/clang/lib/CIR/CodeGen/CIRGenModule.h
+++ b/clang/lib/CIR/CodeGen/CIRGenModule.h
@@ -801,8 +801,7 @@ public:
   /// Record the func_info tag for a function, either a C++ special member
   /// form (constructor, destructor, assignment) or a known standard library
   /// entity that passes can recognize without the AST.
-  void setFuncInfoAttr(cir::FuncOp funcOp,
-                       const clang::FunctionDecl *funcDecl);
+  void setFuncInfoAttr(cir::FuncOp funcOp, const clang::FunctionDecl 
*funcDecl);
 
   cir::FuncOp createRuntimeFunction(cir::FuncType ty, llvm::StringRef name,
                                     mlir::NamedAttrList extraAttrs = {},

``````````

</details>


https://github.com/llvm/llvm-project/pull/208854
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to