diff options
| author | John McCall <rjmccall@apple.com> | 2010-02-02 09:10:11 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-02-02 09:10:11 +0000 |
| commit | 03c4848bf4eab62311d277400afd8807eab05cd3 (patch) | |
| tree | 9a84a37b56e69b408816c2359dda7c6d6909aa1f /clang/lib/Sema/Sema.h | |
| parent | 6781b05a9254f3aaf53126368d23ebda88e02c96 (diff) | |
| download | bcm5719-llvm-03c4848bf4eab62311d277400afd8807eab05cd3.tar.gz bcm5719-llvm-03c4848bf4eab62311d277400afd8807eab05cd3.zip | |
Mark dtors for parameter variables and eliminate some redundant type munging.
llvm-svn: 95079
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index e49ce733198..d971b9caebf 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -1932,7 +1932,7 @@ public: /// FinalizeVarWithDestructor - Prepare for calling destructor on the /// constructed variable. - void FinalizeVarWithDestructor(VarDecl *VD, QualType DeclInitType); + void FinalizeVarWithDestructor(VarDecl *VD, const RecordType *DeclInitType); /// DefineImplicitDefaultConstructor - Checks for feasibility of /// defining this constructor as the default constructor. @@ -2417,7 +2417,7 @@ public: AccessSpecifier Access); bool CheckConstructorAccess(SourceLocation Loc, CXXConstructorDecl *D, AccessSpecifier Access); - bool CheckDestructorAccess(SourceLocation Loc, QualType T); + bool CheckDestructorAccess(SourceLocation Loc, const RecordType *Record); bool CheckMemberOperatorAccess(SourceLocation Loc, Expr *ObjectExpr, NamedDecl *D, AccessSpecifier Access); bool CheckAccess(const LookupResult &R, NamedDecl *D, AccessSpecifier Access); |

