aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object/MachO.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Object/MachO.h')
-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 b3051cc..6964c2e 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();
}