[clang] [BoundsSafety] Support bounds-safety attributes in type positions (PR #179612)
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 10 04:18:43 PST 2026
================
@@ -1584,6 +1585,12 @@ class ASTContext : public RefCountedBase<ASTContext> {
bool OrNull,
ArrayRef<TypeCoupledDeclRefInfo> DependentDecls) const;
+ /// Return a placeholder type for a late-parsed type attribute.
+ /// This type wraps another type and holds the LateParsedAttribute
+ /// that will be parsed later.
+ QualType getLateParsedAttrType(QualType Wrapped,
+ LateParsedTypeAttribute *LateParsedAttr) const;
----------------
zmodem wrote:
nit: Indented one space too much?
https://github.com/llvm/llvm-project/pull/179612
More information about the cfe-commits
mailing list