]> granicus.if.org Git - clang/commit
[C++11] Replacing DeclBase iterators decls_begin() and decls_end() with iterator_rang...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 7 Mar 2014 19:56:05 +0000 (19:56 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 7 Mar 2014 19:56:05 +0000 (19:56 +0000)
commitcaabaa8e4b0d6d4534152852a3dfc69cfd386050
tree8d66826ff8200fa980f9e1af2a894513470cac91
parent445fc769a36f34b7b173566fb5016506199f843d
[C++11] Replacing DeclBase iterators decls_begin() and decls_end() with iterator_range decls(). The same is true for the noload versions of these APIs. Updating all of the usages of the iterators with range-based for loops.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203278 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
include/clang/AST/DataRecursiveASTVisitor.h
include/clang/AST/DeclBase.h
include/clang/AST/RecursiveASTVisitor.h
lib/AST/ASTImporter.cpp
lib/AST/DeclBase.cpp
lib/Analysis/CallGraph.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/ModuleBuilder.cpp
lib/Frontend/ASTConsumers.cpp
lib/Frontend/ASTMerge.cpp
lib/Frontend/ASTUnit.cpp
lib/Sema/SemaAccess.cpp
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaTemplateInstantiate.cpp
lib/Serialization/ASTWriter.cpp
lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
tools/libclang/CIndex.cpp
tools/libclang/IndexDecl.cpp