diff options
author | Anders Carlsson <andersca@mac.com> | 2010-04-24 23:01:49 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-04-24 23:01:49 +0000 |
commit | c4ba0cd2ea71835eab2e2cd44a30a49c7708fc4e (patch) | |
tree | 7237ec7b36f6e12b291243ef1aef99a48d9dadbb /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 36db0d9c476089845597445437ff07186694ca2c (diff) | |
download | bcm5719-llvm-c4ba0cd2ea71835eab2e2cd44a30a49c7708fc4e.tar.gz bcm5719-llvm-c4ba0cd2ea71835eab2e2cd44a30a49c7708fc4e.zip |
RenameGetAddressOfBaseOfCompleteClass to GetAddressOfDirectBaseInCompleteClass to reflect that it only handles direct bases.
llvm-svn: 102284
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 3e27e94cd59..b862ef50880 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -775,11 +775,12 @@ public: } /// GetAddressOfBaseOfCompleteClass - Convert the given pointer to a - /// complete class down to one of its virtual bases. - llvm::Value *GetAddressOfBaseOfCompleteClass(llvm::Value *Value, - bool IsVirtual, - const CXXRecordDecl *Derived, - const CXXRecordDecl *Base); + /// complete class to the given direct base. + llvm::Value * + GetAddressOfDirectBaseInCompleteClass(llvm::Value *Value, + const CXXRecordDecl *Derived, + const CXXRecordDecl *Base, + bool BaseIsVirtual); llvm::Value *OldGetAddressOfBaseClass(llvm::Value *Value, const CXXRecordDecl *ClassDecl, @@ -788,12 +789,12 @@ public: /// GetAddressOfBaseClass - This function will add the necessary delta to the /// load of 'this' and returns address of the base class. llvm::Value *GetAddressOfBaseClass(llvm::Value *Value, - const CXXRecordDecl *ClassDecl, + const CXXRecordDecl *Derived, const CXXBaseSpecifierArray &BasePath, bool NullCheckValue); llvm::Value *GetAddressOfDerivedClass(llvm::Value *Value, - const CXXRecordDecl *DerivedClassDecl, + const CXXRecordDecl *Derived, const CXXBaseSpecifierArray &BasePath, bool NullCheckValue); |