diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-07 18:25:37 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-07 18:25:37 +0000 |
commit | a48ad1333999e2fb483d23096349138af5a51ec6 (patch) | |
tree | 5bc7066c05fbcfc00674200c82dd832365567ba1 /include/llvm-c | |
parent | a1b1b79be15c4b79a4282f148085ebad1cf877ca (diff) | |
download | external_llvm-a48ad1333999e2fb483d23096349138af5a51ec6.zip external_llvm-a48ad1333999e2fb483d23096349138af5a51ec6.tar.gz external_llvm-a48ad1333999e2fb483d23096349138af5a51ec6.tar.bz2 |
Revert 141376 and 141377 due to breaking the build.
--- Reverse-merging r141377 into '.':
U tools/llvm-objdump/MachODump.cpp
--- Reverse-merging r141376 into '.':
U include/llvm/Object/COFF.h
U include/llvm/Object/ObjectFile.h
U include/llvm-c/Object.h
U tools/llvm-objdump/llvm-objdump.cpp
U lib/Object/MachOObjectFile.cpp
U lib/Object/COFFObjectFile.cpp
U lib/Object/Object.cpp
U lib/Object/ELFObjectFile.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141379 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 7b1cf71..6e72b59 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 section_iterator *unwrap(LLVMSectionIteratorRef SI) { - return reinterpret_cast<section_iterator*>(SI); + inline ObjectFile::section_iterator *unwrap(LLVMSectionIteratorRef SI) { + return reinterpret_cast<ObjectFile::section_iterator*>(SI); } inline LLVMSectionIteratorRef - wrap(const section_iterator *SI) { + wrap(const ObjectFile::section_iterator *SI) { return reinterpret_cast<LLVMSectionIteratorRef> - (const_cast<section_iterator*>(SI)); + (const_cast<ObjectFile::section_iterator*>(SI)); } } } |