rsmith added a comment.

Looks reasonable, can you add a testcase that shows the ODR checker now 
distinguishes pointers/references to distinct types?

Comment at: lib/AST/ODRHash.cpp:581
+  void VisitType(const Type *T) {
+    ID.AddInteger(T->getTypeClass());
+  }
This looks redundant, the above `Visit(const Type*)` function seems to already 
do this.

  rC Clang

cfe-commits mailing list
  • [PATCH] D43696: R... Richard Smith - zygoloid via Phabricator via cfe-commits

Reply via email to