[clang] [clang/AST] Make it possible to use SwiftAttr in type context (PR #108631)
Pavel Yaskevich via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 20 16:56:09 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());
----------------
xedin wrote:
✅
https://github.com/llvm/llvm-project/pull/108631
More information about the cfe-commits
mailing list