]> granicus.if.org Git - clang/commit
Unresolved implicit member accesses are dependent if the object type is dependent.
authorJohn McCall <rjmccall@apple.com>
Sat, 19 Dec 2009 02:05:44 +0000 (02:05 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 19 Dec 2009 02:05:44 +0000 (02:05 +0000)
commit410a3f3c194a541acb5cdf3b98e96d6078685cf2
tree328a8c749ac9303c6df5cb2571ad2f9ac2af2d8f
parentb381441bfb88ddd4a439f8305faaf6941321e5a4
Unresolved implicit member accesses are dependent if the object type is dependent.
Avoids an assertion arising during object-argument initialization in overload
resolution.  In theory we can resolve this at definition time if the class
hierarchy for the member is fully known.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91747 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaTemplate/member-access-expr.cpp