summaryrefslogtreecommitdiffstats
path: root/clang/utils
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-02-17 15:59:37 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-02-17 15:59:37 +0000
commit51d40111b453b53d3f2f459d5712520e75568620 (patch)
treed9cd8767e105202b57a9dfc1bb40c0b170923818 /clang/utils
parenta66b574b28874d4ba32b0732c01f70d64d539284 (diff)
downloadbcm5719-llvm-51d40111b453b53d3f2f459d5712520e75568620.tar.gz
bcm5719-llvm-51d40111b453b53d3f2f459d5712520e75568620.zip
Removing a C++11'ism to also fix the build bots.
llvm-svn: 201517
Diffstat (limited to 'clang/utils')
-rw-r--r--clang/utils/TableGen/ClangAttrEmitter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/utils/TableGen/ClangAttrEmitter.cpp b/clang/utils/TableGen/ClangAttrEmitter.cpp
index 58d8fc1381a..b88b2cb9e73 100644
--- a/clang/utils/TableGen/ClangAttrEmitter.cpp
+++ b/clang/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);
}
}
OpenPOWER on IntegriCloud