summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-07-29 20:29:10 +0000
committerPete Cooper <peter_cooper@apple.com>2015-07-29 20:29:10 +0000
commitfda777c37e3e4a71b63428a1ac1622f1840d4b73 (patch)
tree8700c15d7ba6e10b69c51c1f97d9584a047fd405 /llvm/lib/CodeGen/AsmPrinter
parentd06654f50be9adb5b82d08ea061aa95cb6c453ee (diff)
downloadbcm5719-llvm-fda777c37e3e4a71b63428a1ac1622f1840d4b73.tar.gz
bcm5719-llvm-fda777c37e3e4a71b63428a1ac1622f1840d4b73.zip
Revert "Add reverse(ContainerTy) range adapter."
This reverts commit r243563. The GCC buildbots were extremely unhappy about this. Reverting while we discuss a better way of doing overload resolution. llvm-svn: 243567
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/ARMException.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp b/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp
index 462e5d19c8d..5f91763f27b 100644
--- a/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp
@@ -115,7 +115,8 @@ void ARMException::emitTypeInfos(unsigned TTypeEncoding) {
Entry = TypeInfos.size();
}
- for (const GlobalValue *GV : reverse(TypeInfos)) {
+ for (const GlobalValue *GV : make_range(TypeInfos.rbegin(),
+ TypeInfos.rend())) {
if (VerboseAsm)
Asm->OutStreamer->AddComment("TypeInfo " + Twine(Entry--));
Asm->EmitTTypeReference(GV, TTypeEncoding);
OpenPOWER on IntegriCloud