From 1b7ff4d0f83ed36abac34c04fce023697d90b836 Mon Sep 17 00:00:00 2001 From: Aaron Ballman <aaron@aaronballman.com> Date: Mon, 17 Feb 2014 15:59:37 +0000 Subject: [PATCH] Removing a C++11'ism to also fix the build bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201517 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/ClangAttrEmitter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/TableGen/ClangAttrEmitter.cpp b/utils/TableGen/ClangAttrEmitter.cpp index 58d8fc1381a..b88b2cb9e73 100644 --- a/utils/TableGen/ClangAttrEmitter.cpp +++ b/utils/TableGen/ClangAttrEmitter.cpp @@ -2858,8 +2858,9 @@ void EmitClangAttrDocs(RecordKeeper &Records, raw_ostream &OS) { // Walk over each of the attributes in the category and write out their // documentation. - for (auto D : I->second) - WriteDocumentation(D, OS); + for (std::vector<DocumentationData>::const_iterator D = I->second.begin(), + DE = I->second.end(); D != DE; ++D) + WriteDocumentation(*D, OS); } } -- GitLab