[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:55:45 PDT 2024


================
@@ -5125,24 +5127,54 @@ QualType ASTContext::getUnresolvedUsingType(
 
 QualType ASTContext::getAttributedType(attr::Kind attrKind,
                                        QualType modifiedType,
-                                       QualType equivalentType) const {
+                                       QualType equivalentType,
+                                       const Attr *attr) const {
   llvm::FoldingSetNodeID id;
   AttributedType::Profile(id, attrKind, modifiedType, equivalentType);
----------------
xedin wrote:

✅ 

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


More information about the cfe-commits mailing list