summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-12-02 03:53:29 +0000
committerJohn McCall <rjmccall@apple.com>2009-12-02 03:53:29 +0000
commitcd4b47747b740447200eea7fe78e6010e4b286d6 (patch)
tree2c62be362cfce7a523c800d8100bcef9c2ba0253 /clang/lib/Sema/Sema.h
parent55a17b66cd66c86f2005eb065c78ebbae1f8fe27 (diff)
downloadbcm5719-llvm-cd4b47747b740447200eea7fe78e6010e4b286d6.tar.gz
bcm5719-llvm-cd4b47747b740447200eea7fe78e6010e4b286d6.zip
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. llvm-svn: 90289
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 3f8babbbbe9..8503887a617 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -1438,7 +1438,7 @@ public:
OwningExprResult ActOnDependentIdExpression(const CXXScopeSpec &SS,
DeclarationName Name,
SourceLocation NameLoc,
- bool CheckForImplicitMember,
+ bool isAddressOfOperand,
const TemplateArgumentListInfo *TemplateArgs);
OwningExprResult BuildDeclRefExpr(NamedDecl *D, QualType Ty,
@@ -1549,8 +1549,7 @@ public:
DeclPtrTy ObjCImpDecl);
bool CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType,
- NestedNameSpecifier *Qualifier,
- SourceRange QualifierRange,
+ const CXXScopeSpec &SS,
const LookupResult &R);
OwningExprResult ActOnDependentMemberExpr(ExprArg Base,
OpenPOWER on IntegriCloud