[clang] Adding `asuint` implementation to hlsl (PR #107292)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 11:07:36 PDT 2024
================
@@ -1427,6 +1447,14 @@ bool CheckAllArgsHaveFloatRepresentation(Sema *S, CallExpr *TheCall) {
checkAllFloatTypes);
}
+bool CheckArgIsFloatOrIntWithoutImplicits(Sema *S, Expr *Arg) {
+ auto checkFloat = [](clang::QualType PassedType) -> bool {
----------------
farzonl wrote:
LLVM style guide is this should be capitalized. Also wouldn't it make more sense as `CheckFloatOrInt`
https://github.com/llvm/llvm-project/pull/107292
More information about the cfe-commits
mailing list