[clang] [clang/AST] Make it possible to use SwiftAttr in type context (PR #108631)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 16 04:14:53 PDT 2024


================
@@ -7163,7 +7217,8 @@ static QualType rebuildAttributedTypeWithoutNullability(ASTContext &Ctx,
       Ctx, Attributed->getModifiedType());
   assert(Modified.getTypePtr() != Attributed->getModifiedType().getTypePtr());
   return Ctx.getAttributedType(Attributed->getAttrKind(), Modified,
-                               Attributed->getEquivalentType());
+                               Attributed->getEquivalentType(),
+															 Attributed->getAttr());
----------------
Xazax-hun wrote:

The formatting looks off here. 

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


More information about the cfe-commits mailing list