summaryrefslogtreecommitdiff
path: root/include/llvm-c/Object.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:25:32 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:25:32 +0000
commit4344b1ef9b3721a5ebc2e024f753772a1e4ddd92 (patch)
tree4e940dd99f2b1745799c9f1544fc1a88b3e5594f /include/llvm-c/Object.h
parent186ffac4d35c9ea669b03ac75f5e21bff1f01a7f (diff)
downloadllvm-4344b1ef9b3721a5ebc2e024f753772a1e4ddd92.tar.gz
llvm-4344b1ef9b3721a5ebc2e024f753772a1e4ddd92.tar.bz2
llvm-4344b1ef9b3721a5ebc2e024f753772a1e4ddd92.tar.xz
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/Object.h')
-rw-r--r--include/llvm-c/Object.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm-c/Object.h b/include/llvm-c/Object.h
index 6e72b59466..7b1cf717f7 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));
}
}
}