diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-07 19:25:32 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-07 19:25:32 +0000 |
commit | 4344b1ef9b3721a5ebc2e024f753772a1e4ddd92 (patch) | |
tree | 4e940dd99f2b1745799c9f1544fc1a88b3e5594f /include/llvm-c | |
parent | 186ffac4d35c9ea669b03ac75f5e21bff1f01a7f (diff) | |
download | external_llvm-4344b1ef9b3721a5ebc2e024f753772a1e4ddd92.zip external_llvm-4344b1ef9b3721a5ebc2e024f753772a1e4ddd92.tar.gz external_llvm-4344b1ef9b3721a5ebc2e024f753772a1e4ddd92.tar.bz2 |
Change relocation API to be per section. This time without breaking GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/Object.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm-c/Object.h b/include/llvm-c/Object.h index 6e72b59..7b1cf71 100644 --- a/include/llvm-c/Object.h +++ b/include/llvm-c/Object.h @@ -59,14 +59,14 @@ namespace llvm { return reinterpret_cast<LLVMObjectFileRef>(const_cast<ObjectFile*>(OF)); } - inline ObjectFile::section_iterator *unwrap(LLVMSectionIteratorRef SI) { - return reinterpret_cast<ObjectFile::section_iterator*>(SI); + inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { + return reinterpret_cast<section_iterator*>(SI); } inline LLVMSectionIteratorRef - wrap(const ObjectFile::section_iterator *SI) { + wrap(const section_iterator *SI) { return reinterpret_cast<LLVMSectionIteratorRef> - (const_cast<ObjectFile::section_iterator*>(SI)); + (const_cast<section_iterator*>(SI)); } } } |