[clang] [clang] Introduce `SemaHLSL` (PR #87912)

via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 7 23:41:20 PDT 2024


================
@@ -1967,6 +1973,11 @@ class Sema final : public SemaBase {
   bool CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall,
                          const FunctionProtoType *Proto);
 
+  bool BuiltinVectorMath(CallExpr *TheCall, QualType &Res);
+  bool BuiltinVectorToScalarMath(CallExpr *TheCall);
+
+  bool CheckHLSLBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
----------------
cor3ntin wrote:

Shouldn't that be moved to SemaHLSL?

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


More information about the cfe-commits mailing list