[clang] [llvm] [HLSL] Implementation of dot intrinsic (PR #81190)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 16:12:27 PST 2024


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 4bf50e02554460df86903791380fb5ca17a28bdc 23c277da327c595633d159c13bc710f413024cb2 -- clang/include/clang/Sema/Sema.h clang/lib/CodeGen/CGBuiltin.cpp clang/lib/CodeGen/CodeGenFunction.h clang/lib/Headers/hlsl/hlsl_intrinsics.h clang/lib/Sema/SemaChecking.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index c488eee456..b5f3f8b2e9 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -5212,7 +5212,7 @@ bool Sema::CheckHLSLBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
     if (VecTy0->getElementType() != VecTy1->getElementType()) {
       // Note: This case should never happen. If type promotion occurs
       // then element types won't be different. This diag error is here
-      // b\c EmitHLSLBuiltinExpr asserts on this case. 
+      // b\c EmitHLSLBuiltinExpr asserts on this case.
       Diag(BuiltinLoc, diag::err_vec_builtin_incompatible_vector)
           << TheCall->getDirectCallee()
           << SourceRange(TheCall->getArg(0)->getBeginLoc(),

``````````

</details>


https://github.com/llvm/llvm-project/pull/81190


More information about the cfe-commits mailing list