summaryrefslogtreecommitdiff
path: root/include/llvm/Object
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-13 02:31:34 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-13 02:31:34 +0000
commit107cd0caa9c1250a86d31983b808b99e5b7d1d10 (patch)
treec577a9f665151572f95d5c56e7cd1273c0ff8f7c /include/llvm/Object
parent4e0980af2e9eda80cbd82895167e650d83ffe087 (diff)
downloadllvm-107cd0caa9c1250a86d31983b808b99e5b7d1d10.tar.gz
llvm-107cd0caa9c1250a86d31983b808b99e5b7d1d10.tar.bz2
llvm-107cd0caa9c1250a86d31983b808b99e5b7d1d10.tar.xz
Add typenames to see if bot goes green.
I hope this brings http://lab.llvm.org:8011/builders/clang-x86_64-darwin11-self-mingw32 back. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179446 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r--include/llvm/Object/MachO.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h
index b3051ccecf..6964c2e4ca 100644
--- a/include/llvm/Object/MachO.h
+++ b/include/llvm/Object/MachO.h
@@ -604,7 +604,7 @@ bool
MachOObjectFileMiddle<E>::isRelocationPCRel(const RelocationEntry *RE) const {
typedef MachOObjectFileMiddle<E> ObjType;
if (isRelocationScattered(RE)) {
- const ObjType::ScatteredRelocationEntry *SRE =
+ const typename MachOObjectFileMiddle<E>::ScatteredRelocationEntry *SRE =
reinterpret_cast<const typename ObjType::ScatteredRelocationEntry *>(RE);
return SRE->getPCRel();
}
@@ -616,7 +616,7 @@ unsigned
MachOObjectFileMiddle<E>::getRelocationLength(const RelocationEntry *RE) const {
typedef MachOObjectFileMiddle<E> ObjType;
if (isRelocationScattered(RE)) {
- const ObjType::ScatteredRelocationEntry *SRE =
+ const typename ObjType::ScatteredRelocationEntry *SRE =
reinterpret_cast<const typename ObjType::ScatteredRelocationEntry *>(RE);
return SRE->getLength();
}
@@ -629,7 +629,7 @@ MachOObjectFileMiddle<E>::getRelocationTypeImpl(const RelocationEntry *RE)
const {
typedef MachOObjectFileMiddle<E> ObjType;
if (isRelocationScattered(RE)) {
- const ObjType::ScatteredRelocationEntry *SRE =
+ const typename ObjType::ScatteredRelocationEntry *SRE =
reinterpret_cast<const typename ObjType::ScatteredRelocationEntry *>(RE);
return SRE->getType();
}