[PATCH] D46115: [ASTImporter] properly import SrcLoc of Attr

Rafael Stahl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 3 09:08:06 PDT 2018


r.stahl added a comment.

Maybe this is a user error of CrossTU, but it seemed to import a FuncDecl with attributes, causing the imported FuncDecl to have all those attributes twice. That's why I thought merging would maybe make sense. However I did not encounter any issue with the duplicate attributes. Only the wrong source locations produced odd crashes.

Thanks for the input, then I will prepare the full patch.


Repository:
  rC Clang

https://reviews.llvm.org/D46115





More information about the cfe-commits mailing list