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



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

Reply via email to