]> granicus.if.org Git - clang/commit
Stop trying to analyze class-hierarchies for dependently-scoped id-expressions;
authorJohn McCall <rjmccall@apple.com>
Wed, 2 Dec 2009 03:53:29 +0000 (03:53 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 2 Dec 2009 03:53:29 +0000 (03:53 +0000)
commit2f841ba3b3fd6babe751667470735651907b4001
tree73cf71e52817f3c503f1a4f97ee9ec4bb86da40f
parent7b55668db7618334cc40011d3c1e128524d89462
Stop trying to analyze class-hierarchies for dependently-scoped id-expressions;
there's nothing interesting we can say now that we're correctly not requiring
the qualifier to name a known base class in dependent contexts.

Require scope specifiers on member access expressions to name complete types
if they're not dependent;  delay lookup when they are dependent.

Use more appropriate diagnostics when qualified implicit member access
expressions find declarations from unrelated classes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90289 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplate.cpp
test/CXX/class/class.mfct/class.mfct.non-static/p3.cpp [new file with mode: 0644]