[clang] [HLSL] Add implicit resource element type concepts to AST (PR #112600)
Damyan Pepper via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 18 09:48:46 PDT 2024
================
@@ -483,10 +573,103 @@ static BuiltinTypeDeclBuilder setupBufferType(CXXRecordDecl *Decl, Sema &S,
.addDefaultHandleConstructor(S, RC);
}
+BinaryOperator *getSizeOfLEQ16Expr(clang::ASTContext &context,
+ SourceLocation NameLoc,
+ TemplateTypeParmDecl *T) {
+ // Obtain the QualType for 'unsigned long'
+ clang::QualType unsignedLongType = context.UnsignedLongTy;
----------------
damyanp wrote:
There's a `using namespace clang` at the beginning of this cpp file, so I don't think any of these `clang::` qualifications are necessary. A quick survey of the rest of the existing code suggests that they are usually omitted.
https://github.com/llvm/llvm-project/pull/112600
More information about the cfe-commits
mailing list