[clang] [lldb] [BoundsSafety] Introduce LateParsedAttrType AST placeholder type (PR #204125)

Mohammed Ashraf via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 19 10:38:59 PDT 2026


================
@@ -3751,6 +3754,17 @@ QualType ASTContext::getCountAttributedType(
   return QualType(CATy, 0);
 }
 
+QualType ASTContext::getLateParsedAttrType(
+    QualType WrappedTy, LateParsedTypeAttribute *LateParsedAttr) const {
+  QualType CanonTy = getCanonicalType(WrappedTy);
+
+  auto *LPATy = new (*this, alignof(LateParsedAttrType))
+      LateParsedAttrType(WrappedTy, CanonTy, LateParsedAttr);
----------------
Holo-xy wrote:

@efriedma-quic I have added a comment. Let me know if you'd prefer different wording or if the comment is fine as it is.

https://github.com/llvm/llvm-project/pull/204125


More information about the cfe-commits mailing list