[clang] [llvm] [HLSL] Implementation of dot intrinsic (PR #81190)
Chris B via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 23 13:58:51 PST 2024
================
@@ -2961,6 +2962,10 @@ Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID,
}
}
+ if (getLangOpts().HLSL && CheckHLSLBuiltinFunctionCall(BuiltinID, TheCall)) {
+ return ExprError();
+ }
----------------
llvm-beanz wrote:
nit: unnecessary braces.
see: https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements
https://github.com/llvm/llvm-project/pull/81190
More information about the llvm-commits
mailing list