r.stahl added a comment.

This is unfinished. Posting to make you aware of the issue. There are other 
occurances of imported attrs without importing the srcloc in:

- VisitIndirectFieldDecl
- VisitAttributedStmt

So I was thinking this would suggest to add a public API 
`ASTImporter::Import(Attr *)`. Does it make sense to add this? Is there 
anything else I need to do to change public API?

Merging of Attr would also be missing and I wouldn't know how to approach this.

Testing also added soon!


Repository:
  rC Clang

https://reviews.llvm.org/D46115



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to