[PATCH] D94987: DR39: Perform ambiguous subobject checks for class member access as part of object argument conversion, not as part of name lookup.

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 11:12:00 PST 2021


rjmccall added a comment.

How does this new rule work if we find overlapping but non-equal sets of declarations in different subobjects?  I'm sure you can get that with `using` declarations.



================
Comment at: clang/include/clang/AST/CXXInheritance.h:77
 
-  CXXBasePath() = default;
+  /// Additional data stashed on the base path by its consumers.
+  union {
----------------
Is there a way to know which case we're in, or do different consumers do different things?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94987/new/

https://reviews.llvm.org/D94987



More information about the cfe-commits mailing list