[clang] [HLSL] add IsLineVectorLayoutCompatible type trait (PR #113730)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 25 12:42:25 PDT 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 e724226da753f10fd36fbb0ea392f04ab0fdbdab 8d0039a56aa5152e5c5d8fa6e5f3e9eb4fc00eeb --extensions h,cpp -- clang/include/clang/AST/DeclCXX.h clang/include/clang/AST/Type.h clang/include/clang/Sema/SemaHLSL.h clang/lib/AST/DeclCXX.cpp clang/lib/Sema/SemaExprCXX.cpp clang/lib/Sema/SemaHLSL.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/include/clang/Sema/SemaHLSL.h b/clang/include/clang/Sema/SemaHLSL.h
index ef3c54cbd8..4c92b61700 100644
--- a/clang/include/clang/Sema/SemaHLSL.h
+++ b/clang/include/clang/Sema/SemaHLSL.h
@@ -134,7 +134,6 @@ public:
   bool IsScalarizedLayoutCompatible(QualType T1, QualType T2) const;
   bool IsLineVectorLayoutCompatibleType(QualType T1);
 
-
   bool CheckCompatibleParameterABI(FunctionDecl *New, FunctionDecl *Old);
 
   ExprResult ActOnOutParamExpr(ParmVarDecl *Param, Expr *Arg);

``````````

</details>


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


More information about the cfe-commits mailing list