reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/clang/include/clang/AST/StmtDataCollectors.inc
  121     for (const GenericSelectionExpr::ConstAssociation &Assoc : S->associations()) {
include/llvm/ADT/DepthFirstIterator.h
  130       while (*Opt != GT::child_end(Node)) {
include/llvm/ADT/Hashing.h
  406   while (first != last && store_and_advance(buffer_ptr, buffer_end,
  415   while (first != last) {
  419     while (first != last && store_and_advance(buffer_ptr, buffer_end,
include/llvm/ADT/PostOrderIterator.h
  127     while (VisitStack.back().second != GT::child_end(VisitStack.back().first)) {
include/llvm/ADT/SCCIterator.h
  157   while (VisitStack.back().NextChild != GT::child_end(VisitStack.back().Node)) {
  217     for (ChildItTy CI = GT::child_begin(N), CE = GT::child_end(N); CI != CE;
include/llvm/ADT/STLExtras.h
  322     while (this->I != End && !Pred(*this->I))
  607     return all_of(std::initializer_list<bool>{std::get<Ns>(this->iterators) !=
 1138   for (auto &V : C)
 1225   return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range);
include/llvm/ADT/SetOperations.h
   53        SI != SE; ++SI)
include/llvm/ADT/SetVector.h
  151     for (; Start != End; ++Start)
include/llvm/ADT/SmallPtrSet.h
  388     for (; I != E; ++I)
include/llvm/ADT/SmallSet.h
  203     for (; I != E; ++I)
include/llvm/ADT/StringExtras.h
  320   for (IteratorT I = Begin; I != End; ++I)
  324   while (++Begin != End) {
include/llvm/ADT/StringMap.h
  371     if (it != end())
include/llvm/Analysis/BlockFrequencyInfoImpl.h
 1272     for (const auto Succ : children<const BlockT *>(BB))
 1323          SI != SE; ++SI)
 1392            I != E; ++I) {
include/llvm/Analysis/CFG.h
  160     for (NodeT Succ : make_range(GT::child_begin(Node), GT::child_end(Node))) {
include/llvm/Analysis/CGSCCPassManager.h
  462     for (LazyCallGraph::Node &N : C)
  589       for (LazyCallGraph::Node &N : C) {
  631       assert(C->begin() != C->end() && "Cannot have an empty SCC!");
  769        RCI != RCE;) {
  850           assert(C->begin() != C->end() && "Cannot have an empty SCC!");
  881           assert(C->begin() != C->end() && "Cannot have an empty SCC!");
include/llvm/Analysis/DominanceFrontierImpl.h
  184       for (const auto Succ : children<BlockT *>(currentBB)) {
include/llvm/Analysis/IntervalIterator.h
  185            E = GT::child_end(Node); I != E; ++I)
  238              End = GT::child_end(Node); It != End; ++It)
include/llvm/Analysis/IteratedDominanceFrontier.h
   80   for (const auto &SnapShotBBPair : children<SnapShotBBPairTy>({GD, N}))
include/llvm/Analysis/LazyCallGraph.h
  457       for (LazyCallGraph::Node &N : C) {
  578       for (LazyCallGraph::SCC &C : RC) {
 1110       for (Value *Op : C->operand_values())
include/llvm/Analysis/LoopInfo.h
  211     for (const auto &Succ : children<const BlockT *>(BB)) {
include/llvm/Analysis/LoopInfoImpl.h
   38     for (const auto &Succ : children<BlockT *>(BB))
   66     for (const auto &Succ : children<BlockT *>(BB))
  107   for (BlockT *BB : Filtered)
  108     for (BlockT *Successor : children<BlockT *>(BB))
  145     for (const auto &Succ : children<BlockT *>(BB))
  175   if (SI != BlockTraits::child_end(Out))
include/llvm/Analysis/MemorySSA.h
 1202     assert(DefIterator != OriginalAccess->defs_end() &&
 1209     assert(DefIterator != OriginalAccess->defs_end() &&
 1212     if (DefIterator != OriginalAccess->defs_end())
include/llvm/Analysis/RegionInfoImpl.h
  261   for (BlockT *Succ :
  286   for (BlockT *Succ :
include/llvm/Analysis/RegionIterator.h
  110       while (BlockTraits::child_end(node->getEntry()) != BItor && isExit(*BItor))
  146       while (BItor != BlockTraits::child_end(getNode()->getEntry())
  190     while (BlockTraits::child_end(Node->getEntry()) != Itor &&
  228     while (Itor != succ_end(Node->getEntry())
include/llvm/CodeGen/BasicTTIImpl.h
  350     for (auto CI : SI.cases()) {
  361       for (auto I : SI.cases())
include/llvm/CodeGen/CommandFlags.inc
  339       for (auto &F : HostFeatures)
  359       for (auto &F : HostFeatures)
include/llvm/CodeGen/SelectionDAGNodes.h
  913       for (const SDValue &OpV : M->op_values()) {
include/llvm/DebugInfo/CodeView/StringsAndChecksums.h
   41     for (const DebugSubsectionRecord &R : FragmentRange) {
include/llvm/DebugInfo/CodeView/TypeHashing.h
  113     for (const auto &R : Records) {
  128       for (const auto &R : Records) {
  149     for (const auto &R : Records)
include/llvm/DebugInfo/PDB/Native/HashTable.h
  196     for (const auto &Entry : *this) {
  260     assert(Iter != end());
  279     if (Entry != end()) {
  297     assert((find_as(K, Traits)) != end());
include/llvm/ExecutionEngine/JITLink/JITLink.h
  669           SymI(SecI != SecE ? SecI->symbols().begin() : SymbolItrT()) {
  690       while (SecI != SecE && SymI == SecI->symbols().end()) {
  808     for (auto &S : sections())
include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
  213     if (I != CXXRuntimeOverrides.end())
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  311     for (auto &Entry : StubInits)
  352     assert(I != StubIndexes.end() && "No stub pointer for symbol");
include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
  174       for (const auto &GO : M->global_objects())
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
  355       for (auto &Entry : StubInits)
  386       assert(I != StubIndexes.end() && "No stub pointer for symbol");
include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
  160   for (auto I = Pool.begin(), E = Pool.end(); I != E;) {
include/llvm/FuzzMutate/Random.h
   54     for (auto &I : Items)
include/llvm/IR/Instructions.h
 3394     if (I != case_end())
 3403     if (I != case_end())
 3416     for (auto Case : cases()) {
include/llvm/IR/ModuleSummaryIndex.h
 1229     assert(It != ModulePathStringTable.end() && "Module not registered");
 1262     assert(It != ModulePathStringTable.end() && "Module not registered");
include/llvm/ProfileData/SampleProf.h
  261     for (const auto &I : Targets) {
  271     for (const auto &I : Other.getCallTargets()) {
  474       for (const auto &TS : BS.second.getCallTargets())
include/llvm/ProfileData/SampleProfReader.h
  370     if (It != Profiles.end())
include/llvm/Support/GenericDomTree.h
  781     for (const auto &Pred : children<Inverse<N>>(NewBB))
  787     for (const auto &Pred : children<Inverse<N>>(NewBBSucc)) {
include/llvm/Support/GenericDomTreeConstruction.h
  409     for (const NodePtr N : nodes(DT.Parent)) {
  441       for (const NodePtr I : nodes(DT.Parent)) {
include/llvm/Support/GraphWriter.h
   89     for (unsigned i = 0; EI != EE && i != 64; ++EI, ++i) {
  103     if (EI != EE && hasEdgeSourceLabels)
  156     for (const auto Node : nodes<GraphType>(G))
  230     for (unsigned i = 0; EI != EE && i != 64; ++EI, ++i)
  233     for (; EI != EE; ++EI)
include/llvm/Support/YAMLTraits.h
  874     if (this->canElideEmptySequence() && !(Val.begin() != Val.end()))
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
  198              E = Traits::BlkSucc_end(Info->BB); SI != E; ++SI) {
  390     for (auto &SomePHI : BB->phis()) {
lib/Analysis/AliasSetTracker.cpp
  497       for (auto IdxArgPair : enumerate(Call->args())) {
lib/Analysis/BranchProbabilityInfo.cpp
  164   for (auto *I : successors(BB))
  220   for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I)
  366   for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I)
  594   for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) {
  842     for (succ_const_iterator SI = succ_begin(&BI), SE = succ_end(&BI); SI != SE;
  861   for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) {
  905   for (succ_const_iterator I = succ_begin(Src), E = succ_end(Src); I != E; ++I)
lib/Analysis/CFG.cpp
   46     while (I != succ_end(ParentBB)) {
lib/Analysis/CGSCCPassManager.cpp
   96     assert(C->begin() != C->end() && "Cannot have an empty SCC!");
  165   for (auto &RC : G->postorder_ref_sccs())
  166     for (auto &C : RC) {
  257     for (LazyCallGraph::Node &N : C)
  269   for (LazyCallGraph::Node &N : C) {
  330   for (LazyCallGraph::Node &N : C) {
  473     for (Value *Op : I.operand_values())
  505   for (Edge &E : *N) {
lib/Analysis/CaptureTracking.cpp
  290       for (auto IdxOpPair : enumerate(Call->data_ops())) {
lib/Analysis/ConstantFolding.cpp
 1663     for (const Value *subc : c->operand_values()) {
lib/Analysis/DivergenceAnalysis.cpp
  218       for (auto &Phi : UserBlock->phis()) {
  244     for (auto *SuccBlock : successors(UserBlock)) {
  254   for (const auto &Phi : Block.phis()) {
lib/Analysis/EHPersonalities.cpp
  131     for (BasicBlock *Succ : successors(Visiting))
lib/Analysis/InlineCost.cpp
 1705   for (BasicBlock *Succ : successors(CurrBB)) {
 1714         for (BasicBlock *S : successors(Dead))
lib/Analysis/LazyCallGraph.cpp
  111       for (Value *Op : I.operand_values())
  244     for (Edge &E : **N)
  254   for (Node &N : *this)
  255     for (Edge &E : N->calls())
  276     for (Node &N : C)
  277       for (Edge &E : N->calls()) {
  336     for (Node &N : SourceSCC)
  337       for (Edge &E : *N) {
  356   for (SCC &C : *this)
  357     for (Node &N : C)
  358       for (Edge &E : *N)
  378     for (SCC &C : DescendantRC)
  379       for (Node &N : C)
  380         for (Edge &E : *N) {
  574       for (Node &N : C)
  575         for (Edge &E : N->calls())
  603       for (Node &N : C)
  604         for (Edge &E : *N) {
  784       while (I != E) {
  813             for (Node &N : make_range(OldSCC.begin() + OldSize, OldSCC.end())) {
  863       for (Node &N : *NewSCCs.back()) {
  998       for (SCC &C : RC)
  999         for (Node &N : C)
 1000           for (Edge &E : *N)
 1023       for (SCC &C : RC)
 1024         for (Node &N : C)
 1025           for (Edge &E : *N) {
 1065     for (SCC &InnerC : *RC) {
 1068       for (Node &N : InnerC)
 1083   for (SCC &InnerC : *this)
 1181     for (Node &N : *C)
 1221       while (I != E) {
 1327   for (int i : seq<int>(Idx, G->PostOrderRefSCCs.size()))
 1335     for (Node &N : *C) {
 1603       while (I != E) {
 1689         for (Node &N : *RC.SCCs.back()) {
 1708   for (Edge &E : *this)
 1747   for (LazyCallGraph::Edge &E : N.populate())
 1757   for (LazyCallGraph::Node &N : C)
 1764   for (LazyCallGraph::SCC &InnerC : C)
 1781   for (LazyCallGraph::RefSCC &C : G.postorder_ref_sccs())
 1793   for (LazyCallGraph::Edge &E : N.populate()) {
lib/Analysis/LazyValueInfo.cpp
 1471     for (auto Case : SI->cases()) {
 2023   for (auto *BBSucc : successors(ParentBB))
lib/Analysis/LegacyDivergenceAnalysis.cpp
  233   for (BasicBlock *Succ : successors(ThisBB)) {
  398     for (auto &I : BB.instructionsWithoutDebug()) {
lib/Analysis/LoopCacheAnalysis.cpp
  159   for (auto SubNum : seq<unsigned>(0, NumSubscripts - 1)) {
lib/Analysis/LoopInfo.cpp
  303   for (PHINode &IndVar : Header->phis()) {
  805   for (; I != E; ++I) {
lib/Analysis/MemorySSA.cpp
  424     for (const auto *MA : def_chain(MAP.first)) {
  568     for (MemoryAccess *Current : def_chain(Desc.Last)) {
  599     for (const MemoryAccessPair &P : UpwardDefs) {
  816         assert(Iter != def_path_iterator());
  874           for (auto *MA : def_chain(const_cast<MemoryAccess *>(Target)))
 1089   for (const BasicBlock *S : successors(BB)) {
 1195   for (const BasicBlock *S : successors(BB)) {
lib/Analysis/MemorySSAUpdater.cpp
  476     for (const auto *S : successors(NewDef->getBlock())) {
  505       for (const auto *S : successors(FixupBlock)) {
  720   for (auto BB : llvm::concat<BasicBlock *const>(LoopBlocks, ExitBlocks))
  723   for (auto BB : llvm::concat<BasicBlock *const>(LoopBlocks, ExitBlocks))
  752     for (const ValueToValueMapTy *VMap : make_range(ValuesBegin, ValuesEnd))
  833       for (auto &Pair : children<GraphDiffInvBBPair>({GD, BB})) {
  927     for (auto &Pair : children<GraphDiffInvBBPair>({GD, BB})) {
 1079         for (auto &Pair : children<GraphDiffInvBBPair>({GD, BBIDF})) {
 1207   for (BasicBlock *Succ : successors(To))
 1217   for (BasicBlock *Succ : successors(From))
 1345     for (BasicBlock *Succ : successors(TI))
 1387   for (const BasicBlock *Successor : successors(BB)) {
 1402   for (const BasicBlock *Succ : successors(BB)) {
lib/Analysis/MustExecute.cpp
  218     for (auto *Succ : successors(Pred))
lib/Analysis/PhiValues.cpp
  153     for (const PHINode &PN : BB.phis()) {
  186     for (const PHINode &PN : BB.phis())
lib/Analysis/ScalarEvolution.cpp
  635     for (unsigned Idx : seq(0u, LNumOps)) {
 6641   for (PHINode &PN : Header->phis())
 7155     for (auto *SBB : successors(ExitingBlock))
 7895   for (PHINode &PHI : Header->phis()) {
 7974   for (PHINode &PHI : Header->phis()) {
lib/Analysis/ScalarEvolutionExpander.cpp
 1181     for (PHINode &PN : L->getHeader()->phis()) {
 1954   for (PHINode &PN : L->getHeader()->phis())
 2446       for (const Value *V : InsertionPoint->operand_values())
lib/Analysis/SyncDependenceAnalysis.cpp
  227     for (const auto *SuccBlock : NodeSuccessors) {
  285         for (const auto *SuccBlock : successors(Block)) {
lib/AsmParser/LLParser.cpp
  111   for (const auto &I : Slots->NamedTypes)
  195        NamedTypes.begin(), E = NamedTypes.end(); I != E; ++I)
  262   for (const auto &I : NamedTypes)
  651   if (I != ComdatSymTab.end() && !ForwardRefComdats.erase(Name))
  655   if (I != ComdatSymTab.end())
 1469   if (I != ComdatSymTab.end())
lib/Bitcode/Writer/BitcodeWriter.cpp
  477       for (const auto &MPSE : Index.modulePaths())
 2740       for (auto Case : SI.cases()) {
 2824     for (const BasicBlock *CatchPadBB : CatchSwitch.handlers())
 3100   for (const ValueName &Name : VST) {
lib/Bitcode/Writer/ValueEnumerator.cpp
  550        VI != VE; ++VI)
lib/CodeGen/AsmPrinter/AccelTable.cpp
   38   for (const auto &E : Entries)
   56   for (auto &E : Entries) {
   75   for (auto &E : Entries) {
  426   for (const auto &CU : enumerate(CompUnits)) {
  435   for (const auto &Bucket : enumerate(Contents.getBuckets())) {
  444   for (const auto &Bucket : enumerate(Contents.getBuckets())) {
  557   for (const auto &CU : enumerate(CUs)) {
  665   for (const auto &Entry : Entries) {
  677   for (auto &E : Entries)
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 1486     for (const auto &GO : M.global_objects()) {
 1566     for (const GlobalValue &GV : M.global_values()) {
 1609     for (const GlobalValue &GV : M.global_values())
 1619     for (const GlobalValue &GV : M.global_values()) {
 3066          E = GCMetadataPrinterRegistry::end(); I != E; ++I)
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  262   for (const auto &V : Die.values()) {
lib/CodeGen/AsmPrinter/DIE.cpp
  188   for (const DIEValue &V : values())
  224   for (const auto &V : values())
  237   for (const auto &V : Values.values()) {
  256   for (const auto &V : values()) {
  291   for (const auto &V : values())
  703     for (const auto &V : values())
  723   for (const auto &V : values())
  754     for (const auto &V : values())
  774   for (const auto &V : values())
lib/CodeGen/AsmPrinter/DIEHash.cpp
   35   for (const auto &V : Die.values())
  119   for (const auto &V : Die.values()) {
  218   for (const auto &V : Values)
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
  144   for (auto Index : LiveEntries[Var]) {
  171     for (auto Index : LiveEntries[Var]) {
  324         for (EntryIndex Idx : Pair.second) {
  357     for (const auto &E : enumerate(Entries)) {
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  217   for (auto Byte : enumerate(TmpBuf->Bytes)) {
  636     for (auto Reg : concat<unsigned>(ExplicitFwdRegDefs, ImplicitFwdRegDefs))
 2096   for (const auto &GI : Globals) {
lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
   89   for (const auto &E : Pool)
  117     for (const auto &Entry : Pool) {
lib/CodeGen/CodeGenPrepare.cpp
  759   for (const PHINode &PN : BB->phis()) {
  799       for (const PHINode &PN : DestBB->phis()) {
  843   for (PHINode &PN : DestBB->phis()) {
 3350       for (auto &P : PHI->getParent()->phis()) {
 6258   for (auto Case : SI->cases()) {
 7261     for (PHINode &PN : FBB->phis()) {
lib/CodeGen/GCMetadata.cpp
  149   if (NMI != GCStrategyMap.end())
  152   for (auto& Entry : GCRegistry::entries()) {
lib/CodeGen/GlobalISel/IRTranslator.cpp
  404   for (const BasicBlock *Succ : successors(&BrInst))
  442   for (auto &I : SI.cases()) {
  845   for (const BasicBlock *Succ : successors(&BrInst))
 1626   for (auto &Arg : enumerate(CI.arg_operands())) {
lib/CodeGen/IndirectBrExpandPass.cpp
  104       for (BasicBlock *SuccBB : IBr->successors())
  214   for (int i : llvm::seq<int>(1, BBs.size()))
lib/CodeGen/LiveDebugValues.cpp
 1098   for (auto &ASeenFragment : AllSeenFragments) {
lib/CodeGen/MIRParser/MIRParser.cpp
  602        I != E; I++) {
lib/CodeGen/MachineCSE.cpp
  300   for (const auto &MOP : llvm::enumerate(MI->operands())) {
lib/CodeGen/MachineInstr.cpp
  442   for (const MachineInstr &MI : make_pointee_range(MIs.slice(1))) {
lib/CodeGen/MachineOutliner.cpp
 1390     if (It != FunctionToInstrCount.end())
lib/CodeGen/MachineSink.cpp
 1266         for (unsigned Reg : Units)
 1316       for (unsigned Reg : Units)
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  860   for (const SDValue &Op : N->op_values()) {
 1377       for (const SDValue &ChildN : N->op_values())
 1440     for (const SDValue &ChildN : N->op_values())
 1750     for (const SDValue &Op : TF->op_values()) {
 1846       for (const SDValue &Op : CurNode->op_values())
 4777   for (SDValue Op : N->op_values()) {
10650     for (const SDValue &Op : N0->op_values()) {
11219     for (SDValue Op : BV->op_values()) {
11295   for (const SDValue &Op : BV->op_values()) {
lib/CodeGen/SelectionDAG/FastISel.cpp
 2275     for (const PHINode &PN : SuccBB->phis()) {
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  269     for (const PHINode &PN : BB.phis()) {
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  977   for (const SDValue &Op : Node->op_values())
 2026   for (const SDValue &Op : Node->op_values()) {
 2207   for (const SDValue &Op : Node->op_values()) {
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
 3437   for (const SDValue &Op : N->op_values()) {
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  239   for (const SDValue &Op : Node->op_values())
  303   for (const SDValue &Op : Node->op_values())
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 2535   for (const SDValue &Op : N->op_values()) {
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
  227   for (const SDValue &Op : N->op_values()) {
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  451       for (const SDValue &Op : N->op_values())
  467     for (const SDValue &Op : N->op_values())
  498       for (const SDValue &Op : N->op_values()) {
  525     for (const SDValue &Op : N->op_values())
 1161   for (const SDValue &Op : N->op_values()) {
 1335   for (const SDValue &Op : N->op_values())
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  350     for (const SDValue &Op : NI->op_values())
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  204   for (const SDValue &Op : N->op_values()) {
  237   for (const SDValue &Op : N->op_values()) {
  250   for (const SDValue &Op : N->op_values()) {
 9509   for (const SDValue &Op : op_values()) {
 9615   for (const SDValue &Op : N->op_values())
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  998   for (auto CountAndVT : zip_first(RegCount, RegVTs)) {
 1664       for (const BasicBlock *CatchPadBB : CatchSwitch->handlers()) {
 1718       for (const BasicBlock *CatchPadBB : CatchSwitch->handlers()) {
 5410     for (SDValue Op : N->op_values())
 8489           for (const SDValue &V : Val->op_values())
 9949     for (const PHINode &PN : SuccBB->phis()) {
10499   for (auto I : SI.cases()) {
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  804   for (const SDValue &Op : N->op_values()) {
  894   for (const SDValue &Op : N->op_values())
  922   for (const SDValue &Op : N->op_values()) {
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  753     for (const SDValue &Op : N->op_values())
 1137         for (const SDValue &Op : N->op_values()) {
 1412         for (const PHINode &PN : LLVMBB->phis())
 1415         for (const PHINode &PN : LLVMBB->phis())
 2114   for (const SDValue &Op : ImmedUse->op_values()) {
 2127     for (const SDValue &Op : Root->op_values()) {
 2363       for (const SDValue &Op : V->op_values())
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 5478     for (SDValue C : Op->op_values()) {
lib/CodeGen/WinEHPrepare.cpp
  246     for (const BasicBlock *CatchPadBB : CatchSwitch->handlers()) {
  854       for (PHINode &OldPN : OldBlock->phis()) {
  857       for (PHINode &NewPN : NewBlock->phis()) {
  867       for (BasicBlock *SuccBB : successors(NewBlock)) {
  868         for (PHINode &SuccPN : SuccBB->phis()) {
lib/DebugInfo/CodeView/CVSymbolVisitor.cpp
   67   for (auto I : Symbols) {
   76   for (auto I : Symbols) {
lib/DebugInfo/CodeView/CVTypeVisitor.cpp
  143   for (auto I : Types) {
  151   for (auto I : Types) {
lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp
   65   for (const auto &Item : Mappings) {
   78   for (const auto &M : Mappings)
lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
   72   for (auto &Pair : StringToId) {
   99   assert(Iter != StringToId.end());
lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp
  180   assert(Next != PartialOffsets.begin());
  248   while (Begin != End) {
  267   assert(RI != Types.end());
lib/DebugInfo/CodeView/SymbolDumper.cpp
  458   for (auto &Annotation : InlineSite.annotations()) {
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  280   for (const auto &Tuple : zip_first(HdrData->Atoms, Values)) {
  534   for (const auto &Tuple : zip_first(Abbr->Attributes, Values)) {
  568   for (const auto &Tuple : zip_first(Abbr->Attributes, Values)) {
lib/DebugInfo/DWARF/DWARFContext.cpp
 1489     for (const auto &SecIt : Sections) {
lib/DebugInfo/PDB/Native/DbiModuleList.cpp
  209   for (auto Count : ModFileCountArray)
  227     assert(DescriptorIter != Descriptors.end());
  257   assert(Iter != Descriptors.end());
lib/DebugInfo/PDB/Native/DbiStream.cpp
  227     for (auto &SC : SectionContribs)
  231     for (auto &SC : SectionContribs2)
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  178   for (const auto &F : SourceFileNames) {
  222   for (auto &Name : SourceFileNames) {
lib/DebugInfo/PDB/Native/GlobalsStream.cpp
  159   for (uint32_t B : HashBitmap)
lib/DebugInfo/PDB/Native/InjectedSourceStream.cpp
   42   for (const auto& Entry : *this) {
lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp
  117   assert(Iter != SymbolArray.end());
  135   for (const auto &SS : subsections()) {
lib/DebugInfo/PDB/Native/NamedStreamMap.cpp
  110   for (const auto &Entry : OffsetIndexMap) {
lib/DebugInfo/PDB/Native/NativeEnumGlobals.cpp
   28   for (uint32_t Off : GS.getGlobalsTable()) {
lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
  180   for (auto &Pair : Strings) {
lib/ExecutionEngine/ExecutionEngine.cpp
  240   for (GlobalObject &GO : M->global_objects())
  282   if (I != EEState.getGlobalAddressMap().end())
  307            E = EEState.getGlobalAddressMap().end(); I != E; ++I) {
lib/ExecutionEngine/Interpreter/Execution.cpp
  955   for (auto Case : I.cases()) {
lib/ExecutionEngine/JITLink/JITLink.cpp
  162   for (auto *Sym : defined_symbols()) {
  212   for (auto *Sym : G.defined_symbols())
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
  305   for (auto *Sym : G.defined_symbols())
  334     for (auto *Sym : G.defined_symbols())
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  526     if (HI != CustomSectionParserFunctions.end()) {
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
  141     for (auto &GV : M.global_values()) {
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  259   for (auto &GV : M.global_values()) {
lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
   34   for (auto &Feature : FeatureMap)
lib/ExecutionEngine/Orc/Layer.cpp
   34     for (auto &G : M.global_values()) {
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
   90     for (auto *Sym : G.defined_symbols())
  173     for (auto *Sym : G.defined_symbols())
  190     for (auto *Sym : G.defined_symbols())
  200     for (auto *Sym : G.defined_symbols()) {
  246     for (auto *Sym : G.defined_symbols())
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
   61   for (auto &I : BB->instructionsWithoutDebug())
  225   for (; PIt != EIt; ++PIt)
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  400         for (auto &GSTMapEntry : GlobalSymbolTable) {
 1089         assert(RRI != ExternalSymbolMap.end() && "No result for symbol");
 1146       for (auto &RelocKV : ExternalSymbolRelocations) {
 1224   for (auto &RelocKV : SharedThis->ExternalSymbolRelocations) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
 1149   if (gsi != GlobalSymbolTable.end()) {
 1364       if (i != GOTSymbolOffsets.end())
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
  535     for (auto &KV : GlobalSymbolTable) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
  117     if (SI != GlobalSymbolTable.end()) {
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
   53     for (auto &KV : GlobalSymbolTable) {
  126       if (EntryItr != GlobalSymbolTable.end()) {
lib/FuzzMutate/Operations.cpp
  158       for (PHINode &PHI : Block->phis())
lib/IR/AsmWriter.cpp
 1027   for (auto &ModPath : TheIndex->modulePaths())
 2459   for (const GlobalObject &GO : TheModule->global_objects())
 2681   for (auto &ModPath : TheIndex->modulePaths())
 3736     for (auto Case : SI.cases()) {
 3800     for (const BasicBlock *PadBB : CatchSwitch->handlers()) {
lib/IR/BasicBlock.cpp
  288   for (;SI != E; ++SI) {
lib/IR/Constants.cpp
 2526   assert(Slot != CDSConstants.end() && "CDS not found in uniquing table");
lib/IR/Core.cpp
 3234                                          E = CSI->handler_end(); I != E; ++I)
lib/IR/LLVMContext.cpp
  260        E = pImpl->CustomMDKindNames.end(); I != E; ++I)
lib/IR/LLVMContextImpl.cpp
  102   for (auto &CDSConstant : CDSConstants)
  206   for (const auto &T : BundleTagCache)
  212   assert(I != BundleTagCache.end() && "Unknown tag!");
  226   for (const auto &SSE : SSC)
lib/IR/PassRegistry.cpp
   50   return I != PassInfoStringMap.end() ? I->second : nullptr;
lib/IR/SafepointIRVerifier.cpp
  178         for (BasicBlock *S : successors(B))
lib/IR/ValueSymbolTable.cpp
   35   for (const auto &VI : vmap)
  120   for (const auto &I : *this) {
lib/IR/Verifier.cpp
  383     for (const StringMapEntry<Comdat> &SMEC : M.getComdatSymbolTable())
 2387     for (const PHINode &PN : BB.phis()) {
 2472   for (auto &Case : SI.cases()) {
 3956   for (BasicBlock *Handler : CatchSwitch.handlers()) {
lib/LTO/LTO.cpp
  156   for (auto &Entry : ImportList) {
  230   for (auto &ImpM : ImportList)
  772     for (GlobalValue &GV : M.global_values())
  901   for (auto &Res : GlobalResolutions) {
  988     for (const auto &R : GlobalResolutions) {
 1314   for (auto &Res : GlobalResolutions) {
 1335     return (ExportList != ExportLists.end() &&
lib/LTO/LTOBackend.cpp
  463   for (auto &GV : Mod.global_values())
lib/LTO/LTOModule.cpp
  615          e = _undefines.end(); u != e; ++u) {
lib/LTO/ThinLTOCodeGenerator.cpp
  272   for (auto &Entry : PreservedSymbols) {
  594     return (ExportList != ExportLists.end() &&
lib/Linker/LinkModules.cpp
  461   for (const auto &SMEC : SrcM->getComdatSymbolTable()) {
lib/MC/ELFObjectWriter.cpp
  655   for (const MCSymbol &S : Asm.symbols()) {
 1112   for (MCSection &Sec : Asm) {
lib/MC/MCAssembler.cpp
  766   for (MCSection &Sec : *this) {
  806   for (MCSection &Sec : *this) {
 1113   for (iterator it = begin(), ie = end(); it != ie; ++it) {
 1139   for (const_iterator it = begin(), ie = end(); it != ie; ++it) {
 1140     if (it != begin()) OS << ",\n    ";
 1146   for (const_symbol_iterator it = symbol_begin(), ie = symbol_end(); it != ie; ++it) {
 1147     if (it != symbol_begin()) OS << ",\n           ";
lib/MC/MCCodeView.cpp
  166   assert(I != StringTable.end());
lib/MC/MCFragment.cpp
   34   for (MCSection &Sec : Asm)
   37   for (MCSection &Sec : Asm)
lib/MC/MCMachOStreamer.cpp
  482   for (const MCSymbol &Symbol : getAssembler().symbols()) {
  494   for (MCSection &Sec : getAssembler()) {
lib/MC/MCParser/AsmParser.cpp
  966       for (const auto &TableEntry : getContext().getSymbols()) {
lib/MC/MachObjectWriter.cpp
  549          ie = Asm.end(); it != ie; ++it, ++Index)
  554   for (const MCSymbol &Symbol : Asm.symbols()) {
  567   for (const MCSymbol &Symbol : Asm.symbols()) {
  593   for (const MCSymbol &Symbol : Asm.symbols()) {
  626   for (const MCSection &Section : Asm) {
  819   for (const MCSection &Sec : Asm) {
  851   for (const MCSection &Section : Asm) {
  953   for (const MCSection &Sec : Asm) {
  964   for (const MCSection &Sec : Asm) {
lib/MC/WasmObjectWriter.cpp
  413   for (const MCSymbol &S : Asm.symbols()) {
 1144   for (const MCSymbol &S : Asm.symbols()) {
 1199   for (const MCSymbol &S : Asm.symbols()) {
 1218   for (MCSection &Sec : Asm) {
 1284   for (const MCSymbol &S : Asm.symbols()) {
 1402   for (const MCSymbol &S : Asm.symbols()) {
 1432   for (const MCSymbol &S : Asm.symbols()) {
 1500   for (const MCSection &S : Asm) {
lib/MC/WinCOFFObjectWriter.cpp
  672   for (const auto &Section : Asm)
  675   for (const MCSymbol &Symbol : Asm.symbols())
  899   for (const auto &Section : Asm) {
 1073   for (; I != IE && J != JE; ++I, ++J)
lib/MC/XCOFFObjectWriter.cpp
  275   for (const auto &S : Asm) {
  294   for (const MCSymbol &S : Asm.symbols()) {
lib/Object/ArchiveWriter.cpp
  542   for (auto FromE = sys::path::end(DirFrom); FromI != FromE; ++FromI)
  545   for (auto ToE = sys::path::end(PathTo); ToI != ToE; ++ToI)
lib/Object/Minidump.cpp
  129   for (const auto &StreamDescriptor : llvm::enumerate(*ExpectedStreams)) {
lib/Object/ModuleSymbolTable.cpp
   62   for (GlobalValue &GV : M->global_values())
  131     for (auto &KV : Streamer) {
lib/Object/RecordStreamer.cpp
  143   for (const GlobalValue &GV : M.global_values()) {
  191         if (MI != MangledNameMap.end())
lib/Object/TapiFile.cpp
   44   for (const auto *Symbol : interface.symbols()) {
lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
  424       for (const auto &Item : zip(LC.Lines, LC.Columns)) {
  570   for (const auto &CS : FC) {
  589   for (const auto &L : Lines) {
  596       for (const auto &C : L.Columns) {
  603     for (const auto &LN : L.LineNumbers) {
  625   for (const auto &IL : Lines) {
  634       for (const auto EF : IL.ExtraFiles) {
  659   for (const auto &CMI : Imports) {
  675   for (const auto &Sym : Symbols) {
  712   for (const auto &F : Frames) {
  740   for (const auto &RVA : Section) {
  915   for (const auto &SS : Subsections) {
lib/ObjectYAML/CodeViewYAMLTypes.cpp
  789   for (const auto &T : Types) {
lib/ObjectYAML/MinidumpEmitter.cpp
  239   for (auto &Stream : enumerate(Obj.Streams))
lib/Option/OptTable.cpp
  150                                    E = PrefixesUnion.end(); I != E; ++I) {
  173                                    E = Prefixes.end(); I != E; ++I)
lib/Passes/StandardInstrumentations.cpp
   48     for (const LazyCallGraph::Node &N : *C) {
   86   for (const LazyCallGraph::Node &N : *C) {
lib/ProfileData/Coverage/CoverageMapping.cpp
  316   for (const auto &File : llvm::enumerate(ObjectFilenames)) {
  466     for (const auto &CR : enumerate(Regions)) {
  604   for (const auto &Function : getCoveredFunctions())
lib/ProfileData/GCOV.cpp
  721   for (const auto &LI : LineInfo)
  839     for (const GCOVBlock &Block : Func->blocks())
lib/ProfileData/InstrProfWriter.cpp
  254   for (auto &I : IPW.FunctionData)
  298   for (const auto &I : FunctionData)
  450   for (const auto &I : FunctionData) {
lib/ProfileData/SampleProfReader.cpp
   58   for (const auto &I : Profiles)
 1225   for (auto &Sample : Reader.getProfiles())
 1372   for (const auto &I : Profiles) {
lib/ProfileData/SampleProfWriter.cpp
   48   for (const auto &I : ProfileMap)
  180   for (const auto &I : ProfileMap) {
  291     for (const auto &J : Sample.getCallTargets())
  382   for (const auto &I : ProfileMap) {
  616   for (const auto &I : ProfileMap) {
lib/Remarks/RemarkStringTable.cpp
   67   for (const auto &KV : StrTab)
lib/Support/CommandLine.cpp
  198           SC->OptionsMap.find(O->ArgStr) != SC->OptionsMap.end())
  264       if (I != End && I->getValue() == O)
  364       for (auto &E : AllSubCommands->OptionsMap) {
  524     return I != Sub.OptionsMap.end() ? I->second : nullptr;
  579        it != ie; ++it) {
  710   if (OMI != OptionsMap.end() && !Pred(OMI->getValue()))
  719     if (OMI != OptionsMap.end() && !Pred(OMI->getValue()))
  723   if (OMI != OptionsMap.end() && Pred(OMI->second)) {
 1250     for (auto &O : SC->OptionsMap)
 1560   for (const auto &Opt : OptionsMap) {
 2018        I != E; ++I) {
 2467   for (auto &I : Sub.OptionsMap) {
 2478   for (auto &I : Sub.OptionsMap) {
lib/Support/DynamicLibrary.cpp
  187       if (i != ExplicitSymbols->end())
lib/Support/FileCheck.cpp
  131   if (Context->DefinedVariableTable.find(Name) !=
  143   if (VarTableIter != Context->GlobalNumericVariableTable.end())
  170   if (VarTableIter != Context->GlobalNumericVariableTable.end())
  471           if (Context->GlobalNumericVariableTable.find(Name) !=
  680   for (const auto &NumericVariableDef : NumericVariableDefs) {
 1885       if (GlobalNumericVariableTable.find(Name) !=
 1909   for (const StringMapEntry<StringRef> &Var : GlobalVariableTable)
 1919   for (const auto &Var : GlobalNumericVariableTable)
lib/Support/Path.cpp
  348   if (b != e) {
  354       if ((++pos != e) && is_separator((*pos)[0], style)) {
  374   if (b != e) {
  391   if (b != e) {
  398         (++pos != e) && is_separator((*pos)[0], style)) {
  462   for (; begin != end; ++begin)
  694   for (StringRef C :
lib/Support/SpecialCaseList.cpp
   62   if (It != Strings.end())
lib/Support/StringPool.cpp
   26   if (I != InternTable.end())
lib/Support/TimeProfiler.cpp
  135     for (const auto &E : CountAndTotalPerName)
lib/Support/Timer.cpp
  193          I = Map.begin(), E = Map.end(); I != E; ++I)
  248   for (const auto &P : Records)
lib/Support/VirtualFileSystem.cpp
  158   for (StringRef Comp : llvm::make_range(path::begin(Path), path::end(Path)))
  638     if (I != Entries.end())
  656     for (const auto &Entry : Entries)
  769       if (I != E)
  894     if (I != E) {
 1470          I != E; ++I) {
 1912        IParent != EParent && IChild != EChild; ++IParent, ++IChild) {
 1912        IParent != EParent && IChild != EChild; ++IParent, ++IChild) {
lib/Support/YAMLTraits.cpp
  147   for (auto &P : MN->Mapping)
  197   for (const auto &NN : MN->Mapping) {
lib/TableGen/SetTheory.cpp
  321     if (I != Expanders.end()) {
lib/Target/AArch64/AArch64FastISel.cpp
 2562   for (auto *Succ : BI->successors())
lib/Target/AArch64/AArch64ISelLowering.cpp
 2655   for (const SDValue &Elt : N->op_values()) {
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
 1624   for (SDValue V : N->op_values())
lib/Target/AMDGPU/AMDGPULibFunc.cpp
 1010   if (Loc != Map.end()) {
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  739   for (auto Result : zip(InitResultRegs, ResultRegs, PhiRegs)) {
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
   78   for (const Value *V : I->operand_values()) {
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  892   for (auto *MBB : nodes(MF)) {
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 3688     if (Seen.find(ID) != Seen.end())
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  197     for (auto T : inst_counter_types())
  256     for (auto T : inst_counter_types())
  414     for (auto T : inst_counter_types())
  664   for (auto T : inst_counter_types()) {
 1308   for (auto T : inst_counter_types()) {
 1453   for (auto T : inst_counter_types())
lib/Target/ARM/ARMFastISel.cpp
 1344   for (const BasicBlock *SuccBB : IB->successors())
lib/Target/AVR/AVRISelLowering.cpp
  372   for (SDValue const &Value : Op->op_values()) {
lib/Target/BPF/BTFDebug.cpp
  672   if (FileContent.find(FileName) != FileContent.end())
lib/Target/Hexagon/HexagonISelLowering.cpp
 2548     for (SDValue P : Op.getNode()->op_values()) {
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
 1117   for (SDValue V : Op.getNode()->op_values()) {
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1065   for (PHINode &P : ExitB->phis()) {
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 6269     if (Entry != RegisterSets.end()) {
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
  914     for (MCSection &S : MCA) {
lib/Target/PowerPC/PPCFastISel.cpp
 1866   for (const BasicBlock *SuccBB : IB->successors())
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  505   for (auto & CurrentPHI : PHIIter) {
lib/Target/RISCV/RISCVInstrInfo.cpp
  496   for (auto &OI : enumerate(Desc.operands())) {
lib/Target/TargetLoweringObjectFile.cpp
   63   for (auto Operand : C->operand_values()) {
lib/Target/TargetMachineC.cpp
  262     for (auto &F : HostFeatures)
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
   89   for (auto &It : OutContext.getSymbols()) {
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
 1407       for (const SDValue &Lane : Op->op_values()) {
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  459   if (InvokeWrappers.find(Sig) != InvokeWrappers.end())
lib/Target/X86/X86InsertPrefetch.cpp
  125   for (const auto &S_V : *T) {
lib/Target/X86/X86InstrInfo.cpp
 4638   for (int Idx : llvm::seq<int>(0, NewMI.getNumOperands())) {
lib/Target/X86/X86WinEHState.cpp
  598   for (BasicBlock *SuccBB : successors(BB)) {
  718     for (BasicBlock *SuccBB : successors(BB))
lib/Testing/Support/Annotations.cpp
   69   require(I != Points.end() && I->getValue().size() == 1,
   81   require(I != Ranges.end() && I->getValue().size() == 1,
lib/TextAPI/MachO/TextStub.cpp
  466       for (const auto *Symbol : File->exports()) {
  534       for (const auto *Symbol : File->undefineds()) {
  598       for (auto Platform : Platforms) {
  850             for (const auto *Symbol : Symbols) {
lib/Transforms/Coroutines/CoroElide.cpp
   69   for (Value *Op : CI->operand_values())
lib/Transforms/Coroutines/CoroFrame.cpp
  225       for (BasicBlock *SI : successors(B)) {
 1033   for (auto Succ : successors(From)) {
 1067   for (auto Succ : successors(BB)) {
lib/Transforms/Coroutines/CoroSplit.cpp
  893   for (PHINode &PN : NewBlock->phis()) {
lib/Transforms/IPO/ArgumentPromotion.cpp
 1030     for (LazyCallGraph::Node &N : C) {
lib/Transforms/IPO/Attributor.cpp
 1814     for (auto *SuccBB : successors(BB)) {
 2368   for (const BasicBlock *SuccBB : successors(BB)) {
lib/Transforms/IPO/CrossDSOCFI.cpp
   84   for (GlobalObject &GO : M.global_objects()) {
lib/Transforms/IPO/FunctionAttrs.cpp
 1369     for (auto &I : BB.instructionsWithoutDebug())
 1427   for (LazyCallGraph::Node &N : C) {
lib/Transforms/IPO/FunctionImport.cpp
  624   for (auto &DefinedGVSummaries : ModuleToDefinedGVSummaries) {
  638   for (auto &ELI : ExportLists) {
  652   for (auto &ModuleImports : ImportLists) {
  660     for (auto &Src : ModuleImports.second) {
  678   for (auto &Src : ImportList) {
  880   for (auto &ILI : ImportList) {
 1085   for (auto &FunctionsToImportPerModule : ImportList) {
 1091     assert(FunctionsToImportPerModule != ImportList.end());
lib/Transforms/IPO/GlobalDCE.cpp
  205   for (auto &VTableInfo : TypeIdMap[TypeId]) {
  253       for (auto &VTableInfo : TypeIdMap[TypeId]) {
  308   for (GlobalObject &GO : M.global_objects()) {
lib/Transforms/IPO/HotColdSplitting.cpp
  224     for (Instruction &I : BB->instructionsWithoutDebug())
  267     for (BasicBlock *SuccBB : successors(BB)) {
lib/Transforms/IPO/Inliner.cpp
  922   for (auto &N : InitialC) {
 1156       for (LazyCallGraph::Edge &E : *CalleeN)
lib/Transforms/IPO/LowerTypeTests.cpp
  359     for (auto &GIS : concat<GlobalIndirectSymbol>(M.aliases(), M.ifuncs())) {
  790         for (auto &Phi : Else->phis())
 1942   for (GlobalObject &GO : M.global_objects()) {
lib/Transforms/IPO/PartialInlining.cpp
  423       for (auto SI = succ_begin(Block); SI != succ_end(Block); ++SI) {
  484     for (auto SI = succ_begin(thisBB); SI != succ_end(thisBB); ++SI) {
  655           for (auto Succ : successors(E)) {
  851   for (Instruction &I : BB->instructionsWithoutDebug()) {
lib/Transforms/IPO/SampleProfile.cpp
  247     for (auto &IFS : CurrentReader.getProfiles()) {
  812     for (const auto &T_C : T.get())
  964           if (R != SymbolMap.end() && R->getValue() &&
 1334     for (succ_iterator SI = succ_begin(B1), SE = succ_end(B1); SI != SE; ++SI) {
 1724   for (const auto &I : Reader->getProfiles())
 1728   for (const auto &N_F : M.getValueSymbolTable()) {
lib/Transforms/IPO/StripSymbols.cpp
  162   for (ValueSymbolTable::iterator VI = ST.begin(), VE = ST.end(); VI != VE; ) {
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
   39   for (auto &ExportGV : ExportM.global_values()) {
   73     for (auto &GO : ExportM.global_objects())
  120   for (GlobalObject &GO : M.global_objects()) {
  178   for (GlobalValue &GV : M->global_values())
  440   for (auto &GO : M.global_objects()) {
lib/Transforms/IPO/WholeProgramDevirt.cpp
  951         for (GlobalObject &GO : M.global_objects())
lib/Transforms/InstCombine/InstructionCombining.cpp
 2598     for (auto Case : SI.cases()) {
 2614   for (auto &C : SI.cases()) {
 2634     for (auto Case : SI.cases()) {
 3275         for (succ_iterator SI = succ_begin(BB), E = succ_end(BB); SI != E; ++SI)
 3460     for (BasicBlock *SuccBB : successors(TI))
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1799     for (PHINode &PN : ExitBlock->phis())
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  297       for (auto &I : LinesByFile) {
  489   if (It != InstrumentedFiles.end()) {
  793           for (BasicBlock *Succ : successors(TI)) {
  988   for (int i : llvm::seq<int>(0, CUNodes->getNumOperands())) {
 1004     for (int j : llvm::seq<int>(0, CountersBySP.size())) {
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  484   for (const BasicBlock *SUCC : make_range(succ_begin(BB), succ_end(BB))) {
  561         for (BasicBlock *B : BR->successors())
  760       for (auto It : SI->cases()) {
lib/Transforms/ObjCARC/DependencyAnalysis.cpp
  265     for (const BasicBlock *Succ : successors(BB))
lib/Transforms/ObjCARC/ObjCARC.h
   88   for (auto &P : BB->phis()) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
 1131     for (const BasicBlock *Succ : successors(BB)) {
 1477     while (SuccStack.back().second != SE) {
lib/Transforms/Scalar/ADCE.cpp
  284       for (auto *Succ : successors(BB))
  397       for (auto *BB : successors(I->getParent()))
  589     for (auto *Succ : successors(BB)) {
  600     for (auto *Succ : successors(BB)) {
  641     if (succ_begin(&BB) != succ_end(&BB))
lib/Transforms/Scalar/CallSiteSplitting.cpp
  341     for (PHINode &PN : TailBB->phis()) {
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  354   for (auto *Succ : successors(BB))
  361     for (auto CI = SI->case_begin(), CE = SI->case_end(); CI != CE;) {
lib/Transforms/Scalar/GVN.cpp
 1425   for (BasicBlock *Successor : successors(IntrinsicI->getParent())) {
 2023          i != e; ++i) {
 2539       for (BasicBlock *S : successors(B)) {
 2591       for (PHINode &Phi : B->phis()) {
lib/Transforms/Scalar/GVNHoist.cpp
  367     for (const BasicBlock *Succ : successors(BB))
lib/Transforms/Scalar/GVNSink.cpp
  596     for (PHINode &PN : BB->phis()) {
lib/Transforms/Scalar/IndVarSimplify.cpp
  508   for (PHINode &PN : Header->phis())
  760     for (PHINode &PN : ExitBB->phis()) {
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1166     for (auto *SBB : successors(OriginalBB)) {
 1170       for (PHINode &PN : SBB->phis()) {
 1311   for (PHINode &PN : LS.Header->phis()) {
 1337   for (PHINode &PN : LS.Header->phis())
lib/Transforms/Scalar/JumpThreading.cpp
 1683       for (BasicBlock *SuccBB : successors(BB)) {
 1749       for (BasicBlock *Succ : successors(Pred))
 1907   for (PHINode &PN : PHIBB->phis()) {
 2184   for (BasicBlock *Succ : successors(BB)) {
 2623     for (auto *Succ : successors(SplitBB)) {
lib/Transforms/Scalar/LoopDeletion.cpp
   53   for (PHINode &P : ExitBlock->phis()) {
  162     for (PHINode &P : ExitBlock->phis()) {
lib/Transforms/Scalar/LoopDistribute.cpp
  172       for (Value *V : I->operand_values()) {
lib/Transforms/Scalar/LoopFuse.cpp
 1173       for (PHINode &PHI : FC0.Header->phis())
 1406       for (PHINode &PHI : FC0.Header->phis())
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1997     for (const PHINode &PHI : ExitBB->phis()) {
 1998       for (const BasicBlock *LoopBB :
lib/Transforms/Scalar/LoopInterchange.cpp
  609   for (BasicBlock *Succ : successors(OuterLoopHeaderBI))
  682   for (PHINode &PHI : L->getHeader()->phis()) {
  720   for (PHINode &PHI : Block->phis()) {
  932   for (PHINode &PHI : LoopNestExit->phis()) {
  977     for (Instruction &I : BB->instructionsWithoutDebug())
 1351   for (PHINode &P : make_early_inc_range(InnerExit->phis())) {
 1376   for (PHINode &P : InnerExit->phis())
 1380   for (PHINode &P : InnerLatch->phis())
 1401     for (PHINode &P : OuterExit->phis()) {
 1530   for (PHINode &PHI : drop_begin(InnerLoopHeader->phis(), 1))
 1532   for (PHINode &PHI : drop_begin(OuterLoopHeader->phis(), 1))
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
   73     for (auto Case : SI->cases())
  197       for (auto *Succ : successors(BB))
  247       for (BasicBlock *Succ : successors(BB))
  366       for (auto &PN : BB->phis())
  488       for (auto *Succ : successors(BB))
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  884   for (PHINode &PN : AR->getLoop()->getHeader()->phis()) {
 3080   for (PHINode &PN : L->getHeader()->phis()) {
 3219     for (PHINode &Phi : L->getHeader()->phis()) {
lib/Transforms/Scalar/LoopUnrollPass.cpp
  599       for (BasicBlock *Succ : successors(BB))
lib/Transforms/Scalar/LoopUnswitch.cpp
  786           for (auto Case : SI->cases()) {
  850   for (succ_iterator SI = succ_begin(BB), E = succ_end(BB); SI != E; ++SI) {
 1180     for (auto Case : SI->cases()) {
 1320     for (PHINode &PN : ExitSucc->phis()) {
 1561     for (PHINode &PN : NewSISucc->phis())
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
  290   assert(SI != succ_end(HeadBB) && "Diamond head cannot have zero successors");
  293   assert(SI != succ_end(HeadBB) && "Diamond head cannot have single successor");
lib/Transforms/Scalar/NewGVN.cpp
 2135   for (const auto X : R) {
 2606   for (auto *Op : OrigI->operand_values()) {
 3138   for (auto *ChainDef : optimized_def_chain(First)) {
 3218   for (auto KV : Filtered) {
 3487   for (auto &BB : make_filter_range(F, UnreachableBlockPred)) {
lib/Transforms/Scalar/PlaceSafepoints.cpp
  283       for (BasicBlock *Succ : successors(BB)) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 2112           for (auto OpValue : ClonedValue->operand_values()) {
 2672   for (BasicBlock *Succ : successors(BB)) {
 2756     for (BasicBlock *Succ : successors(BB)) {
lib/Transforms/Scalar/SCCP.cpp
  565       for (PHINode &PN : Dest->phis())
lib/Transforms/Scalar/SROA.cpp
 3662   for (auto &P : AS.partitions()) {
 4333   for (auto &P : AS.partitions()) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  116     for (Value *OpV : I.operand_values()) {
  200   for (PHINode &PN : UnswitchedBB.phis()) {
  204     for (auto i : seq<int>(0, PN.getNumOperands())) {
  227   for (PHINode &PN : ExitBB.phis()) {
  585   for (auto Case : SI.cases()) {
  749     for (const auto &Case : SI.cases())
  755     for (const auto &Case : SI.cases()) {
  774     for (auto Case : SI.cases()) {
 1037     for (auto ZippedInsts : llvm::zip_first(
 1079       for (auto *SuccBB : successors(LoopBB))
 1081           for (PHINode &PN : ClonedSuccBB->phis())
 1087   for (auto *SuccBB : successors(ParentBB)) {
 1108   for (PHINode &PN : ClonedSuccBB->phis()) {
 1126     for (auto *SuccBB : successors(ClonedBB))
 1415   for (auto *BB : llvm::concat<BasicBlock *const>(
 1455   for (BasicBlock *BB : llvm::concat<BasicBlock *const>(L.blocks(), ExitBlocks))
 1459           for (BasicBlock *SuccBB : successors(ClonedBB))
 1495       for (BasicBlock *SuccBB : successors(BB)) {
 1950     for (auto Case : SI->cases())
 2001   for (auto *SuccBB : llvm::concat<BasicBlock *const>(
 2060       for (auto &Case : SI->cases())
 2116       for (auto &Case : NewSI->cases())
 2277   for (Loop *UpdatedL :
 2306   for (Loop *UpdatedL : llvm::concat<Loop *>(NonChildClonedLoops, HoistedLoops))
 2388   for (auto *Succ : successors(CheckBB))
 2414   for (auto *Succ : successors(CheckBB))
 2677     for (BasicBlock *SuccBB : successors(&BB)) {
lib/Transforms/Scalar/Sink.cpp
  180       E = succ_end(Inst->getParent()); I != E && !SuccToSinkTo; ++I) {
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
   98       while (OpIt != UI->value_op_end()) {
  218   for (int i : llvm::seq<int>(0, PN.getNumIncomingValues())) {
  360         while (OpIt != UI->value_op_end()) {
  462         for (Value *OpV : I->operand_values())
  535           for (auto *OpV : SpecI->operand_values()) {
  627     for (auto *OpV : OrigI->operand_values()) {
  644       for (int i : llvm::seq<int>(0, OpPN->getNumIncomingValues()))
  652   for (int PredIdx : llvm::seq<int>(0, SpecPreds.size())) {
  708       for (int PredIdx : llvm::seq<int>(0, SpecPreds.size()))
lib/Transforms/Scalar/SpeculativeExecution.cpp
  257     for (Value* V : U->operand_values()) {
lib/Transforms/Scalar/StructurizeCFG.cpp
  396     for (BasicBlock *Succ : Term->successors())
  585   for (PHINode &Phi : To->phis()) {
  595   for (PHINode &Phi : To->phis()) {
  667        SI != SE; ++SI)
lib/Transforms/Scalar/TailRecursionElimination.cpp
  282     for (auto *SuccBB : make_range(succ_begin(BB), succ_end(BB))) {
lib/Transforms/Utils/BasicBlockUtils.cpp
   62     for (BasicBlock *Succ : successors(BB)) {
  160   for (PHINode &PN : BB->phis())
  208   for (PHINode &PN : BB->phis())
  219     for (PHINode &PN : BB->phis())
  237     for (auto I = succ_begin(BB), E = succ_end(BB); I != E; ++I)
  241     for (auto I = succ_begin(BB), E = succ_end(BB); I != E; ++I)
lib/Transforms/Utils/BreakCriticalEdges.cpp
  114   for (PHINode &PN : DestBB->phis()) {
lib/Transforms/Utils/CallPromotionUtils.cpp
   49   for (PHINode &Phi : Invoke->getNormalDest()->phis()) {
   81   for (PHINode &Phi : Invoke->getUnwindDest()->phis()) {
lib/Transforms/Utils/CloneFunction.cpp
  433     for (const BasicBlock *Succ : successors(TI))
  503     for (const PHINode &PN : BI.phis()) {
lib/Transforms/Utils/CodeExtractor.cpp
  140       for (auto *HBB : CSI->handlers())
  288     for (auto *Succ : successors(Block)) {
  310     for (Instruction &II : BB.instructionsWithoutDebug())
  319   for (Instruction &II : BB.instructionsWithoutDebug()) {
  703     for (PHINode &PN : ExitBB->phis()) {
 1426     for (succ_iterator SI = succ_begin(Block), SE = succ_end(Block); SI != SE;
 1553     for (PHINode &PN : ExitBB->phis()) {
lib/Transforms/Utils/FlattenCFG.cpp
  457   for (BasicBlock *Succ : successors(PBI)) {
  458     for (PHINode &Phi : Succ->phis()) {
lib/Transforms/Utils/FunctionImportUtils.cpp
  302     for (auto &GO : M.global_objects())
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
   54     assert(It != NodesMap.end() && "The node should be already there.");
  189   for (const NodesMapTy::value_type& Node : NodesMap)
lib/Transforms/Utils/InlineFunction.cpp
  252              HI != HE && !UnwindDestToken; ++HI) {
  487       for (BasicBlock *HandlerBlock : CatchSwitch->handlers()) {
  729         for (BasicBlock *PadBB : CatchSwitch->handlers())
lib/Transforms/Utils/Local.cpp
  173     for (auto i = SI->case_begin(), e = SI->case_end(); i != e;) {
  243       for (BasicBlock *Succ : successors(SI)) {
 1475     for (auto VI : PHI->operand_values()) {
 1911   for (BasicBlock *Successor : successors(BB)) {
 2155            I != E; ++I) {
 2168     for (BasicBlock *Successor : successors(BB))
 2193     for (BasicBlock *PadBB : CatchSwitch->handlers())
 2241     for (BasicBlock *Successor : successors(BB)) {
lib/Transforms/Utils/LoopRotationUtils.cpp
  182   for (auto &Phi : Header->phis()) {
  386   for (BasicBlock *SuccBB : successors(OrigHeader))
lib/Transforms/Utils/LoopSimplify.cpp
  615       for (auto *SuccBB : successors(ExitingBB)) {
lib/Transforms/Utils/LoopUnroll.cpp
  189   for (const PHINode &PN : Header->phis()) {
  638       for (BasicBlock *Succ : successors(*BB)) {
  641         for (PHINode &PHI : Succ->phis()) {
  725         for (BasicBlock *Succ : successors(BB)) {
  730           for (PHINode &Phi : Succ->phis())
lib/Transforms/Utils/LoopUnrollAndJam.cpp
   95   for (auto &Phi : Header->phis()) {
  392     for (PHINode &Phi : ForeBlocksFirst[It]->phis()) {
  413     for (PHINode &Phi : BB->phis()) {
  423     for (PHINode &Phi : BB->phis()) {
lib/Transforms/Utils/LoopUnrollPeel.cpp
  555     for (PHINode &PHI : Edge.second->phis()) {
lib/Transforms/Utils/LoopUnrollRuntime.cpp
   92   for (BasicBlock *Succ : successors(Latch)) {
   93     for (PHINode &PN : Succ->phis()) {
  206   for (PHINode &PN : NewExit->phis()) {
  249   for (BasicBlock *Succ : successors(Latch)) {
  253     for (PHINode &PN : Succ->phis()) {
lib/Transforms/Utils/LoopUtils.cpp
  104     for (auto *SuccBB : successors(BB)) {
  564   for (PHINode &P : ExitBlock->phis()) {
lib/Transforms/Utils/LowerSwitch.cpp
  403   for (auto Case : SI->cases()) {
lib/Transforms/Utils/NameAnonGlobals.cpp
   75   for (auto &GO : M.global_objects())
lib/Transforms/Utils/PredicateInfo.cpp
  475   for (auto C : SI->cases()) {
  757   for (auto &F : CreatedDeclarations)
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  993   for (; I != E; ++I)
lib/Transforms/Utils/SSAUpdater.cpp
  154     for (PHINode &SomePHI : BB->phis()) {
lib/Transforms/Utils/SimplifyCFG.cpp
  242   for (BasicBlock *Succ : successors(SI2BB))
  285   for (BasicBlock *Succ : successors(SI2BB))
  304   for (PHINode &PN : Succ->phis())
  730     for (auto Case : SI->cases())
  878     for (SwitchInst::CaseIt i = SI->case_end(), e = SI->case_begin(); i != e;) {
  916   for (BasicBlock *Succ : successors(TIBB))
 1220   for (BasicBlock *Succ : successors(BB1)) {
 1221     for (const PHINode &PN : Succ->phis()) {
 1355   for (BasicBlock *Succ : successors(BB1)) {
 1356     for (PHINode &PN : Succ->phis()) {
 1396   for (BasicBlock *Succ : successors(BB1)) {
 1397     for (PHINode &PN : Succ->phis()) {
 1419   for (BasicBlock *Succ : successors(BB1))
 2044   for (PHINode &PN : EndBB->phis()) {
 2116   for (PHINode &PN : EndBB->phis()) {
 2152   for (Instruction &I : BB->instructionsWithoutDebug()) {
 2594                I != E;) {
 3001     for (auto &I : BB->instructionsWithoutDebug()) {
 3415   for (PHINode &PN : CommonDest->phis()) {
 3470   for (BasicBlock *Succ : successors(OldTerm)) {
 3632   if (SI->findCaseValue(Cst) != SI->case_default()) {
 4246       for (auto i = SU->case_begin(), e = SU->case_end(); i != e;) {
 4270            I != E; ++I) {
 4349   for (auto Case : SI->cases()) {
 4470   for (auto &Case : SI->cases()) {
 4502     assert(CaseI != SI->case_default() &&
 4530   for (PHINode &PHI : Succ->phis()) {
 4554   for (auto &Case : SI->cases()) {
 4569     for (PHINode &Phi : CaseDest->phis()) {
 4689   for (Instruction &I :CaseDest->instructionsWithoutDebug()) {
 4727   for (PHINode &PHI : (*CommonDest)->phis()) {
 4773   for (auto &I : SI->cases()) {
 5331   for (SwitchInst::CaseIt E = SI->case_end(); CI != E; ++CI) {
 5567   for (auto &C : SI->cases())
 5624   for (auto Case : SI->cases()) {
 6018   for (PHINode &PHI : BB->phis())
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  360   for (PHINode &Phi : BB->phis()) {
lib/Transforms/Vectorize/LoopVectorize.cpp
 3464   for (PHINode &Phi : OrigLoop->getHeader()->phis()) {
 3634   for (PHINode &LCSSAPhi : LoopExitBlock->phis()) {
 3821   for (PHINode &LCSSAPhi : LoopExitBlock->phis()) {
 3844   for (PHINode &LCSSAPhi : LoopExitBlock->phis()) {
 4749     for (auto OV : I->operand_values()) {
 5077     for (Instruction &I : BB->instructionsWithoutDebug()) {
 5336     for (Instruction &I : BB->instructionsWithoutDebug()) {
 5658     for (Instruction &I : BB->instructionsWithoutDebug()) {
 7128     for (Instruction &I : BB->instructionsWithoutDebug()) {
lib/Transforms/Vectorize/SLPVectorizer.cpp
 6798       for (auto *Op : Inst->operand_values())
 6994         for (auto *V : it->operand_values()) {
tools/bugpoint/CrashDebugger.cpp
  222   for (Value *V : OldUsedVal->operand_values()) {
  408     for (BasicBlock *Successor : successors(&*BB))
  468         for (BasicBlock *Succ : successors(&BB))
tools/clang/include/clang/AST/ASTNodeTraverser.h
  453     for (const auto *Child : D->specializations())
  623     for (const auto &Assoc : E->associations()) {
tools/clang/include/clang/AST/JSONNodeDumper.h
  401     for (const auto *Child : TD->specializations())
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1659   for (auto *SD : D->specializations()) {
 1690   for (auto *SD : D->specializations()) {
 1715   for (auto *FD : D->specializations()) {
 2354   for (const GenericSelectionExpr::Association &Assoc : S->associations()) {
tools/clang/include/clang/AST/StmtOpenMP.h
  208     if (Clauses.begin() != Clauses.end()) {
  221     return Clauses.begin() != Clauses.end();
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 3925   for (const Expr *Arg : Node.arguments()) {
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  637   for (IteratorT I = Start; I != End; ++I) {
tools/clang/include/clang/Basic/OpenCLOptions.h
   36     return OptMap.find(Ext) != OptMap.end();
  107     for (auto &I:Opts.OptMap)
  119          E = OptMap.end(); I != E; ++I)
  125          E = OptMap.end(); I != E; ++I)
  131          I != E; ++I)
tools/clang/include/clang/Lex/HeaderSearch.h
  317     if (Iter != IncludeAliases->end())
tools/clang/include/clang/Sema/DeclSpec.h
 2435     for (const ParsedAttr &AL : Attrs)
tools/clang/include/clang/Sema/Lookup.h
  640       return I != Results.end();
  644       assert(I != Results.end() && "next() called on empty filter");
  713     for (iterator I = begin(), E = end(); I != E; ++I)
tools/clang/include/clang/Serialization/ASTReader.h
 1771     for (const auto &M : ModuleMgr)
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
   78     for (const auto &range : ranges)
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
  204     for (auto I = CZ.begin(), E = CZ.end(); I != E; ++I) {
  225          I != Constraints.end(); ++I) {
  231       if (std::next(I) != Constraints.end())
  313     if (I != IE) {
  317       while (I != IE) {
tools/clang/include/clang/Tooling/DiagnosticsYaml.h
   35     for (auto &Replacements : M.Fix) {
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  163         != WhiteListFilenames.end();
tools/clang/lib/AST/ASTContext.cpp
 7719   for (UnresolvedSetIterator I = Begin; I != End; ++I) {
10105   for (auto *CurDecl :
tools/clang/lib/AST/ASTDumper.cpp
   53              RI != RE; ++RI) {
  132   for (const auto *Child : D->specializations())
tools/clang/lib/AST/ASTImporter.cpp
  617       for (; Ibegin != Iend; ++Ibegin, ++Obegin) {
 2741         for (NamedDecl *Found : D2CXX->noload_lookup(Name)) {
 7395   for (auto *D : E->decls())
 7446   for (Decl *D : E->decls())
tools/clang/lib/AST/CXXInheritance.cpp
  530     for (const NamedDecl *ND : DirectResult) {
  546   for (const NamedDecl *ND : Paths.front().Decls) {
tools/clang/lib/AST/DeclCXX.cpp
   67   for (ASTUnresolvedSet::iterator I = Impl.begin(); I != Impl.end(); ++I)
 1396   for (auto *D : R)
 1532   if (ConvI != ConvE) {
 1536     for (CXXRecordDecl::conversion_iterator I = ConvI; I != ConvE; ++I) {
 1599   for (; ConvI != ConvE; ++ConvI)
 1614          I != E; ++I) {
 1902        I != E; ++I)
 2007   for (auto *ND : RD->lookup(getDeclName())) {
 2207   for (const auto *D : R) {
tools/clang/lib/AST/DeclObjC.cpp
   82        Ivar != IvarEnd; ++Ivar) {
  110        Meth != MethEnd; ++Meth) {
  128        Meth != MethEnd; ++Meth) {
  199   for (DeclContext::lookup_iterator I = R.begin(), E = R.end(); I != E;
tools/clang/lib/AST/DeclPrinter.cpp
 1165     for (auto *I : D->specializations())
 1180     for (auto *I : D->specializations())
tools/clang/lib/AST/DeclTemplate.cpp
  457   for (ClassTemplatePartialSpecializationDecl &P : PartialSpecs)
  464   for (ClassTemplatePartialSpecializationDecl &P :
  477   for (ClassTemplatePartialSpecializationDecl &P : getPartialSpecializations()) {
 1073   for (VarTemplatePartialSpecializationDecl &P : PartialSpecs)
 1081   for (VarTemplatePartialSpecializationDecl &P : getPartialSpecializations()) {
tools/clang/lib/AST/ExprCXX.cpp
  474     for (UnresolvedSetImpl::const_iterator I = Begin; I != End; ++I) {
 1492   } while (++begin != end);
tools/clang/lib/AST/ExternalASTMerger.cpp
  456   for (auto *Spec : D->specializations()) {
  499                       for (NamedDecl *FromD : Result) {
tools/clang/lib/AST/ItaniumMangle.cpp
 3780     for (const Expr *Arg : CE->arguments())
 3785     for (const Expr *Arg : CE->arguments())
 3796            E = New->placement_arg_end(); I != E; ++I)
 3810              I != E; ++I)
 3924     for (auto *E : CE->arguments())
 3951       for (auto *E : CE->arguments())
tools/clang/lib/AST/JSONNodeDumper.cpp
 1253     for (const NamedDecl *D : ULE->decls())
tools/clang/lib/AST/QualTypeNames.cpp
  286         if (ClassTempl->spec_begin() != ClassTempl->spec_end()) {
tools/clang/lib/AST/StmtPrinter.cpp
 1301   for (const GenericSelectionExpr::Association &Assoc : Node->associations()) {
 1879        Arg != ArgEnd; ++Arg) {
 1882     if (Arg != Node->arg_begin())
tools/clang/lib/AST/StmtProfile.cpp
  325   for (auto *L : S->labels())
 1294   for (const GenericSelectionExpr::ConstAssociation &Assoc :
tools/clang/lib/AST/TextNodeDumper.cpp
  742   for (; I != E; ++I)
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp
  522   for (const auto &Entry : *NamedValues) {
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  591   for (const auto &M : RegistryData->constructors()) {
tools/clang/lib/Analysis/BodyFarm.cpp
  236   for (NamedDecl *FoundDecl : Decls)
tools/clang/lib/Analysis/CFG.cpp
 1568       for (auto *L : G->labels()) {
 4513        E = NE->placement_arg_end(); I != E; ++I)
tools/clang/lib/Analysis/CallGraph.cpp
   84       for (FunctionDecl *FD : FTD->specializations())
tools/clang/lib/Analysis/LiveVariables.cpp
  134     for (typename SET::iterator it = B.begin(), ei = B.end(); it != ei; ++it) {
  645           se = vals.liveDecls.end(); si != se; ++si) {
  674     for (auto S : blocksEndToLiveness[I].liveStmts) {
tools/clang/lib/Analysis/RetainSummaryManager.cpp
  591        I != E; ++I) {
tools/clang/lib/Analysis/ThreadSafety.cpp
  501     for (Context::iterator I = C.begin(), E = C.end(); I != E; ++I) {
  653   for (const auto &P : C1) {
  669   for (const auto &P : C)
  678   for (const auto &P : C1) {
 2024   for (auto Arg = ArgBegin; Param != Params.end() && Arg != ArgEnd;
tools/clang/lib/Analysis/ThreadSafetyCommon.cpp
  394   for (const auto *Arg : CE->arguments()) {
tools/clang/lib/Analysis/UninitializedValues.cpp
  460   for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses()))
  481        I != E; ++I) {
  719   for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses())) {
tools/clang/lib/Basic/FileManager.cpp
  535        FE != FEEnd; ++FE)
tools/clang/lib/Basic/IdentifierTable.cpp
  330        I = HashTable.begin(), E = HashTable.end(); I != E; ++I) {
tools/clang/lib/Basic/Module.cpp
  326   if (Pos != SubModuleIndex.end())
tools/clang/lib/Basic/Targets.cpp
  656   for (const auto &F : Features)
tools/clang/lib/Basic/Targets/X86.cpp
  446   if (I != Features.end() && I->getValue() &&
  452   if (I != Features.end() && I->getValue() &&
  459   if (I != Features.end() && I->getValue() &&
tools/clang/lib/CodeGen/BackendUtil.cpp
 1400   for (auto &I : ImportList) {
tools/clang/lib/CodeGen/CGBlocks.cpp
 2960     for (const auto &Result : DC->lookup(&II))
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3113     for (const Expr *Arg : E->arguments()) {
tools/clang/lib/CodeGen/CGCUDANV.cpp
  281   for (const auto &Result : DC->lookup(&cudaLaunchKernelII)) {
tools/clang/lib/CodeGen/CGCoroutine.cpp
  734   for (const Expr *Arg : E->arguments())
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  457     for (; CurDirIt != CurDirE && *CurDirIt == *FileIt; ++CurDirIt, ++FileIt)
  465       for (; FileIt != FileE; ++FileIt)
tools/clang/lib/CodeGen/CGExpr.cpp
 2887       while (I != E && --PathComponentsToKeep)
 2894       while (I != E && PathComponentsToStrip--)
 2897       if (I != E)
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1322   for (auto *Decl : Ctx.getTranslationUnitDecl()->lookup(Name))
tools/clang/lib/CodeGen/CGLoopInfo.cpp
  788     for (BasicBlock *Succ : successors(I))
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  974     if (old != ObjCStrings.end())
 1228         for (const auto &Result : DC->lookup(&II))
 2306       for (const auto &Result : DC->lookup(&II))
 2458   if (old != ObjCStrings.end())
 3161        iter != endIter ; iter++) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 6359   for (const auto &Result : DC->lookup(&II))
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1316   for (const auto &Data : EmittedNonTargetVariables) {
 3952       for (const auto &P : F.second)
 4012   for (const auto &E : OffloadEntriesDeviceGlobalVar)
 6732         for (const auto *C : Dir->getClausesOfKind<OMPIfClause>()) {
 6923       for (const auto *C : D.getClausesOfKind<OMPIfClause>()) {
 7862     for (const auto *C : Dir.getClausesOfKind<OMPFirstprivateClause>())
 7867     for (const auto *C : Dir.getClausesOfKind<OMPIsDevicePtrClause>())
 7868       for (auto L : C->component_lists())
 7940     for (const auto *C : CurExecDir->getClausesOfKind<OMPMapClause>())
 7941       for (const auto &L : C->component_lists()) {
 7945     for (const auto *C : CurExecDir->getClausesOfKind<OMPToClause>())
 7946       for (const auto &L : C->component_lists()) {
 7950     for (const auto *C : CurExecDir->getClausesOfKind<OMPFromClause>())
 7951       for (const auto &L : C->component_lists()) {
 7965     for (const auto *C :
 7967       for (const auto &L : C->component_lists()) {
 8120       for (const auto &L : MC->component_lists()) {
 8288     for (const auto *C : CurExecDir->getClausesOfKind<OMPMapClause>()) {
 8289       for (const auto &L : C->decl_component_lists(VD)) {
 8441     for (const auto *C : CurExecDir->getClausesOfKind<OMPMapClause>()) {
 8442       for (const auto &L : C->component_lists()) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  514     for (const Expr *Arg : E->arguments()) {
 2015   for (const auto *C : Dir->getClausesOfKind<OMPLastprivateClause>()) {
 2027   for (const auto *C : D.getClausesOfKind<OMPReductionClause>()) {
 4937   for (const auto &Feature : Features) {
tools/clang/lib/CodeGen/CGStmt.cpp
 2221       for (auto *E : GS->labels()) {
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  131     for (const auto *C : S.getClausesOfKind<OMPPrivateClause>()) {
  746   for (const auto *C : D.getClausesOfKind<OMPLastprivateClause>()) {
  758   for (const auto *C : D.getClausesOfKind<OMPFirstprivateClause>()) {
  880   for (const auto *C : D.getClausesOfKind<OMPPrivateClause>()) {
  909   for (const auto *C : D.getClausesOfKind<OMPCopyinClause>()) {
  983   for (const auto *C : D.getClausesOfKind<OMPLastprivateClause>()) {
 1061   for (const auto *C : D.getClausesOfKind<OMPLastprivateClause>()) {
 1111   for (const auto *C : D.getClausesOfKind<OMPReductionClause>()) {
 1214   for (const auto *C : D.getClausesOfKind<OMPReductionClause>()) {
 1240   for (const auto *C : D.getClausesOfKind<OMPReductionClause>()) {
 1291   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 1352     for (const auto *C : D.getClausesOfKind<OMPLinearClause>()) {
 1447   for (const auto *C : D.getClausesOfKind<OMPLinearClause>()) {
 1486   for (const auto *C : D.getClausesOfKind<OMPLinearClause>()) {
 1521   for (const auto *Clause : D.getClausesOfKind<OMPAlignedClause>()) {
 1583   for (const auto *C : S.getClausesOfKind<OMPOrderedClause>()) {
 1652   for (const auto *C : D.getClausesOfKind<OMPLinearClause>()) {
 2780   for (const auto *C : S.getClausesOfKind<OMPCopyprivateClause>()) {
 2910   for (const auto *C : S.getClausesOfKind<OMPPrivateClause>()) {
 2923   for (const auto *C : S.getClausesOfKind<OMPFirstprivateClause>()) {
 2939   for (const auto *C : S.getClausesOfKind<OMPLastprivateClause>()) {
 2957   for (const auto *C : S.getClausesOfKind<OMPReductionClause>()) {
 2977   for (const auto *C : S.getClausesOfKind<OMPDependClause>())
 3074     for (const auto *C : S.getClausesOfKind<OMPInReductionClause>()) {
 3176   for (const auto *C : S.getClausesOfKind<OMPFirstprivateClause>()) {
 3217   for (const auto *C : S.getClausesOfKind<OMPDependClause>())
 3285   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 3330       for (const auto *C : S.getClausesOfKind<OMPTaskReductionClause>()) {
 3617     for (const auto *DC : S.getClausesOfKind<OMPDependClause>())
 4135   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 4608   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 4738         for (const auto *C : S.getClausesOfKind<OMPUseDevicePtrClause>())
 4971   for (const auto *C : S.getClausesOfKind<OMPIfClause>()) {
 5195         for (const auto *C : D.getClausesOfKind<OMPOrderedClause>()) {
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 2229     for (const auto &F : CalleeFeatureMap) {
tools/clang/lib/CodeGen/CodeGenFunction.h
 4265            I != E; ++I, ++Arg) {
 4266         assert(Arg != ArgRange.end() && "Running over edge of argument list!");
 4288     for (auto *A : llvm::make_range(Arg, ArgRange.end()))
tools/clang/lib/CodeGen/CodeGenModule.cpp
  230   for (auto &I : Replacements) {
 1063       if (ExistingRecord != std::end(Manglings))
 1673     for (const llvm::StringMap<bool>::value_type &Entry : FeatureMap)
 3302   for (const auto &Result : DC->lookup(&CII))
 3317     for (const auto &Result : DC->lookup(&NS)) {
 3320         for (const auto &Result : LSD->lookup(&NS))
 3325         for (const auto &Result : ND->lookup(&CXXII))
 4679         for (const auto &Result : DC->lookup(&II))
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  169     for (const auto &C : zip(LE->captures(), LE->capture_inits()))
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  164   for (const auto &E : Index)
tools/clang/lib/Driver/Compilation.cpp
  229   for (const auto &Job : Jobs) {
tools/clang/lib/Driver/Driver.cpp
  681           if (Duplicate != FoundNormalizedTriples.end()) {
 1462   for (auto &Job : C.getJobs())
tools/clang/lib/Driver/Job.cpp
  437   for (const auto &Job : *this)
tools/clang/lib/Driver/Multilib.cpp
  255       if (SI != FlagSet.end())
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
  376       for (auto &F : HostFeatures)
tools/clang/lib/Driver/ToolChains/Arch/X86.cpp
  117         for (auto &F : HostFeatures)
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
 1477     assert(LastI != LastOpt.end());
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 1067   for (auto IT = BeginSDK; IT != EndSDK; ++IT) {
 1477   for (const auto &I : llvm::enumerate(llvm::makeArrayRef(EnvVars))) {
 1508   for (const auto &Target : llvm::enumerate(llvm::makeArrayRef(Targets))) {
tools/clang/lib/Format/BreakableToken.cpp
  562   if (ContentIndentingJavadocAnnotations.find(FirstWord) !=
tools/clang/lib/Frontend/ASTUnit.cpp
 2101           if (Pos != CachedCompletionTypes.end() && Pos->second == C->Type)
 2614     for (const auto *D : Reader->getModuleFileLevelDecls(Mod)) {
tools/clang/lib/Frontend/CompilerInstance.cpp
 2093         E = MMap.module_end(); I != E; ++I) {
tools/clang/lib/Frontend/FrontendAction.cpp
  161          it != ie; ++it) {
  187        it != ie; ++it) {
  590       for (serialization::ModuleFile &MF : MM)
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
  146     for (const auto *D : FTD.specializations())
  152     for (const auto *D : CTD.specializations())
tools/clang/lib/Frontend/LayoutOverrideSource.cpp
  194        L != LEnd; ++L) {
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  109   for (const auto &File : Files)
  472   for (const auto &F : FilesInPreamble) {
  474     if (OverridenFileBuffer != OverridenFileBuffers.end()) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 4641        E = Exp->arg_end(); I != E; ++I) {
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 3809        E = Exp->arg_end(); I != E; ++I) {
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  353       if (Deferred != DeferredDirectives.end()) {
  367     if (MarkerIt != Markers.end()) {
  379     for (auto &MarkerInfo : Markers) {
  389     for (auto &DeferredPair : DeferredDirectives) {
tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
   78          it != ie; ++it) {
  217        it != ie; ++it) {
tools/clang/lib/Index/IndexDecl.cpp
  205       for (const NamedDecl *ND : Pattern->lookup(D->getDeclName())) {
tools/clang/lib/Index/IndexingAction.cpp
  207   for (const Decl *D : Reader.getModuleFileLevelDecls(Mod)) {
tools/clang/lib/Index/IndexingContext.cpp
  222       for (const NamedDecl *BaseND : Pattern->lookup(ND->getDeclName())) {
  232         for (const NamedDecl *BaseECD : Pattern->lookup(ECD->getDeclName()))
tools/clang/lib/Lex/HeaderSearch.cpp
  671   while (I != E) {
 1679        M != MEnd; ++M) {
 1754       while (NI != NE && *NI == ".")
 1760       while (DI != DE && *DI == ".")
tools/clang/lib/Lex/ModuleMap.cpp
   60   if (PendingLinkAs != PendingLinkAsModule.end()) {
   61     for (auto &Name : PendingLinkAs->second) {
  322   for (auto &M : Modules)
  772   if (Known != Modules.end())
 1249        M != MEnd; ++M)
 1736   for (auto E = Map.module_begin(); E != Map.module_end(); ++E) {
tools/clang/lib/Lex/PPDirectives.cpp
 1628     } else if (RealPathComponentIter != RealPathComponentEnd) {
tools/clang/lib/Lex/Pragma.cpp
 1901        it != ie; ++it) {
tools/clang/lib/Parse/ParseDecl.cpp
 1688   for (const ParsedAttr &AL : Attrs) {
 1715   for (ParsedAttr &AL : DS.getAttributes()) {
 2660              I != IEnd; ++I)
 6343         for (ParsedAttr &attr : DS.getAttributes()) {
tools/clang/lib/Parse/ParseDeclCXX.cpp
 2348       for (const ParsedAttr &AL : DeclaratorInfo.getAttributes())
tools/clang/lib/Parse/ParseExprCXX.cpp
 1248       for (const ParsedAttr &A : Attr)
tools/clang/lib/Parse/Parser.cpp
 1175     for (const ParsedAttr &AL : D.getAttributes())
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
 1177       for (const auto &C : zip(LE->captures(), LE->capture_inits()))
tools/clang/lib/Sema/JumpDiagnostics.cpp
  352         for (auto *E : GS->labels())
tools/clang/lib/Sema/Sema.cpp
  588       for (const auto *Spec : Template->specializations())
  618       for (const auto *Spec : Template->specializations())
 1108        T != TEnd; ++T) {
 1145            E = UnusedFileScopedDecls.end(); I != E; ++I) {
 1955          DeclsEnd = Overloads->decls_end(); it != DeclsEnd; ++it) {
 2042        DeclsEnd = Overloads.end(); It != DeclsEnd; ++It) {
 2074          DeclsEnd = Overloads.end(); It != DeclsEnd; ++It) {
tools/clang/lib/Sema/SemaAccess.cpp
 1863   for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I) {
tools/clang/lib/Sema/SemaAttr.cpp
  495   if (Section != Context.SectionInfos.end()) {
  643   for (const auto &I : llvm::enumerate(Rules)) {
tools/clang/lib/Sema/SemaCUDA.cpp
   63   for (const ParsedAttr &AL : Attrs) {
  585   if (It != Previous.end()) {
  752   for (NamedDecl *OldND : Previous) {
tools/clang/lib/Sema/SemaChecking.cpp
  166   for (Expr *Arg : TheCall->arguments()) {
 7917     for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I) {
 9090       for (const auto *I : R) {
12947          I != E; ++I) {
13418         for (const auto *Arg : OCE->arguments())
tools/clang/lib/Sema/SemaCodeComplete.cpp
 1042   for (NamedDecl *Ctor : getConstructors(SemaRef.Context, Record)) {
 1962       if (it != Overrides.end()) {
 5218   for (NamedDecl *C : LookupConstructors(RD)) {
 5636     for (const NamedDecl *Ctor : Ctors) {
tools/clang/lib/Sema/SemaDecl.cpp
  211       for (NamedDecl *ND : BaseRD->lookup(&II)) {
  433          Res != ResEnd; ++Res) {
  773   for (LookupResult::iterator I = R.begin(), IEnd = R.end(); I != IEnd; ++I) {
  820          I != IEnd; ++I)
 4639       for (const ParsedAttr &AL : DS.getAttributes())
 7452            I != E; ++I) {
 7462            I != E; ++I) {
 7994          Func != FuncEnd; ++Func) {
 8050            I != E; ++I)
10028   for (NamedDecl *ND : Previous) {
10417     if (OtherUnmarkedIter != Previous.end()) {
10982       for (auto Arg: E->arguments())
16661                E = CXXRecord->conversion_end(); I != E; ++I)
tools/clang/lib/Sema/SemaDeclAttr.cpp
 1846       for (NamedDecl *ND : LR)
 7208   for (const ParsedAttr &AL : AttrList)
 7278   for (const ParsedAttr &AL : AttrList)
 7289   for (const ParsedAttr &AL : AttrList) {
 7303   for (const ParsedAttr &AL : A) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 1145     for (NamedDecl *D : MemberGet) {
 2566   for (const ParsedAttr &AL : Attributes) {
 3085   if (Itr != list.end())
 3106     for (const auto Field : Base->lookup(FieldName)) {
 3721         for (auto Arg : E->arguments())
 3746       for (auto Arg : E->arguments())
 6337     for (DeclContext::lookup_iterator I = R.begin(), E = R.end(); I != E;
 8279   for (DeclContext::lookup_iterator I = R.begin(), E = R.end(); I != E; ++I) {
 8373   for (const ParsedAttr &AL : AttrList) {
10094          I != E; ++I) {
10572         for (auto *Ctor : LookupConstructors(RD))
10595       for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I)
10641   for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I) {
10715       for (auto *D : Prev) {
10731   for (LookupResult::iterator I = Prev.begin(), E = Prev.end(); I != E; ++I) {
11405   for (auto *D : FD->getParent()->lookup(Name))
11555   for (NamedDecl *Ctor : Derived->lookup(Name))
12165            L != LEnd; ++L) {
13537       for (auto L : Lookup)
15912        I != E; ++I)
tools/clang/lib/Sema/SemaExpr.cpp
 1974         for (NamedDecl *D : R)
 2834   for (NamedDecl *D : R) {
13695     for (NamedDecl *D : ULE->decls()) {
tools/clang/lib/Sema/SemaExprCXX.cpp
  108   for (NamedDecl *ND : CurClass->lookup(&II)) {
 1567   for (auto I = R.begin(), E = R.end(); I != E; ++I) {
 2229        Alloc != AllocEnd; ++Alloc) {
 2536          D != DEnd; ++D) {
 2775        Alloc != AllocEnd; ++Alloc) {
 2949       for (NamedDecl *D : Found)
 3462        FnOvl != FnOvlEnd; ++FnOvl) {
 4483          Op != OpEnd; ++Op) {
 4817       for (const auto *ND : Self.LookupConstructors(RD)) {
 4858       for (const auto *ND : Self.LookupConstructors(RD)) {
tools/clang/lib/Sema/SemaExprMember.cpp
  104   for (NamedDecl *D : R) {
  422        I != E; ++I) {
  562   for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I) {
tools/clang/lib/Sema/SemaExprObjC.cpp
 4361     for (const GenericSelectionExpr::Association &assoc : gse->associations()) {
tools/clang/lib/Sema/SemaInit.cpp
 2498       for (NamedDecl *ND : Lookup) {
 3875   for (NamedDecl *D : Ctors) {
 3942       for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 4504     for (NamedDecl *D : S.LookupConstructors(T1RecordDecl)) {
 4536     for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 5154       for (NamedDecl *D : S.LookupConstructors(DestRecordDecl)) {
 5191       for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 9748     for (auto I = Guides.begin(), E = Guides.end(); I != E; ++I) {
 9823       for (NamedDecl *D : Guides) {
tools/clang/lib/Sema/SemaLookup.cpp
  158         for (auto UD : DC->using_directives()) {
  638          DE = I->Decls.end(); DI != DE; ++DI)
  663   for (iterator I = begin(), E = end(); I != E; ++I) {
  672   for (NamedDecl *D : *this)
 1009   for (NamedDecl *D : DR) {
 1044          UEnd = Record->conversion_end(); U != UEnd; ++U) {
 1802   for (auto *D : R) {
 2065   for (auto *I : StartDC->using_directives()) {
 2113     for (auto I : ND->using_directives()) {
 2150     for(; First != Last; ++First) {
 2368         while (FirstD != FirstPath->Decls.end() &&
 2369                CurrentD != Path->Decls.end()) {
 2406   for (auto *D : Paths.front().Decls) {
 2517     for (auto I = Result.begin(), E = Result.end(); I != E; ++I) {
 2581     for (auto *D : Result)
 2587     for (auto *D : Result)
 2604     for (auto *D : Result)
 3010     for (const NamedDecl *D : OE->decls()) {
 3467     for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I)
 3558     for (auto *D : R) {
 3784       for (const auto &Ident : Idents) {
 3810       for (auto *D : R) {
 3821       for (auto I : Ctx->using_directives()) {
 4381     for (auto *TRD : Result)
 4398     for (const auto &NSI : Namespaces) {
 4449              TRD != TRDEnd; ++TRD) {
 4901     for (const auto &I : Context.Idents)
tools/clang/lib/Sema/SemaObjCProperty.cpp
  861   for (const auto &Prop : llvm::enumerate(Properties)) {
 1025   for (auto Found : OrigClass->lookup(Prop->getDeclName())) {
tools/clang/lib/Sema/SemaOpenMP.cpp
  411     if (I != Criticals.end())
 4142   for (OMPClause *Cl : PrivateRange) {
 4197   for (OMPClause *C : AllocateRange) {
 7587   if (CollapseClauses.begin() != CollapseClauses.end())
 7595   if (OrderedClauses.begin() != OrderedClauses.end())
12719     for (auto *D : Set) {
12779     for (auto *D : R) {
12827     for (NamedDecl *D : ULE->decls()) {
15146     for (NamedDecl *D : ULE->decls()) {
tools/clang/lib/Sema/SemaOverload.cpp
  997          I != E; ++I) {
 3262   for (auto *D : S.LookupConstructors(To)) {
 3385       for (auto *D : S.LookupConstructors(ToRecordDecl)) {
 3435       for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 4476   for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 5914   for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
 6569   for (UnresolvedSetIterator F = Fns.begin(), E = Fns.end(); F != E; ++F) {
 7384   for (UnresolvedSetIterator F = Fns.begin(), E = Fns.end(); F != E; ++F) {
 7463          Oper != OperEnd;
 7802     for (NamedDecl *D : ClassDecl->getVisibleConversionFunctions()) {
 7874     for (NamedDecl *D : ClassDecl->getVisibleConversionFunctions()) {
 9158   for (ADLResult::iterator I = Fns.begin(), E = Fns.end(); I != E; ++I) {
 9210   for (auto Pair : zip_longest(Cand1Attrs, Cand2Attrs)) {
 9878        I != IEnd; ++I) {
11531          I != E; ++I) {
11582     if (Result != MatchesCopy.end()) {
11623            I != IEnd; ++I)
11756   for (auto I = Ovl->decls_begin(), E = Ovl->decls_end(); I != E; ++I) {
11840          E = ovl->decls_end(); I != E; ++I) {
12042            E = ULE->decls_end(); I != E; ++I) {
12060          E = ULE->decls_end(); I != E; ++I)
12119       for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I)
12321     if (ULE->decls_begin() != ULE->decls_end() &&
13403            E = UnresExpr->decls_end(); I != E; ++I) {
13622        Oper != OperEnd; ++Oper) {
13647   for (auto I = Conversions.begin(), E = Conversions.end(); I != E; ++I) {
13898        Oper != OperEnd; ++Oper) {
tools/clang/lib/Sema/SemaPseudoObject.cpp
  148         for (const GenericSelectionExpr::Association &assoc :
 1090   for (NamedDecl *D : cast<CXXRecordDecl>(RecordTy->getDecl())
tools/clang/lib/Sema/SemaStmt.cpp
 2275           for (NamedDecl *D : OldFound) {
tools/clang/lib/Sema/SemaStmtAttr.cpp
  351   for (const ParsedAttr &AL : AttrList) {
tools/clang/lib/Sema/SemaTemplate.cpp
  117   for (LookupResult::iterator I = R.begin(), IEnd = R.end(); I != IEnd; ++I) {
  186     for (NamedDecl *FoundD : R) {
 1430   if (Previous.begin() != Previous.end())
 1493         if (Previous.begin() != Previous.end())
 2058   for (auto *D : Existing)
 2078   for (NamedDecl *D : LookupConstructors(Transform.Primary)) {
 8407          I != E; ++I) {
 8490     for (auto *OldND : Previous) {
 8641            I != E; ++I) {
 8996     for (const ParsedAttr &AL : Attr) {
 9020     for (const ParsedAttr &AL : Attr) {
 9059     for (const ParsedAttr &AL : Attr) {
 9462              P != PEnd; ++P)
 9582        P != PEnd; ++P) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 3520          E = Ovl->decls_end(); I != E; ++I) {
 4989   for (UnresolvedSetIterator I = SpecBegin + 1; I != SpecEnd; ++I) {
 5004   for (UnresolvedSetIterator I = SpecBegin; I != SpecEnd; ++I) {
 5007     if (I != Best &&
 5026     for (UnresolvedSetIterator I = SpecBegin; I != SpecEnd; ++I) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 5260   for (; first != last; ++first)
tools/clang/lib/Sema/SemaType.cpp
  232       for (ParsedAttr &AL : spec.getAttributes())
  684   for (ParsedAttr &attr : AttrsCopy) {
  809   for (ParsedAttr &AL : declarator.getMutableDeclSpec().getAttributes()) {
 1248   for (const ParsedAttr &AL : Attrs)
 2768     for (const ParsedAttr &AL : chunk.getAttrs())
 3449   for (const ParsedAttr &AL : AttrList) {
 3512     for (const ParsedAttr &AL : D.getDeclSpec().getAttributes()) {
 3565   for (const ParsedAttr &AL : attrs) {
 4712           for (const ParsedAttr &AL : ReturnTypeChunk.getAttrs()) {
 4720           for (const ParsedAttr &AL : D.getDeclSpec().getAttributes()) {
 4938             for (ParsedAttr &attr : FTI.MethodQualifiers->getAttributes()) {
 5748   for (const ParsedAttr &AL : Attrs) {
 7525   for (ParsedAttr &attr : AttrsCopy) {
tools/clang/lib/Sema/TreeTransform.h
 8794       for (auto *D : ULE->decls()) {
 8841       for (auto *D : ULE->decls()) {
 8886       for (auto *D : ULE->decls()) {
 9047       for (auto *D : ULE->decls()) {
 9371   for (const GenericSelectionExpr::Association &Assoc : E->associations()) {
10851   for (auto *OldD : Old->decls()) {
tools/clang/lib/Serialization/ASTReader.cpp
 1402   while (fileDirI != fileDirE && origDirI != origDirE &&
 1402   while (fileDirI != fileDirE && origDirI != origDirE &&
 1407   for (; origDirI != origDirE; ++origDirI)
 1941   for (ModuleFile &I : llvm::reverse(ModuleMgr)) {
 4301          Id != IdEnd; ++Id)
 6162   for (ModuleFile &F : ModuleMgr) {
 8262   for (ModuleFile &M : ModuleMgr)
 8269   for (ModuleFile &I : ModuleMgr) {
12242     if (Known != ModuleFileExtensions.end()) {
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 2913   for (auto Pair : zip_longest(AEnableIfAttrs, BEnableIfAttrs)) {
 3355     for (DeclContext::lookup_iterator I = R.begin(), E = R.end(); I != E; ++I) {
tools/clang/lib/Serialization/ASTWriter.cpp
 1565     for (ModuleFile &M : Mgr) {
 2542   for (auto &Id : PP.getIdentifierTable())
 2729        E != EEnd;
 3787     for (const auto &ID : PP.getIdentifierTable())
 3888     for (NamedDecl *D : Decls) {
 4008   for (auto *D : Result.getLookupResult())
 4240       for (NamedDecl *ND : Result)
 4320   for (const auto &I:Opts.OptMap) {
 4734        I != E; ++I) {
 4968     for (const auto &ID : PP.getIdentifierTable()) {
 5035       for (ModuleFile &M : Chain->ModuleMgr) {
 6109          I = Set.begin(), E = Set.end(); I != E; ++I) {
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  226       for (auto &Entry : Common->Specializations)
  228       for (auto &Entry : getPartialSpecializations(Common))
tools/clang/lib/Serialization/ASTWriterStmt.cpp
  309   for (auto *E : S->labels()) Record.AddStmt(E);
  686        Arg != ArgEnd; ++Arg)
 1231        Arg != ArgEnd; ++Arg)
 1584        I != N; ++I)
 1717        OvI != OvE; ++OvI) {
tools/clang/lib/Serialization/GlobalModuleIndex.cpp
  820          I != IEnd; ++I) {
tools/clang/lib/Serialization/InMemoryModuleCache.cpp
   61   assert(I != PCMs.end() && "PCM to remove is unknown...");
   75   assert(I != PCMs.end() && "PCM to finalize is unknown...");
tools/clang/lib/Serialization/ModuleManager.cpp
  242   for (auto I = begin(); I != First; ++I) {
  250   for (auto I = First; I != Last; ++I) {
  258   for (ModuleIterator victim = First; victim != Last; ++victim) {
  309   for (ModuleFile &M : *this)
  345     for (ModuleFile &M : llvm::reverse(*this)) {
tools/clang/lib/Serialization/MultiOnDiskHashTable.h
  121     for (auto *T : tables())
  152     for (auto *ODT : tables()) {
  248     for (auto *ODT : tables()) {
  273     for (auto *ODT : tables()) {
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
 1126                                      E = Tracked.end(); I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 2242   for (auto I : CE->arguments()) {
 2341       E = Entries.end(); I != E; ++I) {
 2370       I != E; ++I) {
 2388       I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
  512   for (auto *IvarSymbol : *OldUnreleased) {
  820   for (DeclContext::lookup_iterator I = R.begin(), E = R.end(); I != E; ++I) {
  868   for (auto &Sym : *Unreleased) {
tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
  274     for (Table::const_iterator I = Config.begin(), E = Config.end(); I != E;
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  122        I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  266   for (auto I = Syms.begin(), E = Syms.end(); I != E; ++I) {
  277   for (auto I : State->get<DenotedSymbols>()) {
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  437   if (It != CustomPropagations.end())
  505   for (unsigned ArgNum : TaintArgs) {
tools/clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
   65       for (const auto Entry : Map) {
  139     for (const auto Symbol : *PS) {
  239   for (const auto Entry : RPM) {
  247       for (const auto Symbol : Entry.second) {
  269   for (const auto Entry : Map) {
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
  782   for (const auto Reg : RegionMap) {
  790   for (const auto Sym : SymbolMap) {
  798   for (const auto Cont : ContMap) {
  819   for (const auto Reg : RegionMap) {
  831   for (const auto Sym : SymbolMap) {
  838   for (const auto Cont : ContMap) {
 2070   for (const auto Reg : RegionMap) {
 2076   for (const auto Sym : SymbolMap) {
 2086   for (const auto Binding: Env) {
 2143   for (const auto Reg : RegionMap) {
 2156   for (const auto Sym : SymbolMap) {
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
 1286         for (const Expr *Arg : CE->arguments()) {
tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp
  111   for (const auto &Req : ReqMap) {
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
  533     for (auto I = AMap.begin(), E = AMap.end(); I != E; ++I) {
  550   for (auto I = AMap.begin(), E = AMap.end(); I != E; ++I) {
  590   for (auto I : State->get<AllocatedData>()) {
  659     for (auto I = AMap.begin(), E = AMap.end(); I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
 2626   for (RegionStateTy::iterator I = RS.begin(), E = RS.end(); I != E; ++I) {
 2646   for (ReallocPairsTy::iterator I = RP.begin(), E = RP.end(); I != E; ++I) {
 2655   for (FreeReturnValueTy::iterator I = FR.begin(), E = FR.end(); I != E; ++I) {
 2827   for (const Expr *Arg : CE->arguments())
 2885   for (RegionStateTy::iterator I = RS.begin(), E = RS.end(); I != E; ++I) {
 2896   for (ReallocPairsTy::iterator I = RP.begin(), E = RP.end(); I != E; ++I) {
 3148   for (const ReallocPairsTy::value_type &Pair : prevMap) {
 3363     for (RegionStateTy::iterator I = RS.begin(), E = RS.end(); I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
  191            ae = i->AllocCall->arg_end(); ai != ae; ++ai) {
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
  247   for (auto &E : State->get<TrackedRegionMap>()) {
  256   for (auto &E : State->get<TrackedRegionMap>()) {
  688   for (TrackedRegionMapTy::value_type E : TrackedRegions) {
  743     for (auto I: RS) {
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  455        I != E; ++I) {
 1185   for (NullabilityMapTy::iterator I = B.begin(), E = B.end(); I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
  181   for (auto I : Map) {
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
  364        I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
  188     for (auto I : LM) {
  471        I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
  531   for (auto &P : Summ.getArgEffects())
 1168   for (auto &I : B) {
 1386   for (auto &I : B) {
 1403   for (auto &I : B)
 1417   for (const auto &I: state->get<RefBindings>()) {
 1465   for (auto &I : B) {
 1493   if (I != Options.Config.end())
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  562       for (auto AI=CE->arg_begin(), AE=CE->arg_end(); AI!=AE; ++AI, ++i) {
tools/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
  180                              E = TrackedStreams.end(); I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
  394   for (const auto &I: Map) {
tools/clang/lib/StaticAnalyzer/Checkers/Taint.cpp
   36   for (const auto &I : TM)
  180         for (auto I : *Regs) {
tools/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp
  192        I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/TrustNonnullChecker.cpp
  149     for (const std::pair<SymbolRef, SymbolRef> &P : State->get<MapName>())
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
  219   for (const MemRegion *R : State->get<AnalyzedRegions>()) {
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
  208   for (auto Reg : TrackedVALists) {
tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
  128     if (I != E)
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  296                                     E = CE->arg_end(); I != E; ++I, ++ArgIndex){
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
 2830   for (const auto &I : Constraints) {
 2837     while ((++RangeIt) != I.second.end()) {
 2864   for (auto const &C : NewCs) {
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
  142        I != E && Idx < NumOfArgs; ++I, ++Idx) {
  280        I != E; ++I, ++Idx) {
tools/clang/lib/StaticAnalyzer/Core/DynamicType.cpp
   72   for (const DynamicCastInfo &Cast : *Lookup)
  124   for (const auto &Elem : Map)
  152   for (DynamicTypeMapTy::iterator I = Map.begin(); I != Map.end(); ++I) {
  166     if (std::next(I) != Map.end())
  188   for (DynamicCastMapTy::iterator I = Map.begin(); I != Map.end(); ++I) {
  198       for (CastSet::iterator SI = Set.begin(); SI != Set.end(); ++SI) {
  204         if (std::next(SI) != Set.end())
  213     if (std::next(I) != Map.end())
tools/clang/lib/StaticAnalyzer/Core/Environment.cpp
  187        I != E; ++I) {
  218     for (const auto &I : *this) {
  242     for (BindingsTy::iterator I = ExprBindings.begin(); I != ExprBindings.end();
  259     for (BindingsTy::iterator I = ExprBindings.begin(); I != ExprBindings.end();
  274       if (I != LastI)
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  521     for (auto I : State->get<ObjectsUnderConstruction>())
  566   for (const auto &I : State->get<ObjectsUnderConstruction>()) {
  579   for (const auto &I : State->get<ObjectsUnderConstruction>()) {
  719   for (auto I : CleanedState->get<ObjectsUnderConstruction>()) {
 2285       for (auto I : State->get<ObjectsUnderConstruction>())
 2976   for (const Expr *O : A->outputs()) {
tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
   38   for (/* i = begin(), e = end() */; i != e; ++i) {
  183   for (iterator i = Other.begin(), e = Other.end(); i != e; ++i) {
  185     for (iterator j = newPiece.begin(), ee = newPiece.end(); j != ee; ++j) {
  199   for (iterator i = begin(), e = end(); i != e; ++i) {
  228   for (iterator i = begin(), e = end(); i != e; ++i) {
  421   for (ConstraintRangeTy::iterator I = CR.begin(), E = CR.end(); I != E; ++I) {
  776        I != Constraints.end(); ++I) {
  782     if (std::next(I) != Constraints.end())
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
  234     for (iterator I = begin(); I != end(); ++I) {
  242       for (ClusterBindings::iterator CI = CB.begin(); CI != CB.end(); ++CI) {
  246         if (std::next(CI) != CB.end())
  253       if (std::next(I) != end())
  652     for (RegionBindingsRef::iterator I = B.begin(), E = B.end(); I != E; ++I) {
  655            CI != CE; ++CI) {
  750          RI != RE; ++RI){
  808        RI != RE; ++RI) {
  892        I != E; ++I) {
 1074     for (ClusterBindings::iterator I = C->begin(), E = C->end(); I != E; ++I)
 1218       for (ClusterBindings::iterator I = C->begin(), E = C->end(); I != E;
 2136   for (RegionBindingsRef::iterator RI = B.begin(), RE = B.end(); RI != RE; ++RI) {
 2139          CI != CE; ++CI) {
 2581   for (ClusterBindings::iterator I = C->begin(), E = C->end(); I != E; ++I) {
 2659   for (RegionBindingsRef::iterator I = B.begin(), E = B.end(); I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
   86   assert(Iter != End && "Expected there to be a non-root path component.");
  246   assert(Iter != RuleMapping.end() && "Rule ID is not in the array index map?");
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  105   if (PackageSize != PackageSizes.end())
  469   for (const auto &Config : AnOpts.Config) {
tools/clang/lib/Tooling/AllTUsExecution.cpp
  132             for (const auto &FileAndContent : OverlayFiles)
tools/clang/lib/Tooling/CompilationDatabase.cpp
   70        It != Ie; ++It) {
  309   for (const auto &Cmd : Jobs) {
tools/clang/lib/Tooling/Core/Lookup.cpp
  156         for (const NamedDecl *Res : LookupRes)
tools/clang/lib/Tooling/Execution.cpp
   68        I != E; ++I) {
tools/clang/lib/Tooling/FileMatchTrie.cpp
  117     if (MatchingChild != Children.end()) {
  152          It != E; ++It) {
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  312   if (It != ExistingIncludes.end())
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  333       for (int J = 0; J < DirectorySegmentsIndexed && Dir != DirEnd; ++J, ++Dir)
  386     for (int I = 0; I < DirectorySegmentsQueried && Dir != DirEnd; ++I, ++Dir) {
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp
  247   for (const auto &CommandRef : IndexByFile)
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
  154     for (const auto &Range : llvm::enumerate(Ranges)) {
tools/clang/lib/Tooling/Refactoring/Rename/SymbolOccurrences.cpp
   31   for (const auto &Loc : llvm::enumerate(Locations)) {
tools/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
  119     for (const auto *Specialization : TemplateDecl->specializations())
tools/clang/lib/Tooling/Tooling.cpp
  350   for (const auto &It : MappedFileContents) {
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  307     assert(CurBundleInfo != BundlesInfo.end() && "Invalid reader info!");
  312     assert(CurBundleInfo != BundlesInfo.end() && "Invalid reader info!");
  784     for (auto &E : Worklist) {
  804   for (auto &E : Worklist) {
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  559       for (const auto &Opt : MissingOptions)
tools/clang/tools/clang-refactor/TestSupport.cpp
   77   for (const auto &I : llvm::zip(LHS, RHS)) {
  177   for (auto &Group : llvm::enumerate(Results)) {
  181     for (auto &I : llvm::enumerate(Group.value())) {
tools/clang/tools/diagtool/DiagTool.cpp
   44        ei = getTools(tools)->end(); it != ei; ++it) {
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
   95     for (const auto &Arg : llvm::enumerate(Info.InvocationArguments)) {
  126     for (const auto &J : C->getJobs()) {
  147   for (const auto &File : llvm::enumerate(Report.TemporaryFiles)) {
tools/clang/tools/driver/driver.cpp
  471       for (const auto &J : C->getJobs())
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
  174         for (const auto &Fix : *ChoosenFix)
tools/clang/tools/extra/clang-doc/Generators.cpp
   19        I != E; ++I) {
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  249   while (FileI != FileE && DirI != DirE && *FileI == *DirI) {
  249   while (FileI != FileE && DirI != DirE && *FileI == *DirI) {
  256   while (DirI != DirE) {
  261   while (FileI != FileE) {
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  273   for (auto &Group : USRToBitcode) {
tools/clang/tools/extra/clang-include-fixer/SymbolIndexManager.cpp
   36        FileI != FileE; ++FileI) {
   40          HeaderI != HeaderE && *I == *HeaderI && I != FileE; ++I, ++HeaderI) {
   40          HeaderI != HeaderE && *I == *HeaderI && I != FileE; ++I, ++HeaderI) {
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/HeaderMapCollector.cpp
   28   if (Iter != HeaderMappingTable.end())
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  134         for (const auto &FileAndReplacements : *ChosenFix) {
  188       for (const auto &FileAndReplacements : FileReplacements) {
  251     for (const auto &FileAndReplacements : Fix) {
  319        I != E; ++I) {
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  646     for (const auto &FileAndReplaces : *ErrorAndFix.second) {
  656     for (const auto &FileAndReplace : *ErrorFixes[I].second) {
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
  114        I != E; ++I)
  248     if (Iter != CachedOptions.end())
tools/clang/tools/extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
   93     for (const auto *Arg : CallExpr->arguments()) {
tools/clang/tools/extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp
  118   for (const auto &KeyValuePair : DeclNameToDeclarations) {
tools/clang/tools/extra/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.cpp
   28   return MacroNames.find(MacroName) != MacroNames.end();
tools/clang/tools/extra/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.cpp
   46     for (const auto *UsingDirective : Context->using_directives()) {
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
  149     for (const NamedDecl *ND : ULE->decls()) {
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
  294     for (const auto *Arg : CE->arguments()) {
tools/clang/tools/extra/clang-tidy/mpi/TypeMismatchCheck.cpp
  221   if (it != FixedWidthMatches.end() && it->getValue() != MPIDatatype) {
tools/clang/tools/extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp
   57   if (It != Mapping.end())
tools/clang/tools/extra/clang-tidy/readability/NonConstParameterCheck.cpp
   65       for (const auto *Arg : CE->arguments()) {
   84       for (const auto *Arg : CE->arguments()) {
  203     for (const auto *Arg : Constr->arguments()) {
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp
  212     for (const auto &FE : Files) {
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  112   for (const auto &It : E.ApplyEdits) {
  393     if (It != RequestCancelers.end())
  421       if (It != RequestCancelers.end() && It->second.second == Cookie)
  712       for (const auto &It : R->ApplyEdits) {
tools/clang/tools/extra/clangd/ClangdServer.cpp
  408         for (auto &It : Effect->ApplyEdits) {
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1038   for (const auto &MacroName : Preamble.Macros.Names)
 1282       for (auto &Entry : Includes.includeDepth(
 1356     for (const auto &IDAndCount : Identifiers) {
tools/clang/tools/extra/clangd/DraftStore.cpp
   30   for (auto DraftIt = Drafts.begin(); DraftIt != Drafts.end(); DraftIt++)
tools/clang/tools/extra/clangd/FS.cpp
   47   if (I != StatCache.end())
tools/clang/tools/extra/clangd/FileDistance.cpp
   65   for (const auto &S : Sources) {
  166     for (const auto &Source : Sources) {
tools/clang/tools/extra/clangd/FindTarget.cpp
  106         for (const NamedDecl *BaseND : Parent->lookup(ND->getDeclName()))
  112           for (const NamedDecl *BaseECD : Pattern->lookup(ECD->getDeclName()))
  194         for (auto *D : OE->decls())
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp
  282     if (It != Commands.end())
  323     if (It != Commands.end())
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
  115   for (auto It = Candidates.begin(); It != Candidates.end(); ++It) {
tools/clang/tools/extra/clangd/Headers.cpp
  143   if (It != NameToIndex.end()) {
  184     return IncludedHeaders.find(Header) != IncludedHeaders.end();
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  407   if (I != FuzzyFindCache.end())
tools/clang/tools/extra/clangd/ParsedAST.cpp
  262     for (const auto &E : tidy::ClangTidyModuleRegistry::entries())
tools/clang/tools/extra/clangd/Quality.cpp
  341     for (const auto& Word : ContextWords->keys())
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  108   for (NamedDecl *Decl : Decls) {
tools/clang/tools/extra/clangd/SourceCode.cpp
  926     if (It != UsingDirectives.end())
  927       for (const auto &Used : It->second)
tools/clang/tools/extra/clangd/TUScheduler.cpp
  875   for (auto &File : Files)
 1012   for (auto &&PathAndFile : Files)
 1020   for (auto &&PathAndFile : Files) {
tools/clang/tools/extra/clangd/URI.cpp
   67        I != E; ++I) {
  211   for (auto &Entry : URISchemeRegistry::entries()) {
  245   for (auto &Entry : URISchemeRegistry::entries()) {
tools/clang/tools/extra/clangd/index/Background.cpp
  232   for (const auto &IndexIt : *Index.Sources) {
  250       if (FileIt != Files.end()) {
  263       if (FileIt != Files.end())
  272       if (FileIt != Files.end()) {
  286   for (const auto &FileIt : Files) {
  392     if (D != ShardVersionsSnapshot.end() && D->second.Digest == Digest &&
  434     for (auto &It : *Index.Sources)
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp
   71   for (const auto &It : *LS.Shard->Sources) {
  116   for (auto &It : LoadedShards)
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp
   37     if (SE != StdSymbolMapping->end())
   42   if (MapIt != FullPathMapping.end())
   53        It != End && Components <= MaxSuffixComponents; ++It, ++Components) {
   56     if (MappingIt != StdSuffixHeaderMapping->end())
  773          }) != SystemHeaderMap->keys().end());
tools/clang/tools/extra/clangd/index/FileIndex.cpp
  126     for (const auto &FileAndSymbols : FileToSymbols)
  128     for (const auto &FileAndRefs : FileToRefs) {
  133     for (const auto &FileAndRelations : FileToRelations)
tools/clang/tools/extra/clangd/index/IndexAction.cpp
  183       for (const auto &Node : IG)
tools/clang/tools/extra/clangd/index/MemIndex.h
   25     for (const Symbol &S : Symbols)
tools/clang/tools/extra/clangd/index/Serialization.cpp
  540     for (const auto &Source : *Data.Sources) {
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
  133   for (const auto &ParentURI : ParentURIs.keys()) {
tools/clang/tools/extra/clangd/index/dex/Dex.h
   48     for (auto &&Sym : Symbols)
tools/clang/tools/extra/clangd/refactor/Tweak.cpp
   37   for (const auto &E : TweakRegistry::entries()) {
   64   for (const auto &E : TweakRegistry::entries()) {
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
  461   for (llvm::StringRef AbsPath : MSS.AccessedPaths.keys()) {
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
   99     for (const auto &It : LastDiagsHadError)
tools/clang/tools/extra/clangd/unittests/IndexActionTests.cpp
   61   for (auto &I : IG)
tools/clang/tools/extra/clangd/unittests/TestFS.cpp
   27   for (auto &FileAndContents : Files) {
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  115   for (auto &It : Result->ApplyEdits) {
tools/clang/tools/extra/modularize/CoverageChecker.cpp
  199     I != E; ++I) {
tools/clang/tools/extra/modularize/Modularize.cpp
  924        E != EEnd; ++E) {
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
  328     I != E; ++I) {
  437   while (B != E) {
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
  197        I != E; ++I) {
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
  144       for (const auto &FileAndFixes : *ChosenFix) {
tools/clang/tools/libclang/BuildSystem.cpp
   50          PE = path::end(virtualPath); PI != PE; ++PI) {
tools/clang/tools/libclang/CIndex.cpp
  450   for (; First != Last; ++First) {
 7951   for (const auto &Avail :
tools/clang/tools/libclang/CIndexer.cpp
  183   for (const auto &I : llvm::enumerate(Args)) {
  190     for (const auto &I : llvm::enumerate(InvocationArgs)) {
  198     for (const auto &UF : llvm::enumerate(UnsavedFiles)) {
tools/clang/tools/libclang/Indexing.cpp
  649   for (PreprocessedEntity *PPE : Unit.getLocalPreprocessingEntities()) {
tools/clang/unittests/AST/ASTImporterTest.cpp
  201         assert(Found != CodeSamples.end() && "Wrong file for import!");
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
  168   for (const auto &E : Index) {
  172   for (const auto &E : ParsedIndex)
tools/clang/unittests/Frontend/PCHPreambleTest.cpp
  117     for (const auto &RemappedFile : RemappedFiles) {
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp
  656     for (const auto &Entry : Entries)
tools/clang/unittests/Tooling/DiagnosticsYamlTest.cpp
  126     for (auto &Replacements : Fix) {
tools/clang/unittests/Tooling/RefactoringTest.cpp
  593          I != E; ++I) {
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 4137     for (const auto &Subject : llvm::enumerate(Subjects)) {
 4147       for (const auto &Rule : llvm::enumerate(RuleSet.getAggregateRuleSet())) {
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
  570     if (TypesSeen.find(T->getValueAsString("Name")) != TypesSeen.end())
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp
  199            I = sortedPackages.begin(), E = sortedPackages.end(); I != E; ++I) {
tools/dsymutil/DebugMap.cpp
   63   for (const auto &Sym : make_range(Symbols.begin(), Symbols.end()))
  230   for (auto &Entry : Obj.Symbols)
  277     if (AddressIt != SymbolAddresses.end())
tools/dsymutil/DwarfLinker.cpp
  391   for (const auto &Entry : Context.DMO.symbols()) {
 1796   for (auto &V : Die.values())
 2185   if (Cached != ClangModules.end()) {
tools/dsymutil/MachODebugMapParser.cpp
  457       if (ObjectSymIt != CurrentObjectAddresses.end())
  521   for (const auto &Entry : MainBinarySymbolAddresses) {
tools/dsymutil/MachOUtils.cpp
  551   for (const MCSection &Sec : MCAsm) {
tools/dsymutil/NonRelocatableStringpool.cpp
   45   for (const auto &E : Strings)
tools/gold/gold-plugin.cpp
 1066     for (auto &Identifier : ObjectToIndexFileState)
tools/lld/COFF/ICF.cpp
  132     for (const SectionChunk &c : sc->children())
  274       for (Symbol *b : sc->symbols())
tools/lld/COFF/InputFiles.cpp
  707   for (const DebugSubsectionRecord &ss : subsections) {
tools/lld/COFF/MarkLive.cpp
   62     for (Symbol *b : sc->symbols())
   67     for (SectionChunk &c : sc->children())
tools/lld/COFF/MinGW.cpp
  123   for (StringRef prefix : excludeSymbolPrefixes.keys())
  126   for (StringRef suffix : excludeSymbolSuffixes.keys())
tools/lld/COFF/PDB.cpp
  995   for (const DebugSubsectionRecord &ss : subsections) {
 1078   for (const InlineeSourceLine &line : inlineeLines) {
 1097       for (uint32_t extraFileId : line.ExtraFiles) {
 1129     for (codeview::FrameData fd : fds) {
 1145   for (FileChecksumEntry &fc : checksums) {
 1210       for (const object::FpoData &fd : fpoRecords)
 1742     for (const DebugSubsectionRecord &ss : subsections) {
 1808   for (LineColumnEntry &entry : lines) {
 1809     for (const LineNumberEntry &ln : entry.LineNumbers) {
tools/lld/ELF/Relocations.cpp
  839   for (auto it : enumerate(undefs))
tools/lld/ELF/SymbolTable.cpp
  145     for (auto &p : getDemangledSyms())
tools/lld/ELF/Writer.cpp
 1827     if (i != config->sectionStartMap.end())
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  366     for (const DefinedAtom *atom : mergedFile.defined()) {
  432     for (const DefinedAtom *ehFrameAtom : mergedFile.defined()) {
  460     for (const DefinedAtom *atom : mergedFile.defined()) {
tools/lld/lib/ReaderWriter/MachO/GOTPass.cpp
  102     for (const DefinedAtom *atom : mergedFile.defined()) {
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp
  137   for (const DefinedAtom *atom : atomRange) {
  340   for (const DefinedAtom *ai : range) {
  406   for (const DefinedAtom *ai : range) {
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  608     for (const auto &symbol : _exportedSymbols)
  623       for (const auto &symbol : _exportedSymbols)
  696   if (pos != _pathToDylibMap.end())
  728   if (pos != _pathToDylibMap.end())
  736   if (pos != _pathToDylibMap.end())
  976   bool leftIsOrdered = (leftPos != _orderFiles.end());
  977   bool rightIsOrdered = (rightPos != _orderFiles.end());
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  400   for (const DefinedAtom *atom : atomFile.defined()) {
 1116   for (const UndefinedAtom *atom : atomFile.undefined()) {
 1120   for (const SharedLibraryAtom *atom : atomFile.sharedLibrary()) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  697   for (auto *atom : file.defined())
 1549   for (const DefinedAtom* defAtom : file->defined()) {
tools/lld/lib/ReaderWriter/MachO/ShimPass.cpp
   51     for (const DefinedAtom *atom : mergedFile.defined()) {
tools/lld/lib/ReaderWriter/MachO/StubsPass.cpp
  223     for (const DefinedAtom *atom : mergedFile.defined()) {
  277     assert(I != mergedFile.sharedLibrary().end() &&
tools/lld/lib/ReaderWriter/MachO/TLVPass.cpp
   77     for (const DefinedAtom *atom : mergedFile.defined()) {
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
   78     for (const lld::DefinedAtom *atom : file.defined()) {
  101     for (const lld::UndefinedAtom *undefAtom : file.undefined()) {
  104     for (const lld::SharedLibraryAtom *shlibAtom : file.sharedLibrary()) {
  107     for (const lld::AbsoluteAtom *absAtom : file.absolute()) {
  116     if (pos != _nameMap.end()) {
  187     if (pos != _nameMap.end())
  609         for (const lld::DefinedAtom *atom : member._content->defined())
 1223   for (const lld::DefinedAtom *a : file->defined()) {
 1231   for (const lld::UndefinedAtom *a : file->undefined())
 1234   for (const lld::SharedLibraryAtom *a : file->sharedLibrary())
 1238   for (const lld::AbsoluteAtom *a : file->absolute()) {
 1254   for (const lld::DefinedAtom *a : this->defined()) {
tools/lld/wasm/Writer.cpp
  127   for (auto &pair : customSectionMapping) {
  451     for (auto &feature : used.keys()) {
  471     for (auto &feature : required.keys()) {
tools/lldb/include/lldb/Utility/Environment.h
   89     for (const auto &KV : Env)
tools/lldb/source/Commands/CommandCompletions.cpp
  123         for (const auto &S : MatchSet) {
tools/lldb/source/Commands/CommandObjectType.cpp
   82   for (auto entry : llvm::enumerate(command.entries().drop_back())) {
tools/lldb/source/Core/Debugger.cpp
 1174     if (pos != m_log_streams.end())
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 1962     for (auto entry : llvm::enumerate(cmd_args.entries())) {
tools/lldb/source/Interpreter/CommandObject.cpp
  969     for (auto entry : llvm::enumerate(cmd_args.entries())) {
tools/lldb/source/Interpreter/Options.cpp
  936   for (const auto &entry : llvm::enumerate(args)) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
 2249   for (clang::NamedDecl *decl : result)
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
  196     return m_tokens.find(token) != m_tokens.end();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  384   for (clang::NamedDecl *named_decl : lookup_result) {
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  181   for (StringMapEntry<llvm::Value *> &value_symbol : value_symbol_table) {
  559   for (StringMapEntry<llvm::Value *> &value_symbol : value_symbol_table) {
  732   for (StringMapEntry<llvm::Value *> &value_symbol : value_symbol_table) {
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp
  653       if (it != kw_map.end()) {
tools/lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp
   24   return keywords.find(token) != keywords.end();
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
   75   for (const auto &param : call_inst->operand_values())
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  886   for (const auto &EnumPHdr : llvm::enumerate(ProgramHeaders())) {
 1768   for (const auto &EnumPHdr : llvm::enumerate(ProgramHeaders())) {
 3101   for (const auto &H : llvm::enumerate(m_program_headers)) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  818   for (const auto &KV : env) {
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
  441   for (const MemoryInfo &entry : *ExpectedInfo) {
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  720     for (const auto &Item : llvm::enumerate(s_filter_attributes)) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp
   90   for (const CVSymbol &sym : syms) {
  163   for (llvm::StringRef file : modules.source_files(modi)) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
   56   while (begin != end) {
 1042   while (begin != end && param_count > 0) {
 1180   for (const CVType &cvt : m_index.tpi().typeArray()) {
 1218     while (iter != symbols.end()) {
 1284   while (begin != symbols.end()) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp
  126   for (auto iter = syms.begin(); iter != syms.end(); ++iter) {
  190   lldbassert(iter != cci->m_debug_stream.getSymbolArray().end());
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
  524   for (; it != fpo_data.end(); ++it) {
  534   for (; it != fpo_data.end(); ++it) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  933   for (auto iter = syms.begin(); iter != syms.end(); ++iter) {
 1075   for (const DebugSubsectionRecord &dssr :
 1093     for (const LineColumnEntry &group : lines) {
 1119       for (const LineNumberEntry &entry : group.LineNumbers) {
 1299   for (const uint32_t gid : m_index->globals().getGlobalsTable()) {
 1441   while (iter != end) {
tools/lldb/source/Symbol/ClangASTContext.cpp
 1533   for (NamedDecl *decl : result) {
 1816     for (NamedDecl *decl : result) {
 7231               for (clang::NamedDecl *path_decl : path->Decls) {
tools/lldb/source/Symbol/CxxModuleHandler.cpp
  140     for (NamedDecl *named_decl : *lookup_result) {
  216   for (auto LD : *lookup) {
tools/lldb/source/Target/Target.cpp
 3423               for (const auto &KV : env) {
tools/lldb/source/Utility/ConstString.cpp
   81         if (it != m_string_pools[h].m_string_map.end())
  141       for (const auto &entry : pool.m_string_map)
tools/lldb/source/Utility/Environment.cpp
   32   for (const auto &KV : Env)
   45   while (first != last) {
tools/lldb/source/Utility/Log.cpp
  196   assert(iter != g_channel_map->end());
  244   for (auto &entry : *g_channel_map)
  260   for (const auto &channel : *g_channel_map)
  271   for (const auto &channel : *g_channel_map)
  353   for (auto &c: *g_channel_map)
tools/lldb/source/Utility/UUID.cpp
   42   for (auto B : llvm::enumerate(GetBytes())) {
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
 1590   if (old_src_bp_pos != g_vsc.source_breakpoints.end()) {
 1822   for (auto &pair: g_vsc.function_breakpoints) {
 1845   for (auto &pair : request_bps) {
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp
   68     for (auto &entry : m_section_map)
   75     for (auto &entry : m_section_map) {
tools/lldb/unittests/Interpreter/TestCompletion.cpp
   78     for (auto Dir : llvm::zip(DirNames, Dirs)) {
   87     for (auto File : llvm::zip(FileNames, Files)) {
tools/lldb/unittests/TestingSupport/MockTildeExpressionResolver.cpp
   33   assert(UserDirectories.find(User) != UserDirectories.end());
   51   for (const auto &User : UserDirectories) {
   70   for (const auto &User : UserDirectories) {
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
  244   for (const auto &E : Elements) {
  305   for (auto ThreadPc : zip(Threads, Pcs)) {
tools/llvm-config/llvm-config.cpp
   88     for (const auto &Component : ComponentMap) {
tools/llvm-cov/CodeCoverage.cpp
  236     if (Loc != RemappedFilenames.end())
  414   for (const auto &RemappedFilename : RemappedFilenames)
  421     if (CovFileName != InvRemappedFilenames.end())
  457   for (const auto &Function : Coverage.getCoveredFunctions()) {
  509   for (const auto &Function : Coverage.getCoveredFunctions())
  904       for (const auto &Function : Coverage->getCoveredFunctions(SourceFile))
tools/llvm-cov/CoverageExporterJson.cpp
  182   for (const auto &F : Functions)
tools/llvm-cov/CoverageExporterLcov.cpp
   54   for (const auto &F : Functions) {
   58   for (const auto &F : Functions)
   66   for (; LCI != LCIEnd; ++LCI) {
tools/llvm-cov/CoverageReport.cpp
  131     for (const auto &Component :
  292     for (const auto &F : Functions)
  308     for (const auto &F : Functions) {
tools/llvm-cov/CoverageSummaryInfo.cpp
   35   for (const auto &LCS : getLineCoverageStats(CD)) {
tools/llvm-diff/DifferenceEngine.cpp
  337       for (auto Case : LI->cases())
  340       for (auto Case : RI->cases()) {
tools/llvm-dwarfdump/Statistics.cpp
  520   for (auto &Entry : Statistics) {
  531                     : Stats.VarsInFunction) llvm::dbgs()
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  291     for (auto Pattern : Names.keys()) {
tools/llvm-exegesis/lib/BenchmarkResult.cpp
  102     if (Iter != RegNameToRegNo.end())
  168     if (Iter != OpcodeNameToOpcodeIdx.end())
tools/llvm-exegesis/lib/Clustering.cpp
  206   for (ArrayRef<size_t> PointsOfOpcode :
  255   for (const auto &Point : zip(Points_, ClusterIdForPoint_)) {
  279     for (const ClusterId &CID : ClusterIDs) {
  350   for (const auto &I : zip(Representative, Point))
  356   for (const auto &I : zip(ClusterCenterPoint, Representative))
tools/llvm-exegesis/lib/SchedClassResolution.cpp
  278     for (const auto &I : zip(SchedClassPoint, Representative)) {
tools/llvm-jitlink/llvm-jitlink-macho.cpp
   90   for (auto &Sec : G.sections()) {
tools/llvm-jitlink/llvm-jitlink.cpp
  132   for (auto &SKV : SIM)
  139   for (auto &SIKV : FI.SectionInfos)
  141   for (auto &GOTKV : FI.GOTEntryInfos)
  143   for (auto &StubKV : FI.StubInfos)
  150   for (auto &FIKV : FIM)
  168   for (auto &S : G.sections())
tools/llvm-link/llvm-link.cpp
  167     assert(I != ModuleMap.end());
tools/llvm-lipo/llvm-lipo.cpp
  601   for (auto &Slice : Slices) {
  603     if (Alignment != Alignments.end())
  615   for (StringRef Arch : Alignments.keys())
  792     if (It != ReplacementSlices.end()) {
tools/llvm-lto/llvm-lto.cpp
  466   for (auto &ModPath : Index.modulePaths()) {
  794     for (auto BinName :
tools/llvm-mca/CodeRegion.cpp
   44     if (It != ActiveRegions.end()) {
   91   if (It != ActiveRegions.end()) {
tools/llvm-objcopy/CopyConfig.cpp
  568   for (const auto &E : Config.SectionsToRename) {
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  286   for (auto &Sec : Obj.sections()) {
  321   for (auto &Sec : Obj.sections())
  333   for (auto &Sec : Obj.sections())
  389     if (I != Config.SymbolsToRename.end())
  401     for (SectionBase &Sec : Obj.sections())
  617     for (SectionBase &Sec : Obj.sections()) {
  619       if (Iter != Config.SectionsToRename.end()) {
  633     for (SectionBase &Sec : Obj.sections()) {
  674     for (SectionBase &Sec : Obj.sections()) {
  676       if (I != Config.SetSectionAlignment.end())
  682     for (auto &Sec : Obj.sections()) {
  684       if (Iter != Config.SetSectionFlags.end()) {
tools/llvm-objcopy/ELF/Object.cpp
 1143   for (SectionBase &Sec : Obj->sections())
 1239   for (Segment &Parent : Obj.segments()) {
 1258   for (const SectionBase &Sec : Obj.sections()) {
 1289     for (SectionBase &Sec : Obj.sections())
 1318   for (Segment &Child : Obj.segments())
 1546     for (auto &Sec : Obj.sections()) {
 1569   for (auto &Sec : Obj.sections()) {
 1744   for (auto &Seg : Obj.segments())
 1773   for (SectionBase &Sec : Obj.sections())
 1778   for (SectionBase &Sec : Obj.sections())
 1787   for (Segment &Seg : Obj.segments()) {
 1795   for (auto &Sec : Obj.removedSections()) {
 1932   for (auto &Sec : Sections) {
 1963   for (Segment &Segment : Obj.segments())
 2073     for (const SectionBase &Sec : Obj.sections())
 2083   for (SectionBase &Sec : Obj.sections()) {
 2096   for (SectionBase &Sec : Obj.sections())
 2110   for (SectionBase &Sec : Obj.sections()) {
 2125   for (const SectionBase &Sec : Obj.allocSections())
 2136   for (const SectionBase &Sec : Obj.allocSections())
 2188   for (const SectionBase &Sec : Obj.allocSections())
 2274   for (const SectionBase &Sec : Obj.sections())
 2280   for (const SectionBase &Sec : Obj.sections())
tools/llvm-objdump/llvm-objdump.cpp
 1522   for (StringRef MissingDisasmFunc : MissingDisasmFuncsSet.keys())
tools/llvm-pdbutil/BytesOutputStyle.cpp
  418           for (const auto &SS : Stream.subsections()) {
tools/llvm-pdbutil/DumpOutputStyle.cpp
  277     for (const auto &S : SG.getPdbModuleStream().symbols(nullptr)) {
  284   for (const auto &SS : SG.getDebugSubsections()) {
  292     for (const auto &S : Symbols) {
  303   for (const auto &Chunk : SG.getDebugSubsections()) {
  468   for (const auto &SG : Input.symbol_groups()) {
  485                         for (const auto &SS : SG.getDebugSubsections()) {
  640                         for (const auto &F : Modules.source_files(Modi)) {
  829     for (uint32_t PubSymOff : ExpGlobals->getGlobalsTable()) {
  834     for (const auto &Sec : File.symbol_groups()) {
  835       for (const auto &SS : Sec.getDebugSubsections()) {
  842         for (const auto &S : Symbols)
  892   for (const auto &Stat : NamespacedStats)
  960         for (const auto &Block : Lines) {
  996         for (const auto &Entry : Lines) {
 1000           for (const auto &ExtraFileID : Entry.ExtraFiles) {
 1025         for (const auto &Xmi : Imports) {
 1041           for (const auto I : Xmi.Imports)
 1065         for (const auto &Export : Exports) {
 1104   for (const object::FpoData &FD : Records) {
 1130   for (const FrameData &FD : FDS) {
 1230       for (const auto &Entry : enumerate(IS->name_ids()))
 1273   for (const auto &Entry : NS.entries()) {
 1410       for (const auto &H : zip(LocalHashes, GlobalHashes)) {
 1503     for (const auto &IO : IndexOffsets) {
 1513       for (const auto &A : Adjusters) {
 1553         for (auto Symbol : Symbols) {
 1762     for (uint32_t Addr : Publics.getAddressMap())
 1770     for (uint32_t Addr : Publics.getThunkMap())
 1779     for (const SectionOffset &SO : Publics.getSectionOffsets())
 1815     for (uint32_t PubSymOff : Table) {
 1829       for (const PSHashRecord &HR : Table.HashRecords)
 1837       for (uint32_t Hash : Table.HashBuckets)
 1982   for (auto &M : Dbi.getSectionMap()) {
tools/llvm-pdbutil/ExplainOutputStyle.cpp
  126   for (const auto &Entry : enumerate(Layout.StreamMap)) {
tools/llvm-pdbutil/InputFile.cpp
  195   for (const auto &Entry : SC.checksums()) {
tools/llvm-pdbutil/MinimalSymbolDumper.cpp
  681   for (auto &Annot : IS.annotations()) {
tools/llvm-pdbutil/StreamUtil.cpp
   91     for (auto &NSE : Info->named_streams()) {
tools/llvm-pdbutil/TypeReferenceTracker.cpp
   55   for (SymbolGroup SG : File.symbol_groups()) {
   57       for (const auto &SS : SG.getDebugSubsections()) {
   66         for (const CVSymbol &S : Symbols)
   70       for (const CVSymbol &S : SG.getPdbModuleStream().getSymbolArray())
   79     for (uint32_t PubSymOff : GS.getGlobalsTable()) {
tools/llvm-pdbutil/YAMLOutputStyle.cpp
  116   for (auto ID : ST.name_ids()) {
  251         for (const auto &SS : ModS.subsections()) {
  269         for (auto &Sym : ModS.symbols(&HadError)) {
  293   for (auto &Record : TS.types(nullptr)) {
  320   for (auto &Record : IS.types(nullptr)) {
  353   for (uint32_t PubSymOff : PublicsTable) {
tools/llvm-profdata/llvm-profdata.cpp
  392     for (const auto &Target : BodySample.second.getCallTargets()) {
  499          I != E; ++I) {
tools/llvm-rc/ResourceScriptStmt.cpp
  209   if (Iter != FixedFieldsInfoMap.end())
tools/llvm-readobj/COFFDumper.cpp
 1068       for (const auto &FD : FrameData) {
 1126     for (const auto &Entry : LineInfo) {
 1131       for (const auto &Line : Entry.LineNumbers) {
 1190   for (auto &FC : Checksums) {
 1210   for (auto &Line : Lines) {
 1219       for (const auto &FID : Line.ExtraFiles) {
tools/llvm-readobj/DwarfCFIEHPrinter.h
  199   for (const auto &Entry : EHFrame) {
tools/llvm-readobj/llvm-readobj.cpp
  658   for (auto &OptEntry : cl::getRegisteredOptions()) {
tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
   31   for (auto Succ : successors(&BB))
  103         for (auto *Succ : successors(&BB))
tools/llvm-rtdyld/llvm-rtdyld.cpp
  164   for (const auto &KV : FileToSecIDMap) {
  166     for (auto &KV2 : KV.second)
tools/llvm-xray/xray-graph.cpp
  296       for (auto &E : G.inEdges(V.first)) {
tools/llvm-xray/xray-stacks.cpp
  512     for (const auto &RootNodeRange :
tools/polly/lib/Analysis/DependenceInfo.cpp
  259   for (isl::set Set : isl::manage_copy(Universe).get_set_list())
tools/polly/lib/Analysis/ScopBuilder.cpp
  215   for (isl::basic_set BSet : S.get_basic_set_list())
  402   for (auto &Case : SI->cases()) {
 1159   for (isl::set S : USet.get_set_list()) {
 2790   for (isl::basic_set BSet : AccessRange.get_basic_set_list()) {
 3308   for (isl::set Set : Locations.get_set_list()) {
tools/polly/lib/Analysis/ScopInfo.cpp
 1480   if (Iterator != KnownNames.end())
tools/polly/lib/CodeGen/BlockGenerators.cpp
  718         for (Value *Op : Inst->operand_values()) {
 1532     for (auto SI = succ_begin(BB), SE = succ_end(BB); SI != SE; SI++)
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  176     for (isl::ast_node Node : List) {
  299   for (isl::set Set : USet.get_set_list())
tools/polly/lib/CodeGen/PerfMonitor.cpp
   42     for (Value *X : Array->operand_values())
tools/polly/lib/Support/ISLTools.cpp
   94   for (isl::map Map : UMap.get_map_list()) {
  111   for (isl::map Map : UMap.get_map_list()) {
  162   for (isl::map Map : Schedule.get_map_list())
  178   for (isl::set Set : USet.get_set_list()) {
  197   for (isl::map Map : UMap.get_map_list()) {
  218   for (isl::set Set : USet.get_set_list()) {
  258   for (isl::map Map : UMap.get_map_list()) {
  472   for (isl::map Map : UMap.get_map_list()) {
  717   for (isl::set Set : USet.get_set_list()) {
  718     for (isl::basic_set BSet : Set.get_basic_set_list()) {
  790   for (isl::basic_set BSet : Set.get_basic_set_list())
  800   for (isl::set Set : USet.get_set_list()) {
tools/polly/lib/Transform/FlattenAlgo.cpp
   56   for (isl::basic_map BMap : Map.get_basic_map_list())
   65   for (isl::map Map : UMap.get_map_list())
  120   for (isl::map Map : UMap.get_map_list()) {
  134   for (isl::map Map : Schedule.get_map_list())
  142   for (isl::map Map : UMap.get_map_list()) {
tools/polly/lib/Transform/FlattenSchedule.cpp
   33   for (isl::map Map : Schedule.get_map_list())
tools/polly/lib/Transform/ForwardOpTree.cpp
  244     for (isl::map Map : MustKnown.get_map_list()) {
  647     for (Value *OpVal : UseInst->operand_values()) {
tools/polly/lib/Transform/MaximalStaticExpansion.cpp
  140   for (isl::map Map : Dependences.get_map_list()) {
  190       for (isl::map Map : MapDeps.get_map_list())
tools/polly/lib/Transform/ScheduleTreeTransform.cpp
  353     for (isl::map Ext : NewChildExtensions.get_map_list()) {
tools/polly/lib/Transform/Simplify.cpp
   99   for (isl::basic_map BMap : PrevMap.get_basic_map_list()) {
  104   for (isl::basic_map BMap : Map.get_basic_map_list()) {
  312           for (isl::map Map : Filtered.get_map_list()) {
  352         for (isl::map Map :
  363         for (isl::map FutureWrite : FutureWrites.get_map_list()) {
tools/polly/lib/Transform/ZoneAlgo.cpp
  254   for (isl::map Map : UMap.get_map_list()) {
  844   for (isl::map Map : Input.get_map_list()) {
  948   for (isl::map Map : UMap.get_map_list()) {
tools/polly/unittests/DeLICM/DeLICMTest.cpp
   27   for (isl::set Set : USet.get_set_list()) {
   53     for (isl::map Map : OccupiedAndKnown.get_map_list()) {
tools/polly/unittests/Support/ISLTools.cpp
   24   for (auto BS : S.get_basic_set_list())
unittests/ADT/DirectedGraphTest.cpp
  273   for (auto &SCC : make_range(scc_begin(&DG), scc_end(&DG)))
unittests/ADT/ImmutableMapTest.cpp
   26   EXPECT_FALSE(S.begin() != S.end());
unittests/ADT/ImmutableSetTest.cpp
   46   EXPECT_FALSE(S.begin() != S.end());
   62   EXPECT_TRUE(S2.begin() != S2.end());
  182   for (ImmutableSet<long>::iterator I = S.begin(), E = S.end(); I != E; ++I) {
  189   for (ImmutableSet<long>::iterator I = S2.begin(), E = S2.end(); I != E; ++I) {
  196   for (ImmutableSet<long>::iterator I = S3.begin(), E = S3.end(); I != E; I++) {
unittests/ADT/IteratorTest.cpp
  155   for (int II : make_pointee_range(V))
  296   for (int *P : make_pointer_range(A))
  306   for (auto tup : zip(pi, odd, message)) {
  312   for (auto tup : zip(pi, SmallVector<bool, 0>{1, 1, 0, 1, 1})) {
  322   for (auto tup : zip_first(SmallVector<bool, 0>{1, 1, 0, 1}, pi)) {
  342     for (auto tup : zip_longest(pi, e)) {
  356     for (auto tup : zip_longest(e, pi)) {
  369   for (auto tup : zip(pi, message, message)) {
  375   for (auto tup : zip(message, "yynyyyzip\0")) {
  385   for (auto tup : zip_first(SmallVector<bool, 0>{1, 1, 0, 1}, pi)) {
  392   for (auto tup : zip_first(SmallVector<bool, 0>{1, 1, 0, 1}, pi)) {
  404   for (auto tup : make_filter_range(
  433   for (auto tup : make_filter_range(reverse(zipped), odds)) {
unittests/ADT/SCCIteratorTest.cpp
   51     for (scc_iterator<GT> I = scc_begin(G), E = scc_end(G); I != E; ++I) {
unittests/ADT/STLExtrasTest.cpp
   49   for (auto X : llvm::enumerate(foo)) {
   61   for (auto X : llvm::enumerate(bar)) {
   72   for (auto X : llvm::enumerate(baz)) {
   83   for (auto X : llvm::enumerate(foo)) {
   98   for (auto X : llvm::enumerate(std::vector<int>{1, 2, 3})) {
  115   for (auto X : llvm::enumerate(std::vector<char>{'1', '2', '3'})) {
  285   for (int &i : concat<int>(V1234, L56, SV78))
  292   for (int &i : concat<int>(std::vector<int>(V1234), L56, std::move(SV78)))
  399   EXPECT_DEATH((void)(I != EI), "Cannot compare");
unittests/ADT/SequenceTest.cpp
   20   for (int i : seq(0, 10)) {
unittests/ADT/StringMapTest.cpp
  212       it != testMap.end(); ++it) {
unittests/Analysis/CGSCCPassManagerTest.cpp
  294         for (LazyCallGraph::Node &N : C) {
unittests/Analysis/DomTreeUpdaterTest.cpp
   93   for (auto i = SI->case_begin(), e = SI->case_end(); i != e; ++i) {
  133   for (auto i = SI->case_begin(), e = SI->case_end(); i != e;) {
  657   for (auto i = SI->case_begin(), e = SI->case_end(); i != e; ++i) {
  683   for (auto i = SI->case_begin(), e = SI->case_end(); i != e;) {
unittests/Analysis/LazyCallGraphTest.cpp
  266   for (LazyCallGraph::Edge &E : A1.populate())
  281   for (LazyCallGraph::Edge &E : B1.populate())
  295   for (LazyCallGraph::Edge &E : C1.populate())
  325   for (LazyCallGraph::Node &N : *D.begin())
  341   for (LazyCallGraph::Node &N : *C.begin())
  357   for (LazyCallGraph::Node &N : *B.begin())
  375   for (LazyCallGraph::Node &N : *A.begin())
  479   for (LazyCallGraph::Node &N : D)
  489   for (LazyCallGraph::Node &N : B)
  499   for (LazyCallGraph::Node &N : C)
  509   for (LazyCallGraph::Node &N : A)
  608   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
  754   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
  798   for (LazyCallGraph::Edge E : *D2) {
  846   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
  890   for (LazyCallGraph::Edge E : *D2) {
  953   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
 1030   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
 1092   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
  226   for (auto I : enumerate(IndicesToVisit))
  255   for (auto I : enumerate(IndicesToVisit))
  284   for (auto &I : enumerate(IndicesToVisit))
  315   for (auto I : enumerate(IndicesToVisit))
  345   for (auto &I : enumerate(IndicesToVisit))
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp
  155     if (I != Externals.end())
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.h
  155     for (auto *Sym : G.defined_symbols()) {
  172     for (auto *Sym : G.defined_symbols())
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
   29     if (ObjMap.find(ModuleID) != ObjMap.end())
   50                                       != ModulesLookedUp.end();
unittests/IR/BasicBlockTest.cpp
   36   for (auto &PN : BB->phis()) {
   60   for (auto &PN : BB->phis()) {
   81   for (const auto &PN : const_cast<const BasicBlock *>(BB.get())->phis()) {
unittests/IR/CFGBuilder.cpp
   78   for (auto CIt = SI->case_begin(); CIt != SI->case_end(); ++CIt)
   87   if (BIt != NameToBlock.end())
unittests/IR/UserTest.cpp
   74   EXPECT_TRUE(P.value_op_begin() != P.value_op_end());
   75   EXPECT_FALSE(P.value_op_end() != P.value_op_end());
   90   EXPECT_TRUE(IP->value_op_begin() != IP->value_op_end());
   91   EXPECT_FALSE(IP->value_op_end() != IP->value_op_end());
unittests/ProfileData/CoverageMappingTest.cpp
  147     if (R != Files.end())
  204     for (const auto &E : Files)
  352   for (const auto &FunctionRecord : FunctionRecords) {
  679   for (const auto &LCS : getLineCoverageStats(Data)) {
  802   for (const auto &Func : LoadedCoverage->getCoveredFunctions())
  816   for (const auto &Func : LoadedCoverage->getCoveredFunctions())
unittests/ProfileData/SampleProfTest.cpp
  323     for (auto I = Expected.begin(); I != Expected.end(); ++I) {
unittests/Support/CommandLineTest.cpp
  982   for (auto &OM : cl::getRegisteredOptions(*cl::TopLevelSubCommand)) {
unittests/Support/FileCollectorTest.cpp
   36     return Seen.find(fs) != Seen.end();
unittests/Support/Path.cpp
  138                                    ci != ce;
  147                                      ci != ce;
unittests/Support/ReverseIterationTest.cpp
   48   for (const auto &Tuple : zip(Map, IterKeys))
  102   for (const auto &Tuple : zip(Map, Keys))
unittests/Support/YAMLIOTest.cpp
 2915     for (auto &N : M)
unittests/TextAPI/TextStubV1Tests.cpp
  113   for (const auto *Sym : File->symbols()) {
unittests/TextAPI/TextStubV2Tests.cpp
  115   for (const auto *Sym : File->symbols()) {
unittests/TextAPI/TextStubV3Tests.cpp
  124   for (const auto *Sym : File->symbols()) {
  310   for (auto Platform : File->getPlatforms())
unittests/TextAPI/TextStubV4Tests.cpp
  127   for (auto Platform : File->getPlatforms())
  146   for (const auto *Sym : File->symbols()) {
  256   for (auto Platform : File->getPlatforms())
  278   for (auto Platform : File->getPlatforms())
usr/include/c++/7.4.0/bits/stl_algo.h
  104       while (__first != __last && !__pred(__first))
  868       for (; __first != __last; ++__first)
 3193       for (; __first != __last; ++__first)
 3883       for (; __first != __last; ++__first)
 4305       for (; __first != __last; ++__first, (void)++__result)
 5652       while (++__first != __last)
usr/include/c++/7.4.0/bits/stl_algobase.h
  293 	  for (; __first != __last; ++__result, (void)++__first)
  799 	  for (; __first1 != __last1; ++__first1, (void)++__first2)
 1259       while (__first1 != __last1 && __binary_pred(__first1, __first2))
usr/include/c++/7.4.0/bits/stl_iterator_base_funcs.h
   87       while (__first != __last)
usr/include/c++/7.4.0/bits/stl_tree.h
 2451 	for (; __first != __last; ++__first)
usr/include/c++/7.4.0/bits/stl_uninitialized.h
   82 	      for (; __first != __last; ++__first, (void)++__cur)
usr/include/c++/7.4.0/bits/stl_vector.h
 1309 	    for (; __first != __last; ++__first)
usr/include/c++/7.4.0/bits/vector.tcc
  634 	if (__first != __last)
utils/TableGen/AsmMatcherEmitter.cpp
 3350     for (const auto &Pair : zip(A, B)) {
utils/TableGen/CodeEmitterGen.cpp
  566     for (const auto &Pair : zip(A, B)) {
utils/TableGen/CodeGenDAGPatterns.cpp
 2858       if (PrevOp != ComplexPatternOperands.end()) {
 2929     for (auto &Entry : NamedNodes) {
 4330   for (const auto &Pair : depcounts) {
 4343     for (const auto &DepVar : DepVars) {
utils/TableGen/CodeGenHwModes.cpp
   83   assert(F != ModeIds.end() && "Unknown mode name");
  103   for (const auto &P : ModeIds)
utils/TableGen/GICombinerEmitter.cpp
  224   for (const CombineRule &EnumeratedRule : make_pointee_range(Rules)) {
utils/TableGen/GlobalISelEmitter.cpp
 1555     for (auto &&Predicate : zip(predicates(), B.predicates())) {
 2147     for (auto &&P : zip(predicates(), B.predicates())) {
 2156     for (const auto &Operand : zip(Operands, B.Operands)) {
 2773     for (const auto &Renderer : enumerate(OperandRenderers)) {
 3162   for (const auto &Matcher : zip(Matchers, B.Matchers)) {
 5171     for (const auto &Pair : zip(A, B)) {
utils/TableGen/RISCVCompressInstEmitter.cpp
  312     if (it != SourceOperands.end()) {
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 3186     for (; it != stl_container.end() && exam_pos != count(); ++it, ++exam_pos) {
 3207     for (; it != stl_container.end(); ++it) {
 3425     for (; elem_first != elem_last; ++num_elements, ++elem_first) {
utils/unittest/googletest/include/gtest/gtest-printers.h
  378        it != container.end(); ++it, ++count) {
utils/unittest/googletest/include/gtest/gtest.h
 1522 GTEST_IMPL_CMP_HELPER_(NE, !=);