]> granicus.if.org Git - clang/commitdiff
Removing a C++11'ism to also fix the build bots.
authorAaron Ballman <aaron@aaronballman.com>
Mon, 17 Feb 2014 15:59:37 +0000 (15:59 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 17 Feb 2014 15:59:37 +0000 (15:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201517 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/ClangAttrEmitter.cpp

index 58d8fc1381a12c9c4fc9eff40596e0b33c1fd8c6..b88b2cb9e73c923c5e6bcae8e7aaa28b6a5a2eac 100644 (file)
@@ -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);
   }
 }