[llvm] r179446 - Add typenames to see if bot goes green.
Rafael Espindola
rafael.espindola at gmail.com
Fri Apr 12 19:31:35 PDT 2013
Author: rafael
Date: Fri Apr 12 21:31:34 2013
New Revision: 179446
URL: http://llvm.org/viewvc/llvm-project?rev=179446&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Object/MachO.h
Modified: llvm/trunk/include/llvm/Object/MachO.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/MachO.h?rev=179446&r1=179445&r2=179446&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/MachO.h (original)
+++ llvm/trunk/include/llvm/Object/MachO.h Fri Apr 12 21:31:34 2013
@@ -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>::getRelocationT
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();
}
More information about the llvm-commits
mailing list