jcsxky wrote:

> I think it is better to add the import of AttrName to the attribute import 
> code (function `Import(const Attr *FromAttr)` and what is called from it). 
> Probably it works to add it to `AttrImporter::cloneAttr` and do it like 
> `const IdentifierInfo *ToAttrName = 
> Importer.Import(FromAttr->getAttrName());`.

Fixed according to your guidance.

https://github.com/llvm/llvm-project/pull/73290
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to