r201517 - Removing a C++11'ism to also fix the build bots.
Aaron Ballman
aaron at aaronballman.com
Mon Feb 17 07:59:37 PST 2014
Author: aaronballman
Date: Mon Feb 17 09:59:37 2014
New Revision: 201517
URL: http://llvm.org/viewvc/llvm-project?rev=201517&view=rev
Log:
Removing a C++11'ism to also fix the build bots.
Modified:
cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp
Modified: cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp?rev=201517&r1=201516&r2=201517&view=diff
==============================================================================
--- cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp (original)
+++ cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp Mon Feb 17 09:59:37 2014
@@ -2858,8 +2858,9 @@ void EmitClangAttrDocs(RecordKeeper &Rec
// 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);
}
}
More information about the cfe-commits
mailing list