a.sidorin added a comment.

Hi all. I'm already here, invited by the Herald - just had no time to take a 
look (will change the script to add me as a reviewer). But thank you anyway! :)

In the initial implementation 
(https://raw.githubusercontent.com/haoNoQ/clang/summary-ipa-draft/lib/AST/ASTImporter.cpp),
 we already had this feature, and it was even called similarly - 
`ImportAttributes()`. But the centralized  import inside `Imported` (or even 
`Import()?), as it is done in this patch, looks to be a better option to me.
I'm not sure that we have to "merge" attributes. Moreover, declarations with 
different attributes can be considered structurally different (possibly, in an 
another patch). But I can possibly be missing something so feel free to correct 
me.


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