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

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 2 03:53:24 PDT 2018


martong added a comment.

> During import of a class template, lookup may find a forward declaration and structural match falsely reports equivalency in between a fwd decl and a definition.

This can happen when the class to be imported does not have any data members. Structural equivalency check the data members only (and not any of the member functions).


Repository:
  rC Clang

https://reviews.llvm.org/D46353





More information about the cfe-commits mailing list