diff options
author | John McCall <rjmccall@apple.com> | 2010-02-02 08:45:54 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-02-02 08:45:54 +0000 |
commit | 4f9506a27cb6b865bf38beea48eadfa9dc93f510 (patch) | |
tree | 74f14cf5d626982070d697032e4be5eb8a510cd6 /lib/Sema/Sema.h | |
parent | fb8b69aef3377aaa786d1278aaae7e7b04ac095f (diff) |
Access control for implicit destructor calls. Diagnostic could be orders of
magnitude clearer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index 9e28b519ff..e49ce73319 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -2417,6 +2417,7 @@ public: AccessSpecifier Access); bool CheckConstructorAccess(SourceLocation Loc, CXXConstructorDecl *D, AccessSpecifier Access); + bool CheckDestructorAccess(SourceLocation Loc, QualType T); bool CheckMemberOperatorAccess(SourceLocation Loc, Expr *ObjectExpr, NamedDecl *D, AccessSpecifier Access); bool CheckAccess(const LookupResult &R, NamedDecl *D, AccessSpecifier Access); |