[clang] [llvm] [HLSL] Add implicit resource element type concepts to AST (PR #116413)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 22 15:46:41 PST 2024
================
@@ -472,10 +571,73 @@ static BuiltinTypeDeclBuilder setupBufferType(CXXRecordDecl *Decl, Sema &S,
.addDefaultHandleConstructor(S);
}
+Expr *constructTypedBufferConstraintExpr(Sema &S, SourceLocation NameLoc,
+ TemplateTypeParmDecl *T) {
+ ASTContext &Context = S.getASTContext();
+
+ // Obtain the QualType for 'unsigned long'
+ QualType BoolTy = Context.BoolTy;
----------------
bogner wrote:
This comment is incorrect. It probably isn't really necessary anyway.
https://github.com/llvm/llvm-project/pull/116413
More information about the cfe-commits
mailing list