[clang] [HLSL] Add `[[hlsl::contained_type()]]` attribute (PR #108456)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 12 14:50:55 PDT 2024
================
@@ -563,18 +566,23 @@ void SemaHLSL::handleShaderAttr(Decl *D, const ParsedAttr &AL) {
D->addAttr(NewAttr);
}
-bool clang::CreateHLSLAttributedResourceType(Sema &S, QualType Wrapped,
- ArrayRef<const Attr *> AttrList,
- QualType &ResType) {
+bool clang::CreateHLSLAttributedResourceType(
+ Sema &S, QualType Wrapped, ArrayRef<const Attr *> AttrList,
+ QualType &ResType, HLSLAttributedResourceLocInfo *LocInfo /*= nullptr*/) {
----------------
bogner wrote:
We don't typically repeat the default argument here
https://github.com/llvm/llvm-project/pull/108456
More information about the cfe-commits
mailing list