diff options
| author | Anders Carlsson <andersca@mac.com> | 2010-04-21 18:47:17 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2010-04-21 18:47:17 +0000 |
| commit | a01874bf44d7b2cdd2f2189ef07d68e1dc4c9b65 (patch) | |
| tree | 4c391de423a9715dcfdafa971afc25048cdfdfac /clang/lib/Sema/Sema.h | |
| parent | 4c7f50afb8f23509d38f98012326a1a367f77284 (diff) | |
| download | bcm5719-llvm-a01874bf44d7b2cdd2f2189ef07d68e1dc4c9b65.tar.gz bcm5719-llvm-a01874bf44d7b2cdd2f2189ef07d68e1dc4c9b65.zip | |
Pass the InitializedEntity to Sema::CheckConstructorAccess and use it to report different diagnostics depending on which entity is being initialized.
llvm-svn: 102010
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 636bb6a3d3e..1506d8c2dc2 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -2644,6 +2644,7 @@ public: DeclAccessPair FoundDecl); AccessResult CheckConstructorAccess(SourceLocation Loc, CXXConstructorDecl *D, + const InitializedEntity &Entity, AccessSpecifier Access); AccessResult CheckDestructorAccess(SourceLocation Loc, CXXDestructorDecl *Dtor, |

