diff options
| author | Ken Dyck <kd@kendyck.com> | 2011-03-23 01:04:18 +0000 |
|---|---|---|
| committer | Ken Dyck <kd@kendyck.com> | 2011-03-23 01:04:18 +0000 |
| commit | 3fb4c8920d729cb240eee6d9876ed4966c8c91a0 (patch) | |
| tree | 2d1a7885372d1e92d50654d1fa843152a19d9f64 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | ecc114745ed1e8d8f170a23d475cbc5bd0236cf3 (diff) | |
| download | llvm-3fb4c8920d729cb240eee6d9876ed4966c8c91a0.zip llvm-3fb4c8920d729cb240eee6d9876ed4966c8c91a0.tar.gz llvm-3fb4c8920d729cb240eee6d9876ed4966c8c91a0.tar.bz2 | |
Convert OffsetFromNearestVBast parameter of InitializeVTablePointer(s) to
CharUnits. No change in functionality intended.
llvm-svn: 128129
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index c0040da..c7426e1 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1161,14 +1161,14 @@ public: /// void InitializeVTablePointer(BaseSubobject Base, const CXXRecordDecl *NearestVBase, - uint64_t OffsetFromNearestVBase, + CharUnits OffsetFromNearestVBase, llvm::Constant *VTable, const CXXRecordDecl *VTableClass); typedef llvm::SmallPtrSet<const CXXRecordDecl *, 4> VisitedVirtualBasesSetTy; void InitializeVTablePointers(BaseSubobject Base, const CXXRecordDecl *NearestVBase, - uint64_t OffsetFromNearestVBase, + CharUnits OffsetFromNearestVBase, bool BaseIsNonVirtualPrimaryBase, llvm::Constant *VTable, const CXXRecordDecl *VTableClass, |
