[PATCH] D46353: [ASTImporter] Extend lookup logic in class templates

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 3 07:54:59 PDT 2018


martong added a comment.

> should we add this new declaration to the redeclaration chain like we do it for RecordDecls?

I think, on a long term we should. Otherwise we could loose e.g. C++11 attributes which are attached to the forward declaration only.
However, I'd do that as a separate commit, because that would require some independent changes and tests, also other decl kinds like ClassTemplateSepcializationDecl may be affected as well by that.


Repository:
  rC Clang

https://reviews.llvm.org/D46353





More information about the cfe-commits mailing list