summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-02-01 03:16:54 +0000
committerJohn McCall <rjmccall@apple.com>2010-02-01 03:16:54 +0000
commit760af170ffa2b384c89dc82da23dc01a2d8d9991 (patch)
tree0e5452fb2ebd2ef24297e252bb0bef66be5ac98c /clang/lib/Sema/Sema.h
parented8ca56eeb21bae23e832c05905d3a2ce5016e6f (diff)
downloadbcm5719-llvm-760af170ffa2b384c89dc82da23dc01a2d8d9991.tar.gz
bcm5719-llvm-760af170ffa2b384c89dc82da23dc01a2d8d9991.zip
Access checking for implicit user-defined conversions.
llvm-svn: 94971
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 54d36357be2..1595941651f 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -2415,6 +2415,8 @@ public:
bool CheckUnresolvedLookupAccess(UnresolvedLookupExpr *E,
NamedDecl *D,
AccessSpecifier Access);
+ bool CheckConstructorAccess(SourceLocation Loc, CXXConstructorDecl *D,
+ AccessSpecifier Access);
bool CheckMemberOperatorAccess(SourceLocation Loc, Expr *ObjectExpr,
NamedDecl *D, AccessSpecifier Access);
bool CheckAccess(const LookupResult &R, NamedDecl *D, AccessSpecifier Access);
OpenPOWER on IntegriCloud