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,h -- 
clang/include/clang/AST/ComputeDependence.h clang/include/clang/AST/Expr.h 
clang/include/clang/AST/RecursiveASTVisitor.h 
clang/include/clang/AST/TextNodeDumper.h clang/include/clang/Sema/SemaHLSL.h 
clang/include/clang/Serialization/ASTBitCodes.h 
clang/lib/AST/ComputeDependence.cpp clang/lib/AST/Expr.cpp 
clang/lib/AST/ExprClassification.cpp clang/lib/AST/ExprConstant.cpp 
clang/lib/AST/ItaniumMangle.cpp clang/lib/AST/StmtPrinter.cpp 
clang/lib/AST/StmtProfile.cpp clang/lib/AST/TextNodeDumper.cpp 
clang/lib/CIR/CodeGen/CIRGenExpr.cpp clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp 
clang/lib/CIR/CodeGen/CIRGenFunction.cpp clang/lib/CIR/CodeGen/CIRGenFunction.h 
clang/lib/CodeGen/CGExpr.cpp clang/lib/CodeGen/CGExprScalar.cpp 
clang/lib/CodeGen/CodeGenFunction.h clang/lib/Sema/SemaExceptionSpec.cpp 
clang/lib/Sema/SemaExpr.cpp clang/lib/Sema/SemaExprMember.cpp 
clang/lib/Sema/SemaHLSL.cpp clang/lib/Sema/TreeTransform.h 
clang/lib/Serialization/ASTReaderStmt.cpp 
clang/lib/Serialization/ASTWriterStmt.cpp 
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp clang/tools/libclang/CXCursor.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/CIRGenExpr.cpp 
b/clang/lib/CIR/CodeGen/CIRGenExpr.cpp
index 961bc54f5..678b67e2b 100644
--- a/clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenExpr.cpp
@@ -1203,8 +1203,8 @@ CIRGenFunction::emitArraySubscriptExpr(const 
clang::ArraySubscriptExpr *e) {
 }
 
 LValue CIRGenFunction::emitMatrixElementExpr(const MatrixElementExpr *e) {
-   // FIXME: support "matrix swizzle" if/when CIR needs it.
-   return emitUnsupportedLValue(E, "Matrix swizzle");
+  // FIXME: support "matrix swizzle" if/when CIR needs it.
+  return emitUnsupportedLValue(E, "Matrix swizzle");
 }
 
 LValue CIRGenFunction::emitExtVectorElementExpr(const ExtVectorElementExpr *e) 
{

``````````

</details>


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

Reply via email to