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

References

examples/Kaleidoscope/Chapter9/toy.cpp
  834   if (LexicalBlocks.empty())
gen/lib/Target/AArch64/AArch64GenAsmMatcher.inc
40930   if (Candidates.empty())
gen/lib/Target/AMDGPU/AMDGPUGenAsmMatcher.inc
80485   if (Candidates.empty())
gen/lib/Target/ARM/ARMGenAsmMatcher.inc
16415   if (Candidates.empty())
gen/lib/Target/Mips/MipsGenAsmMatcher.inc
11754   if (Candidates.empty())
gen/lib/Target/PowerPC/PPCGenAsmMatcher.inc
 7241   if (Candidates.empty())
gen/lib/Target/SystemZ/SystemZGenAsmMatcher.inc
 9277   if (Candidates.empty())
include/llvm/ADT/DepthFirstIterator.h
  143     } while (!VisitStack.empty());
  185     if (!VisitStack.empty())
include/llvm/ADT/ImmutableSet.h
  465     if (!freeNodes.empty()) {
include/llvm/ADT/MapVector.h
   80     return Vector.empty();
include/llvm/ADT/PostOrderIterator.h
  166     if (!VisitStack.empty())
include/llvm/ADT/PriorityWorklist.h
   69     return V.empty();
  151     } while (!V.empty() && V.back() == T());
  172       } while (!V.empty() && V.back() == T());
include/llvm/ADT/SCCIterator.h
  109     assert(!CurrentSCC.empty() || VisitStack.empty());
  109     assert(!CurrentSCC.empty() || VisitStack.empty());
  110     return CurrentSCC.empty();
  123     assert(!CurrentSCC.empty() && "Dereferencing END SCC iterator!");
  156   assert(!VisitStack.empty());
  176   while (!VisitStack.empty()) {
  186     if (!VisitStack.empty() && VisitStack.back().MinVisited > minVisitNum)
  213     assert(!CurrentSCC.empty() && "Dereferencing END SCC iterator!");
include/llvm/ADT/SetVector.h
   73     return vector_.empty();
include/llvm/ADT/UniqueVector.h
   90   bool empty() const { return Vector.empty(); }
include/llvm/Analysis/AliasSetTracker.h
  304     bool WasEmpty = UnknownInsts.empty();
  311     if (!WasEmpty && UnknownInsts.empty())
include/llvm/Analysis/BlockFrequencyInfoImpl.h
  537     assert(!Freqs.empty());
 1231   assert(!Working.empty() && "no blocks in function");
include/llvm/Analysis/CallGraph.h
  193   inline bool empty() const { return CalledFunctions.empty(); }
  218     while (!CalledFunctions.empty()) {
  226     assert(CalledFunctions.empty() &&
include/llvm/Analysis/DominanceFrontierImpl.h
  224   } while (!workList.empty());
include/llvm/Analysis/IntervalIterator.h
  123       while (!IntStack.empty()) {
  140     assert(!IntStack.empty() && "Attempting to use interval iterator at end!");
  157     } while (!IntStack.empty());
include/llvm/Analysis/LoopInfo.h
  151   bool empty() const { return getSubLoops().empty(); }
  907   bool empty() const { return TopLevelLoops.empty(); }
include/llvm/Analysis/LoopInfoImpl.h
  239   if (!Blocks.empty()) {
  282   assert(!Blocks.empty() && "Loop header is missing");
  428   while (!ReverseCFGWorklist.empty()) {
include/llvm/Analysis/LoopIterator.h
  217     assert(DFS.PostBlocks.empty() && "Need clear DFS result before traversing");
include/llvm/Analysis/RegionInfoImpl.h
   73   while (!RegionQueue.empty()) {
   91   while (!RegionQueue.empty()) {
  407   assert(SubRegion->children.empty() &&
include/llvm/Analysis/Trace.h
   96   bool                    empty() const { return BasicBlocks.empty(); }
include/llvm/Bitstream/BitstreamReader.h
   56     if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID)
include/llvm/Bitstream/BitstreamWriter.h
   89     assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance");
   89     assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance");
  189     if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID)
  229     assert(!BlockScope.empty() && "Block scope imbalance!");
include/llvm/CodeGen/AccelTable.h
  208   assert(Buckets.empty() && "Already finalized!");
include/llvm/CodeGen/LatencyPriorityQueue.h
   78     bool empty() const override { return Queue.empty(); }
include/llvm/CodeGen/MIRYamlMapping.h
  626     if (!YamlIO.outputting() || !MF.JumpTableInfo.Entries.empty())
include/llvm/CodeGen/MachineBasicBlock.h
  279   bool                 pred_empty() const { return Predecessors.empty(); }
  295   bool                 succ_empty() const { return Successors.empty();   }
  359   bool            livein_empty() const { return LiveIns.empty(); }
  503   bool hasSuccessorProbabilities() const { return !Probs.empty(); }
include/llvm/CodeGen/MachineConstantPool.h
  147   bool isEmpty() const { return Constants.empty(); }
include/llvm/CodeGen/MachineFrameInfo.h
  345   bool hasStackObjects() const { return !Objects.empty(); }
include/llvm/CodeGen/MachineJumpTableInfo.h
   97   bool isEmpty() const { return JumpTables.empty(); }
include/llvm/CodeGen/MachineRegisterInfo.h
  936   bool            livein_empty() const { return LiveIns.empty(); }
include/llvm/CodeGen/MachineScheduler.h
  542   bool empty() const { return Queue.empty(); }
include/llvm/CodeGen/PBQP/Graph.h
  194       if (!FreeNodeIds.empty()) {
  209       if (!FreeEdgeIds.empty()) {
  291       bool empty() const { return G.Nodes.empty(); }
include/llvm/CodeGen/PBQP/ReductionRules.h
  187     while (!stack.empty()) {
include/llvm/CodeGen/ResourcePriorityQueue.h
  114     bool empty() const override { return Queue.empty(); }
include/llvm/CodeGen/ScheduleDAGInstrs.h
  386     const SUnit *Addr = SUnits.empty() ? nullptr : &SUnits[0];
include/llvm/CodeGen/ScheduleDFS.h
  125   bool empty() const { return DFSNodeData.empty(); }
include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
   60   bool empty() const { return Instructions.empty(); }
  294   bool empty() const { return Entries.empty(); }
include/llvm/DebugInfo/DWARF/DWARFUnit.h
  388     if (DieArray.empty())
  476     assert(!DieArray.empty());
include/llvm/DebugInfo/GSYM/LineTable.h
  150   bool empty() const { return Lines.empty(); }
  156     return !Lines.empty();
include/llvm/DebugInfo/GSYM/Range.h
   81   bool empty() const { return Ranges.empty(); }
include/llvm/ExecutionEngine/JITLink/JITLink.h
  234   bool edges_empty() const { return Edges.empty(); }
include/llvm/ExecutionEngine/Orc/Core.h
  649     bool hasQueriesPending() const { return !PendingQueries.empty(); }
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
   91     if (AvailableTrampolines.empty()) {
   95     assert(!AvailableTrampolines.empty() && "Failed to grow trampoline pool");
  144     assert(this->AvailableTrampolines.empty() && "Growing prematurely?");
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
  292         assert(!Allocs.empty() && "No sections in allocated segment");
  458       if (AvailableTrampolines.empty()) {
  462       assert(!AvailableTrampolines.empty() && "Failed to grow trampoline pool");
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
  151     if (!FreeIds.empty()) {
include/llvm/ExecutionEngine/Orc/RPCSerialization.h
  597     assert(V.empty() &&
include/llvm/ExecutionEngine/Orc/RPCUtils.h
  836     if (FreeSequenceNumbers.empty())
include/llvm/FuzzMutate/OpDescriptor.h
   70       if (Result.empty())
include/llvm/IR/LegacyPassManagers.h
  152   bool empty() const { return S.empty(); }
include/llvm/IR/ModuleSummaryIndex.h
  358     assert((K != AliasKind || Refs.empty()) &&
  603     if (!TypeTests.empty() || !TypeTestAssumeVCalls.empty() ||
  603     if (!TypeTests.empty() || !TypeTestAssumeVCalls.empty() ||
  604         !TypeCheckedLoadVCalls.empty() || !TypeTestAssumeConstVCalls.empty() ||
  604         !TypeCheckedLoadVCalls.empty() || !TypeTestAssumeConstVCalls.empty() ||
  605         !TypeCheckedLoadConstVCalls.empty())
 1053     if (Edges.empty()) {
include/llvm/IR/ModuleSummaryIndexYAML.h
  255       if (!FSums.empty())
include/llvm/IR/TypeFinder.h
   55   bool empty() const { return StructTypes.empty(); }
include/llvm/MCA/HardwareUnits/Scheduler.h
  243   bool isReadySetEmpty() const { return ReadySet.empty(); }
  244   bool isWaitSetEmpty() const { return WaitSet.empty(); }
include/llvm/ProfileData/Coverage/CoverageMapping.h
  323     if (CountedRegions.empty())
  503   bool empty() const { return Segments.empty(); }
include/llvm/Support/AMDGPUMetadata.h
  141     return !mReqdWorkGroupSize.empty() || !mWorkGroupSizeHint.empty() ||
  141     return !mReqdWorkGroupSize.empty() || !mWorkGroupSizeHint.empty() ||
  360     return !mDebuggerABIVersion.empty();
include/llvm/Support/BinaryItemStream.h
   70     return ItemEndOffsets.empty() ? 0 : ItemEndOffsets.back();
include/llvm/Support/CommandLine.h
 1474   bool empty() const { return Storage.empty(); }
include/llvm/Support/GenericDomTree.h
  623     assert(Node->getChildren().empty() && "Node is not a leaf node.");
  784     assert(!PredBlocks.empty() && "No predblocks?");
include/llvm/Support/GenericDomTreeConstruction.h
 1399       if (Node->getChildren().empty()) {
 1511       if (!BB || TN->getChildren().empty()) continue;
 1544       if (!BB || TN->getChildren().empty()) continue;
include/llvm/Support/JSON.h
  183   bool empty() const { return V.empty(); }
include/llvm/Testing/Support/SupportHelpers.h
   26   bool Success() const { return Infos.empty(); }
include/llvm/XRay/Trace.h
   65   bool empty() const { return Records.empty(); }
lib/Analysis/AliasSetTracker.cpp
   83   bool ASHadUnknownInsts = !AS.UnknownInsts.empty();
   84   if (UnknownInsts.empty()) {            // Merge call sites...
  174   if (UnknownInsts.empty())
  205     assert(UnknownInsts.empty() && "Illegal must alias set!");
  225   if (!UnknownInsts.empty()) {
  268     if (!UnknownInsts.empty())
  683   if (!UnknownInsts.empty()) {
lib/Analysis/CFLAndersAliasAnalysis.cpp
  751   while (!WorkList.empty()) {
  795   while (!WorkList.empty()) {
lib/Analysis/DivergenceAnalysis.cpp
  369   while (!Worklist.empty()) {
lib/Analysis/GlobalsModRef.cpp
  455   while (!AllocRelatedValues.empty()) {
  473     assert(!SCC.empty() && "SCC with no functions?");
  491     assert(!SCC.empty() && "SCC with no functions?");
lib/Analysis/LazyValueInfo.cpp
  314   while (!worklist.empty()) {
lib/Analysis/LegacyDivergenceAnalysis.cpp
  250   while (!InfluenceStack.empty()) {
  267   while (!Worklist.empty()) {
lib/Analysis/MemoryDependenceAnalysis.cpp
  797   if (!Cache.empty()) {
 1212   if (Cache->empty())
lib/Analysis/ModuleSummaryAnalysis.cpp
  607   if (!VTableFuncs.empty())
  784     if (GlobalList.second.SummaryList.empty())
lib/AsmParser/LLParser.cpp
 1147   if (Attrs.hasAttributes() || !FwdRefAttrGrps.empty()) {
 2528       if (!Inputs.empty() &&
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  684     if (O.Histogram && !Stats.CodeFreq.empty()) {
lib/Bitcode/Reader/BitcodeReader.cpp
 1352   if (!MAttributes.empty())
 1678   if (!TypeList.empty())
 1925   if (!BundleTags.empty())
 2243   while (!GlobalInitWorklist.empty()) {
 2257   while (!IndirectSymbolInitWorklist.empty()) {
 2273   while (!FunctionPrefixWorklist.empty()) {
 2286   while (!FunctionPrologueWorklist.empty()) {
 2299   while (!FunctionPersonalityFnWorklist.empty()) {
 2809         if (FwdBBs.empty())
 2941   if (FunctionsWithBodies.empty())
 2964   if (!GlobalInits.empty() || !IndirectSymbolInits.empty())
 2964   if (!GlobalInits.empty() || !IndirectSymbolInits.empty())
 3454           assert(VSTOffset == 0 || FunctionsWithBodies.empty());
 3478         assert(DeferredMetadataInfo.empty() && "Unexpected deferred metadata");
 3765         assert(DeferredMetadataInfo.empty() &&
 3808         assert(!BBRefs.empty() && "Unexpected empty array");
 5129     if (!OperandBundles.empty()) {
 5163   if (!OperandBundles.empty())
 6123       assert(PendingTypeTests.empty());
 6129       assert(PendingTypeTestAssumeVCalls.empty());
 6135       assert(PendingTypeCheckedLoadVCalls.empty());
lib/Bitcode/Reader/ValueList.cpp
  160   while (!ResolveConstants.empty()) {
lib/Bitcode/Reader/ValueList.h
   60     assert(ResolveConstants.empty() && "Constants not resolved?");
   75     assert(ResolveConstants.empty() && "Constants not resolved?");
   90   bool empty() const { return ValuePtrs.empty(); }
lib/Bitcode/Writer/BitcodeWriter.cpp
  740   if (AttrGrps.empty()) return;
  789   if (Attrs.empty()) return;
 3151     return !VE.UseListOrders.empty() && VE.UseListOrders.back().F == F;
lib/Bitcode/Writer/ValueEnumerator.cpp
  729   if (MDs.empty())
lib/CodeGen/AggressiveAntiDepBreaker.cpp
  564   assert(!Regs.empty() && "Empty register group!");
  565   if (Regs.empty())
  766   if (SUnits.empty()) return 0;
lib/CodeGen/AsmPrinter/ARMException.cpp
   70     !MF->getLandingPads().empty();
  103   if (VerboseAsm && !TypeInfos.empty()) {
  118   if (VerboseAsm && !FilterIds.empty()) {
lib/CodeGen/AsmPrinter/AccelTable.cpp
  313     if (!Buckets[i].empty())
  350     if (!Buckets[i].empty())
  437     Asm->emitInt32(Bucket.value().empty() ? 0 : Index);
  568   if (CompUnits.empty())
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 1010   if (!MF.getLandingPads().empty() || MF.hasEHFunclets() || MMI->hasDebugInfo())
 1429     if (!Stubs.empty()) {
 1448     if (!Stubs.empty()) {
 1711   if (CP.empty()) return;
 1793   if (JT.empty()) return;
 1819     if (JTBBs.empty()) continue;
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  542   if (!RestrRegs.empty()) {
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  595   if (!GlobalUDTs.empty()) {
 2415     assert(!Methods.empty() && "Empty methods map entry");
 2438                          !Info.NestedTypes.empty());
lib/CodeGen/AsmPrinter/DIE.cpp
  171   if (!Abbreviations.empty()) {
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
   42   if (!Asm->MF->getLandingPads().empty()) {
   92   bool hasLandingPads = !MF->getLandingPads().empty();
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  383   bool HaveTTData = !TypeInfos.empty() || !FilterIds.empty();
  383   bool HaveTTData = !TypeInfos.empty() || !FilterIds.empty();
  622   if (VerboseAsm && !TypeInfos.empty()) {
  638   if (VerboseAsm && !FilterIds.empty()) {
lib/CodeGen/AsmPrinter/WasmException.cpp
   36   if (!Asm->MF->getLandingPads().empty()) {
lib/CodeGen/AsmPrinter/WinCFGuard.cpp
   36   if (MF->getLongjmpTargets().empty())
   50   if (Functions.empty() && LongjmpTargets.empty())
   50   if (Functions.empty() && LongjmpTargets.empty())
lib/CodeGen/AsmPrinter/WinException.cpp
   63   bool hasLandingPads = !MF->getLandingPads().empty();
lib/CodeGen/BranchFolding.cpp
  995     if (SameTails.empty()) {
lib/CodeGen/BreakFalseDeps.cpp
  215   if (UndefReads.empty())
  241       if (UndefReads.empty())
lib/CodeGen/CriticalAntiDepBreaker.cpp
  444   if (SUnits.empty()) return 0;
lib/CodeGen/DFAPacketizer.cpp
  211     if (!CurrentPacketMIs.empty()) {
lib/CodeGen/ExecutionDomainFix.cpp
   72   assert(!LiveRegs.empty() && "Must enter basic block first.");
   83   assert(!LiveRegs.empty() && "Must enter basic block first.");
   93   assert(!LiveRegs.empty() && "Must enter basic block first.");
  121   if (!LiveRegs.empty() && dv->Refs > 1)
  145     assert(!LiveRegs.empty() && "no space allocated for live registers");
  159   if (LiveRegs.empty())
  175     if (Incoming.empty())
  210   assert(!LiveRegs.empty() && "Must enter basic block first.");
  289   if (!LiveRegs.empty())
  331     assert(!LiveRegs.empty() && "no space allocated for live registers");
  368       assert(!LiveRegs.empty() && "no space allocated for live registers");
  441   if (AliasMap.empty()) {
lib/CodeGen/ExpandMemCmp.cpp
  325   if (LoadCmpBlocks.empty())
lib/CodeGen/GlobalISel/IRTranslator.cpp
  462   if (Clusters.empty()) {
  489   assert(!Clusters.empty());
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  719   if (!FailedOpcodes.empty()) {
lib/CodeGen/IfConversion.cpp
  485     while (!Tokens.empty()) {
lib/CodeGen/LatencyPriorityQueue.cpp
  135   assert(!Queue.empty() && "Queue is empty!");
lib/CodeGen/LiveVariables.cpp
   74   if (Kills.empty())
  124   while (!WorkList.empty()) {
  140   if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) {
lib/CodeGen/MIRParser/MIRParser.cpp
  413   if (!YamlMF.Constants.empty()) {
  440   if (!YamlMF.JumpTableInfo.Entries.empty() &&
  731   if (!CSIInfo.empty())
lib/CodeGen/MachineBasicBlock.cpp
  365       if (!Probs.empty())
  370     if (!Probs.empty() && IsStandalone) {
  659   if (!(Probs.empty() && !Successors.empty()))
  659   if (!(Probs.empty() && !Successors.empty()))
  687   addSuccessor(New, Probs.empty() ? BranchProbability::getUnknown()
  705   if (!Probs.empty()) {
  748   if (!Probs.empty()) {
  758   if (Orig->Probs.empty())
  783     if (!FromMBB->Probs.empty()) {
  800     if (!FromMBB->Probs.empty()) {
 1330   if (Probs.empty())
 1354   if (Probs.empty())
lib/CodeGen/MachineFrameInfo.cpp
  215   if (Objects.empty()) return;
lib/CodeGen/MachineFunction.cpp
  906   assert(!DestBBs.empty() && "Cannot create an empty jump table!");
  939   if (JumpTables.empty()) return;
 1099   if (Constants.empty()) return;
lib/CodeGen/MachineOutliner.cpp
  521       while (!ToVisit.empty()) {
lib/CodeGen/MachineScheduler.cpp
 3526     if (ReadyQ.empty()) return nullptr;
lib/CodeGen/PostRASchedulerList.cpp
  551   while (!AvailableQueue.empty() || !PendingQueue.empty()) {
  614     if (!NotReady.empty()) {
lib/CodeGen/PrologEpilogInserter.cpp
  402     if (CSI.empty())
  616     if (!CSI.empty()) {
lib/CodeGen/ReachingDefAnalysis.cpp
   36   if (LiveRegs.empty())
   61     if (Incoming.empty())
   79   assert(!LiveRegs.empty() && "Must enter basic block first.");
lib/CodeGen/RegAllocPBQP.cpp
  590   while (!Worklist.empty()) {
  639     if (VRegAllowed.empty()) {
lib/CodeGen/RegisterPressure.cpp
 1172     if (!LiveThruPressure.empty())
lib/CodeGen/ScheduleDAG.cpp
  495   while (!WorkList.empty()) {
  595   } while (!WorkList.empty());
  638   } while (!WorkList.empty());
  672   } while (!WorkList.empty());
lib/CodeGen/ScheduleDAGInstrs.cpp
 1408   bool isComplete() const { return DFSStack.empty(); }
 1417     return DFSStack.empty() ? nullptr : std::prev(DFSStack.back().second);
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  503     if (!NewOps.empty()) {
  514   if (!NewOps.empty()) {
lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
  619   assert(!Queue.empty() && "Queue is empty!");
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
  531   if (!SUnits.empty()) {
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  601     assert(PendingQueue.empty() && "pending instrs not allowed in this mode");
 1602   if (!SUnits.empty()) {
 1624     while (AvailableQueue->empty() && !PendingQueue.empty()) {
 1800   bool empty() const override { return Queue.empty(); }
 1809     assert(!Queue.empty() && "Queue is empty!");
 1893     if (Queue.empty()) return nullptr;
 1905     while (!DumpQueue.empty()) {
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
   71   if (!SUnits.empty())
lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
  185   while (!AvailableQueue->empty() || !PendingQueue.empty()) {
  230     if (!NotReady.empty()) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 8316         if (Ops.empty()) {
10522   if (Clusters.empty()) {
10553   assert(!Clusters.empty());
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 2840   if (!OpcodeOffset.empty()) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4272   if (!ConstraintOperands.empty()) {
 4497       if (!ResultOps.empty()) {
 4527   assert(!OpInfo.Codes.empty() && "Must have at least one constraint");
lib/CodeGen/ShadowStackGCLowering.cpp
  232   assert(Roots.empty() && "Not cleaned up?");
  296   if (Roots.empty())
lib/CodeGen/StackMaps.cpp
  551   assert((!CSInfos.empty() || ConstPool.empty()) &&
  553   assert((!CSInfos.empty() || FnInfos.empty()) &&
  555   if (CSInfos.empty())
lib/CodeGen/SwitchLoweringUtils.cpp
   48   assert(!Clusters.empty());
  267   assert(!Clusters.empty());
lib/CodeGen/UnreachableBlockElim.cpp
  210   return (!DeadBlocks.empty() || ModifiedPHI);
lib/CodeGen/WinEHPrepare.cpp
  764     if (Orig2Clone.empty())
lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
   91   assert(!Fragments.empty());
lib/DebugInfo/CodeView/DebugLinesSubsection.cpp
  115     assert(B.Lines.size() == B.Columns.size() || B.Columns.empty());
lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
  102   assert(!Fragments.empty());
lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp
  119   assert(!Fragments.empty());
lib/DebugInfo/DWARF/DWARFContext.cpp
  923   while (!Worklist.empty()) {
lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
   96     return !ArangeDescriptors.empty();
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
   92       if (!Aranges.empty() && Aranges.back().HighPC() == PrevAddress &&
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  120   if (!IncludeDirectories.empty()) {
  130   if (!FileNames.empty()) {
  458   if (!Rows.empty()) {
  896   if (!Sequences.empty()) {
  980   if (Sequences.empty())
lib/DebugInfo/DWARF/DWARFDie.cpp
  400   while (!Worklist.empty()) {
lib/DebugInfo/DWARF/DWARFUnit.cpp
  331   assert(!DieArray.empty());
  412   if ((CUDieOnly && !DieArray.empty()) ||
  416   bool HasCUDie = !DieArray.empty();
  419   if (DieArray.empty())
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
  166   if (OffsetLookup.empty()) {
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  422   bool ShouldBeContained = !Ranges.empty() && !ParentRI.Ranges.empty() &&
  422   bool ShouldBeContained = !Ranges.empty() && !ParentRI.Ranges.empty() &&
lib/DebugInfo/GSYM/GsymCreator.cpp
   55   if (Funcs.empty())
  118   assert(!Files.empty());
lib/DebugInfo/GSYM/InlineInfo.cpp
   51     return !InlineStack.empty();
  130   bool HasChildren = !Children.empty();
lib/DebugInfo/GSYM/Range.cpp
   87   if (Ranges.empty())
lib/DebugInfo/MSF/MSFBuilder.cpp
  293   if (!StreamData.empty()) {
lib/DebugInfo/MSF/MappedBlockStream.cpp
  124     if (CacheItem.second.empty())
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  145   if (SectionContribs.empty())
  302   if (!OldFpoData.empty()) {
  408   if (!SectionContribs.empty()) {
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
  157     if (Bucket.empty())
lib/DebugInfo/PDB/Native/TpiStream.cpp
  145   if (!HashMap.empty())
  177 bool TpiStream::supportsTypeLookup() const { return !HashMap.empty(); }
lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
   49   if (NewSize / EightKB > TypeRecordBytes / EightKB || TypeRecords.empty()) {
  104   assert((TypeRecords.size() == TypeHashes.size() || TypeHashes.empty()) &&
  128   if (!TypeHashes.empty()) {
lib/DebugInfo/PDB/PDBSymbolFunc.cpp
   69   void reset() override { CurIter = Args.empty() ? Args.end() : Args.begin(); }
lib/DebugInfo/PDB/UDTLayout.cpp
  119   if (!LayoutItems.empty()) {
  217   if (!VTables.empty()) {
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
   79   if (Symbols.empty()) {
  139   if (ExportSyms.empty())
lib/ExecutionEngine/ExecutionEngine.cpp
 1258     if (!NonCanonicalGlobals.empty()) {
lib/ExecutionEngine/Interpreter/Execution.cpp
  895   if (ECStack.empty()) {  // Finished main.  Put result into exit code...
 2124   assert((ECStack.empty() || !ECStack.back().Caller.getInstruction() ||
 2161   while (!ECStack.empty()) {
lib/ExecutionEngine/Interpreter/Interpreter.cpp
   71   while (!AtExitHandlers.empty()) {
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
  310   while (!Worklist.empty()) {
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  176   if (Sections.empty())
  383     if (SecNSymStack.empty()) {
  416     if (!SecNSymStack.empty() && isAltEntry(*SecNSymStack.back()))
  437     while (!SecNSymStack.empty()) {
  442       while (!SecNSymStack.empty() &&
  451       JITTargetAddress BlockEnd = SecNSymStack.empty()
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
  178       assert(!NewSearchOrder.empty() &&
  286         if (!PromotedGlobals.empty()) {
lib/ExecutionEngine/Orc/Core.cpp
  210   if (!JDs.empty()) {
  607   while (!QueryInfos.empty()) {
  964     while (!Worklist.empty()) {
 1031     while (!Worklist.empty()) {
 1144   if (Worklist.empty())
 1150     while (!Worklist.empty()) {
 1256     if (NewSearchOrder.empty() || NewSearchOrder.front().first != this)
 1555   assert((MUs.empty() || !QueryComplete) &&
 1717   while (!PendingQueries.empty()) {
 2124       if (!OutstandingMUs.empty()) {
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  403   while (!Allocs.empty()) {
  474   while (!EHFrameRanges.empty()) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  721   if (SymbolsToAllocate.empty())
lib/IR/AsmWriter.cpp
 2649   assert(UseListOrders.empty() && "All use-lists should have been consumed");
 2987   if (!TIDInfo.TypeTests.empty()) {
 3008   if (!TIDInfo.TypeTestAssumeVCalls.empty()) {
 3012   if (!TIDInfo.TypeCheckedLoadVCalls.empty()) {
 3016   if (!TIDInfo.TypeTestAssumeConstVCalls.empty()) {
 3021   if (!TIDInfo.TypeCheckedLoadConstVCalls.empty()) {
 3070     if (!ConstVCall.Args.empty()) {
 4170       [&]() { return !UseListOrders.empty() && UseListOrders.back().F == F; };
lib/IR/InlineAsm.cpp
  259   if (Constraints.empty() && !ConstStr.empty()) return false;
lib/IR/LegacyPassManager.cpp
 1938   if (!S.empty())
lib/IR/ModuleSummaryIndex.cpp
  256   if (Attrs.empty())
  481     if (ModList.empty()) {
lib/LTO/LTOCodeGenerator.cpp
  409   if (Used.empty())
  635   if (!CodegenOptions.empty()) {
lib/LTO/ThinLTOCodeGenerator.cpp
  519   if (Modules.empty())
  897   assert(ProducedBinaries.empty() && "The generator should not be reused");
lib/LTO/UpdateCompilerUsed.cpp
  128   if (UsedValues.empty())
lib/LineEditor/LineEditor.cpp
   37   assert(!Comps.empty());
   58   if (Comps.empty()) {
  154       if (Action.Completions.empty()) {
lib/Linker/IRMover.cpp
 1430   while (!Worklist.empty()) {
lib/MC/ELFObjectWriter.cpp
  351   if (!ShndxIndexes.empty())
  372   if (!ShndxIndexes.empty()) {
  807   if (OWriter.Relocations[&Sec].empty())
 1158   if (!Asm.CGProfile.empty()) {
lib/MC/MCAsmMacro.cpp
   21   if (!Value.empty()) {
lib/MC/MCCodeView.cpp
  295           if (FilteredLines.empty() ||
lib/MC/MCMachOStreamer.cpp
  224   assert(!Regions.empty() && "Mismatched .end_data_region!");
lib/MC/MCParser/AsmParser.cpp
  291   bool isInsideMacroInstantiation() {return !ActiveMacros.empty();}
  745   assert((HadError || ActiveMacros.empty()) &&
 2245     if (ActiveMacros.empty())
 2728     if (!FA.Value.empty()) {
 2745         if (A[FAI].empty()) {
 2753           if (!M->Parameters[FAI].Value.empty())
 4377     if (!Parameters.empty() && Parameters.back().Vararg)
 5202   if (!TheCondStack.empty())
 5236   if (!TheCondStack.empty())
 5263   if (!TheCondStack.empty()) {
 5288   if (!TheCondStack.empty()) {
 5318   if ((TheCondState.TheCond == AsmCond::NoCond) || TheCondStack.empty())
 5321   if (!TheCondStack.empty()) {
 5674   if (ActiveMacros.empty())
lib/MC/MCStreamer.cpp
  258   return !DwarfFrameInfos.empty() && !DwarfFrameInfos.back().End;
  906   if (!CurFrame->Instructions.empty())
  957   if ((!DwarfFrameInfos.empty() && !DwarfFrameInfos.back().End) ||
  958       (!WinFrameInfos.empty() && !WinFrameInfos.back()->End)) {
lib/MC/WasmObjectWriter.cpp
  888   if (Relocs.empty())
lib/MC/WinCOFFObjectWriter.cpp
  635   if (Sec.Relocations.empty()) {
  912     if (!Sec->Relocations.empty()) {
lib/Object/COFFModuleDefinition.cpp
  161     if (Stack.empty()) {
lib/Object/IRSymtab.cpp
  378   if (BFC.Mods.empty())
lib/Object/SymbolSize.cpp
   69   if (Addresses.empty())
lib/ObjectYAML/COFFEmitter.cpp
  261       if (!S.Relocations.empty()) {
lib/ObjectYAML/DWARFYAML.cpp
   29   if (!DWARF.ARanges.empty() || !IO.outputting())
   31   if (!DWARF.PubNames.Entries.empty() || !IO.outputting())
   33   if (!DWARF.PubTypes.Entries.empty() || !IO.outputting())
   35   if (!DWARF.GNUPubNames.Entries.empty() || !IO.outputting())
   37   if (!DWARF.GNUPubTypes.Entries.empty() || !IO.outputting())
  118   if (!FormValue.BlockData.empty() || !IO.outputting())
  137   if (!LineTableOpcode.UnknownOpcodeData.empty() || !IO.outputting())
  139   if (!LineTableOpcode.UnknownOpcodeData.empty() || !IO.outputting())
lib/ObjectYAML/ELFEmitter.cpp
  220   if (Doc.Sections.empty() || Doc.Sections.front()->Type != ELF::SHT_NULL)
  231   if (!Doc.DynamicSymbols.empty())
  997   if (!Section.Entries.empty() && Section.Content)
lib/ObjectYAML/ELFYAML.cpp
  889     if (!Ret.empty())
lib/ObjectYAML/MachOYAML.cpp
  158   if (!LinkEditData.ExportTrie.Children.empty() || !IO.outputting())
lib/ObjectYAML/WasmEmitter.cpp
  276   int Fields = int(!Section.Languages.empty()) + int(!Section.Tools.empty()) +
  276   int Fields = int(!Section.Languages.empty()) + int(!Section.Tools.empty()) +
  277                int(!Section.SDKs.empty());
  284     if (Field.second->empty())
  606     if (Sec->Relocations.empty()) {
lib/Passes/PassBuilder.cpp
 1814   if (!InnerPipeline.empty()) {
 1940   if (!InnerPipeline.empty()) {
 2023   if (!InnerPipeline.empty()) {
 2105   if (!InnerPipeline.empty()) {
 2262   if (!Pipeline || Pipeline->empty())
 2288                   (InnerPipeline.empty() ? "pass" : "pipeline"), FirstName)
 2305   if (!Pipeline || Pipeline->empty())
 2330   if (!Pipeline || Pipeline->empty())
 2354   if (!Pipeline || Pipeline->empty())
lib/ProfileData/Coverage/CoverageMapping.cpp
  383     if (!Segments.empty() && !IsRegionEntry && !EmitSkippedRegion) {
lib/ProfileData/ProfileSummaryBuilder.cpp
   63   if (DetailedSummaryCutoffs.empty())
lib/Support/AMDGPUMetadata.cpp
  185     if (!MD.mArgs.empty() || !YIO.outputting())
  199     if (!MD.mKernels.empty() || !YIO.outputting())
lib/Support/CommandLine.cpp
 2221       bool IsEmptyCategory = CategoryOptions.empty();
lib/Support/DAGDeltaAlgorithm.cpp
  202   while (!Worklist.empty()) {
lib/Support/Debug.cpp
   51   if (CurrentDebugType->empty())
lib/Support/FileCheck.cpp
  636   if (!Substitutions.empty()) {
  724   if (!Substitutions.empty()) {
 1237         CheckStrings->empty()) {
 1262   if (!DagNotMatches.empty()) {
 1269   if (CheckStrings->empty()) {
 1599   if (DagNotStrings.empty())
 1703       if (!NotStrings.empty()) {
 1752   if (Req.CheckPrefixes.empty())
 1773   if (CmdlineDefines.empty())
lib/Support/FileCheckImpl.h
  509     return !(Substitutions.empty() && VariableDefs.empty());
lib/Support/Statistic.cpp
  232   if (Stats.Stats.empty()) return;
lib/Support/TargetRegistry.cpp
  132   if (Targets.empty())
lib/Support/Timer.cpp
  283   if (FirstTimer || TimersToPrint.empty())
  376   if (!TimersToPrint.empty())
lib/TableGen/StringMatcher.cpp
   30   assert(!Matches.empty());
   51   assert(!Matches.empty() && "Must have at least one string to match!");
  133   if (Matches.empty()) return;
lib/TableGen/TGLexer.cpp
  578   if (!PrepIncludeStack.back()->empty()) {
  585   if (PrepIncludeStack.empty()) {
  592     if (!PrepIncludeStack.empty())
  595     if (PrepIncludeStack.empty())
  724     if (PrepIncludeStack.back()->empty())
  757     if (PrepIncludeStack.back()->empty())
 1012   if (PrepIncludeStack.back()->empty())
lib/TableGen/TGParser.cpp
  347   if (!Loops.empty()) {
 3186     if (!Loops.empty())
 3190     if (!Loops.empty())
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
  373     if (Cs.empty()) continue;
  405   if (L.empty())
lib/Target/AArch64/AArch64AsmPrinter.cpp
  691   if (JT.empty()) return;
  711     if (JTBBs.empty()) continue;
lib/Target/AArch64/AArch64CompressJumpTables.cpp
   94   if (JT.MBBs.empty())
lib/Target/AArch64/AArch64FrameLowering.cpp
  355   if (CSI.empty())
 1830   if (CSI.empty())
lib/Target/AArch64/AArch64MachineFunctionInfo.h
  193       if (MFI.getCalleeSavedInfo().empty())
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  849     if (!TSchedModel || DAG->SUnits.empty())
lib/Target/AMDGPU/GCNIterativeScheduler.cpp
  315              if (!Regions.empty() && Regions.back()->Begin == RegionBegin) {
  324   if (Regions.empty())
lib/Target/AMDGPU/R600EmitClauseMarkers.cpp
  149       if (CachedConsts.empty()) {
  298         .addImm(KCacheBanks.empty()?0:KCacheBanks[0].first) // KB0
  300         .addImm(KCacheBanks.empty()?0:2) // KM0
  302         .addImm(KCacheBanks.empty()?0:KCacheBanks[0].second) // KLINE0
lib/Target/AMDGPU/R600MachineScheduler.cpp
   65       (Available[CurInstKind].empty());
   67       (!Available[IDFetch].empty() || !Available[IDOther].empty());
   67       (!Available[IDFetch].empty() || !Available[IDOther].empty());
   69   if (CurInstKind == IDAlu && !Available[IDFetch].empty()) {
  102     if (!SU && !PhysicalRegCopy.empty()) {
  318   if (Q.empty())
  407   while (AvailablesAluCount() || !Pending[IDAlu].empty()) {
  410       if (!AvailableAlus[AluPredX].empty()) {
  415       if (!AvailableAlus[AluDiscarded].empty()) {
  420       if (!AvailableAlus[AluT_XYZW].empty()) {
  427       if (!AvailableAlus[AluTrans].empty()) {
  457   if (AQ.empty()) {
  460   if (!AQ.empty()) {
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
  298     if (PreviousRegSeqByReg[MOp->getReg()].empty())
  315   if (PreviousRegSeqByUndefCount[NeededUndefs].empty())
lib/Target/AMDGPU/R600Packetizer.cpp
  234     if (!isTransSlot && !CurrentPacketMIs.empty()) {
  293         CurrentPacketMIs.empty() ? &MI : CurrentPacketMIs.front();
  309       if (!CurrentPacketMIs.empty())
lib/Target/AMDGPU/SIFrameLowering.cpp
 1079   if (CSI.empty())
lib/Target/AMDGPU/SILowerSGPRSpills.cpp
  217     if (!CSI.empty()) {
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  266   if (!SpillLanes.empty())
lib/Target/AMDGPU/SIMachineScheduler.cpp
  298   while (!TopReadySUs.empty()) {
  416   while (!TopReadySUs.empty()) {
  430             TopReadySUs.empty());
 1306   while (!WorkList.empty()) {
 1420     if (Block->getPreds().empty())
 1619   if (ReadyBlocks.empty())
lib/Target/AMDGPU/SIWholeQuadMode.cpp
  513   while (!Worklist.empty()) {
lib/Target/ARM/ARMAsmPrinter.cpp
  526     if (!Stubs.empty()) {
  539     if (!Stubs.empty()) {
lib/Target/ARM/ARMConstantIslandPass.cpp
 1201   if (WaterList.empty())
lib/Target/ARM/ARMFrameLowering.cpp
 1429   if (CSI.empty())
 1460   if (CSI.empty())
lib/Target/ARM/ARMISelDAGToDAG.cpp
 4423   if (!Ops.empty()) {
 4538   if (!Ops.empty()) {
lib/Target/ARM/ARMISelLowering.cpp
 9517   assert(!LPadList.empty() &&
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
   59         return !ITStates.empty();
lib/Target/ARM/Thumb1FrameLowering.cpp
  812   if (CSI.empty())
  935   if (CSI.empty())
lib/Target/AVR/AVRFrameLowering.cpp
  239   if (CSI.empty()) {
  280   if (CSI.empty()) {
lib/Target/BPF/BPFMIChecking.cpp
  137   if (GPR32LiveDefs.empty())
  142   if (GPR64DeadDefs.empty())
lib/Target/Hexagon/HexagonBitSimplify.cpp
 3141   if (Phis.empty())
lib/Target/Hexagon/HexagonBlockRanges.cpp
   84   if (empty())
  437     if (F == LiveMap.end() || F->second.empty()) {
lib/Target/Hexagon/HexagonCommonGEP.cpp
  453     while (!Work.empty()) {
 1143   while (!Work.empty()) {
 1170   while (!Roots.empty()) {
lib/Target/Hexagon/HexagonFrameLowering.cpp
  268     if (CSI.empty())
 1213   if (CSI.empty())
 1280   if (CSI.empty())
 2198       if (F == P.second.Map.end() || F->second.empty())
 2211       if (FIs.empty())
lib/Target/Hexagon/HexagonGenInsert.cpp
 1053     if (I->second.empty())
 1328     if (LL.empty())
 1380     if (!LL.empty())
 1385     if (LL.empty())
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
  686   bool empty() const { return List.empty(); }
lib/Target/Hexagon/HexagonSplitDouble.cpp
  542   if (DP.empty())
lib/Target/Hexagon/HexagonStoreWidening.cpp
  308   assert(OG.empty() && "Old group not empty on entry");
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
 1692   if (CurrentPacketMIs.empty())
 1768     if (!CurrentPacketMIs.empty()) {
 1828   if (!OldPacketMIs.empty()) {
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  324   if (!L->getSubLoops().empty())
  655   assert(CurLoop->getSubLoops().empty() &&
lib/Target/Hexagon/HexagonVectorPrint.cpp
  159   Changed = !VecPrintList.empty();
lib/Target/Hexagon/RDFGraph.cpp
  357   if (Blocks.empty())
 1474   while (!MaxRefs.empty()) {
lib/Target/Hexagon/RDFGraph.h
  672       bool empty() const { return Stack.empty() || top() == bottom(); }
lib/Target/Hexagon/RDFRegisters.h
   41       assert(Idx != 0 && !Map.empty() && Idx-1 < Map.size());
lib/Target/MSP430/MSP430FrameLowering.cpp
  184   if (CSI.empty())
  210   if (CSI.empty())
lib/Target/Mips/Mips16FrameLowering.cpp
   72   if (!CSI.empty()) {
lib/Target/Mips/MipsConstantIslandPass.cpp
 1170   if (WaterList.empty())
lib/Target/Mips/MipsISelLowering.cpp
 3606   if (!OutChains.empty()) {
lib/Target/Mips/MipsSEFrameLowering.cpp
  447   if (!CSI.empty()) {
lib/Target/NVPTX/NVPTXISelLowering.cpp
 2653   if (!OutChains.empty())
lib/Target/PowerPC/PPCAsmPrinter.cpp
 1682     if (!Stubs.empty()) {
lib/Target/PowerPC/PPCFrameLowering.cpp
 1863   if (CSI.empty() && !needsFP(MF)) {
 2135   if (CSI.empty())
lib/Target/PowerPC/PPCISelLowering.cpp
14187       if (ML->getLoopDepth() > 1 && ML->getSubLoops().empty())
lib/Target/RISCV/RISCVISelLowering.cpp
 2000   if (!OutChains.empty()) {
lib/Target/Sparc/SparcISelLowering.cpp
  568     if (!OutChains.empty()) {
lib/Target/SystemZ/SystemZFrameLowering.cpp
   84   if (!MF.getLandingPads().empty()) {
  135   if (CSI.empty())
  229   if (CSI.empty())
lib/Target/SystemZ/SystemZTDC.cpp
  329   while (!LogicOpsWorklist.empty()) {
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  252     if (NestingStack.empty())
  263     auto Err = !NestingStack.empty();
  264     while (!NestingStack.empty()) {
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
  143   return !Replacements.empty();
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  271   assert(MF->getConstantPool()->getConstants().empty() &&
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
 1232   if (MFI.getResults().empty())
lib/Target/WebAssembly/WebAssemblyExceptionInfo.h
  143   bool empty() const { return TopLevelExceptions.empty(); }
lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
  156   assert(MFI.getCalleeSavedInfo().empty() &&
lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
   24   assert(WARegs.empty());
lib/Target/X86/X86AsmPrinter.cpp
  666   if (!Stubs.empty()) {
lib/Target/X86/X86CallFrameOptimization.cpp
  142       (!MF.getLandingPads().empty() ||
lib/Target/X86/X86CmovConversion.cpp
  232     if (!CurrLoop->getSubLoops().empty())
lib/Target/X86/X86FrameLowering.cpp
  470   if (CSI.empty()) return;
 2170   if (CSI.empty())
 2828     bool HasDwarfEHHandlers = !WindowsCFI && !MF.getLandingPads().empty();
lib/Target/X86/X86ISelLowering.cpp
30981   assert(!LPadList.empty() &&
lib/Target/XCore/XCoreFrameLowering.cpp
  420   if (CSI.empty())
lib/Transforms/IPO/ArgumentPromotion.cpp
  205       if (ArgIndices.size() == 1 && ArgIndices.begin()->second.empty())
  283           if (!ArgIndex.second.empty()) {
  430         assert(ArgIndices.begin()->second.empty() &&
lib/Transforms/IPO/CalledValuePropagation.cpp
  393     if (!LV.isFunctionSet() || LV.getFunctions().empty())
lib/Transforms/IPO/DeadArgumentElimination.cpp
  826     else if (RetTypes.empty())
lib/Transforms/IPO/FunctionImport.cpp
  714     if (GlobalList.second.SummaryList.empty())
lib/Transforms/IPO/GlobalOpt.cpp
  543   if (NewGlobals.empty())
 1424   while (!PHIsToRewrite.empty()) {
lib/Transforms/IPO/MergeFunctions.cpp
  435   } while (!Deferred.empty());
  516   while (!PDIUnrelatedWL.empty()) {
  536   while (!WorklistBB.empty()) {
lib/Transforms/IPO/PartialInlining.cpp
  475   while (!DFS.empty()) {
 1461   while (!Worklist.empty()) {
lib/Transforms/IPO/PassManagerBuilder.cpp
  460     else if (GlobalExtensionsNotEmpty() || !Extensions.empty())
lib/Transforms/IPO/StripSymbols.cpp
  276   while (!DeadConstants.empty()) {
lib/Transforms/IPO/WholeProgramDevirt.cpp
  383            !SummaryTypeCheckedLoadUsers.empty();
  837   return !TargetsForSlot.empty();
  865   return !TargetsForSlot.empty();
 1491   if (B.Before.Bytes.empty() && B.After.Bytes.empty())
 1491   if (B.Before.Bytes.empty() && B.After.Bytes.empty())
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  484   if (FilterRe.empty() && ExcludeRe.empty()) {
  484   if (FilterRe.empty() && ExcludeRe.empty()) {
  507   if (FilterRe.empty()) {
  509   } else if (ExcludeRe.empty()) {
lib/Transforms/Instrumentation/InstrProfiling.cpp
  913   if (ReferencedNames.empty())
 1017   if (!UsedVars.empty())
lib/Transforms/ObjCARC/BlotMapVector.h
  110     assert(Map.empty() == Vector.empty());
lib/Transforms/Scalar/ConstantHoisting.cpp
  940   if (!ConstIntCandVec.empty())
  943     if (!MapEntry.second.empty())
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1532   if (!PreLoop.Blocks.empty()) {
 1538   if (!PostLoop.Blocks.empty()) {
lib/Transforms/Scalar/InferAddressSpaces.cpp
  390   while (!PostorderStack.empty()) {
lib/Transforms/Scalar/LoopInterchange.cpp
  280   while (!Vec->empty()) {
 1095   return !DepMatrix.empty();
 1225   if (InnerLoop->getSubLoops().empty()) {
lib/Transforms/Scalar/LoopUnswitch.cpp
 1397   if (!LoopProcessWorklist.empty() && LoopProcessWorklist.back() == NewLoop &&
 1583   while (!Worklist.empty()) {
lib/Transforms/Scalar/LoopVersioningLICM.cpp
  221   if (!CurLoop->getSubLoops().empty()) {
lib/Transforms/Scalar/MergeICmps.cpp
  438   assert(!Blocks.empty() && "a chain should have at least one block");
  455       if (Comparisons.empty()) {
  511   if (Comparisons.empty()) {
  851   if (Blocks.empty()) return false;
lib/Transforms/Scalar/PlaceSafepoints.cpp
  299   while (!Worklist.empty()) {
  672   assert(!Calls.empty() && "slow path not found for safepoint poll");
  678   assert(ParsePointsNeeded.empty());
lib/Transforms/Scalar/SROA.cpp
 3718       assert(Offsets.Splits.empty() &&
 3734       assert(!Offsets.Splits.empty() &&
 4546   if (PromotableAllocas.empty())
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 1860   if (Blocks.empty()) {
 1861     assert(SubLoops.empty() &&
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  738   bool Ret = !UnlinkedInstructions.empty();
lib/Transforms/Utils/BasicBlockUtils.cpp
  136   return !DeadBlocks.empty();
lib/Transforms/Utils/CloneFunction.cpp
  481   while (!CloneWorklist.empty()) {
lib/Transforms/Utils/CtorUtils.cpp
  123   if (Ctors.empty())
lib/Transforms/Utils/LoopSimplify.cpp
  678       while (!Children.empty()) {
lib/Transforms/Utils/LowerSwitch.cpp
  292   if (!UnreachableRanges.empty()) {
  464   if (Cases.empty()) {
  578     if (Cases.empty()) {
lib/Transforms/Utils/Mem2Reg.cpp
   50     if (Allocas.empty())
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  629   if (Allocas.empty())
  655   } while (!RenamePassWorkList.empty());
lib/Transforms/Utils/SanitizerStats.cpp
   72   if (Inits.empty()) {
lib/Transforms/Utils/SimplifyCFG.cpp
  761   if (V1->empty())
lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
   58   if (UnreachableBlocks.empty()) {
   74   if (ReturningBlocks.empty()) {
lib/XRay/BlockIndexer.cpp
   63   if (!CurrentBlock.Records.empty())
lib/XRay/Profile.cpp
  122   if (B.PathData.empty())
  355       while (!TSD.empty()) {
projects/openmp/libomptarget/src/rtl.cpp
  272         R.Idx = (RTLs.UsedRTLs.empty())
tools/bugpoint/BugDriver.cpp
  134   assert(!Filenames.empty() && "Must specify at least on input filename!");
  176   if (!PassesToRun.empty()) {
tools/bugpoint/CrashDebugger.cpp
   88   if (!Prefix.empty()) {
  133     if (!Kept.empty() && TestGlobalVariables(Kept))
  135     if (!Prefix.empty() && TestGlobalVariables(Prefix))
  200     if (!Kept.empty() && TestFuncs(Kept))
  202     if (!Prefix.empty() && TestFuncs(Prefix))
  333     if (!Kept.empty() && TestFuncAttrs(Kept))
  335     if (!Prefix.empty() && TestFuncAttrs(Prefix))
  431     if (!Kept.empty() && TestBlocks(Kept))
  433     if (!Prefix.empty() && TestBlocks(Prefix))
  549     if (!Kept.empty() && TestBlocks(Kept))
  551     if (!Prefix.empty() && TestBlocks(Prefix))
  654     if (!Kept.empty() && TestBlocks(Kept))
  656     if (!Prefix.empty() && TestBlocks(Prefix))
  745     if (!Kept.empty() && TestInsts(Kept))
  747     if (!Prefix.empty() && TestInsts(Prefix))
  821     if (!Kept.empty() && TestNamedMDs(Kept))
  823     if (!Prefix.empty() && TestNamedMDs(Prefix))
  888     if (!Kept.empty() && TestNamedMDOps(Kept))
  890     if (!Prefix.empty() && TestNamedMDOps(Prefix))
 1123   if (!FunctionNames.empty() && !BugpointIsInterrupted) {
tools/bugpoint/ExtractFunction.cpp
   62   while (!Todo.empty()) {
  229   assert(!TorList.empty() && "Don't create empty tor list!");
  287   if (!M1Tors.empty()) {
  298   if (!M2Tors.empty()) {
tools/bugpoint/Miscompilation.cpp
   88     if (Suffix.empty()) {
   97   if (Prefix.empty())
  147   if (Suffix.empty())
  200     if (!Suffix.empty()) {
  207     if (!Prefix.empty()) {
  460     if (!Suffix.empty()) {
  467     if (!Prefix.empty()) {
  489   if (!BBs.empty()) {
tools/bugpoint/OptimizerDriver.cpp
  102   if (NoFlyer || PassesToRun.empty())
tools/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
  109     if (!args.empty() && args[0] == "help")
tools/clang/include/clang/Analysis/PathDiagnostic.h
  616     assert(!LPairs.empty() &&
  622     assert(!LPairs.empty() &&
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h
   73     assert(SelfReferences.empty() && "didn't apply all self-references");
tools/clang/include/clang/Frontend/ASTUnit.h
  504     if (!TopLevelDeclsInPreamble.empty())
  511     if (!TopLevelDeclsInPreamble.empty())
  523     return TopLevelDeclsInPreamble.empty() && TopLevelDecls.empty();
  523     return TopLevelDeclsInPreamble.empty() && TopLevelDecls.empty();
tools/clang/include/clang/Lex/Preprocessor.h
 1357   bool isBacktrackEnabled() const { return !BacktrackPositions.empty(); }
 2164     return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
  159   bool wasBlockAborted() const { return !blocksAborted.empty(); }
  160   bool wasBlocksExhausted() const { return !blocksExhausted.empty(); }
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
   77     assert(!ASTs.empty());
tools/clang/lib/ARCMigrate/ARCMT.cpp
  250   assert(!transforms.empty());
  363   assert(!transforms.empty());
tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp
   41   if (MacroLocs.empty())
tools/clang/lib/ARCMigrate/TransformActions.cpp
  192   if (CachedActions.empty()) {
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  568     if (Filter.empty())
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  145   assert(!InnerMatchers.empty() && "Array must not be empty.");
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h
  607     if (Constructed.empty()) return VariantMatcher(); // No overload matched.
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp
  455       if (!Args.empty()) {
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  653       if (ArgsKinds.empty())
tools/clang/lib/Basic/Diagnostic.cpp
  110   if (DiagStateOnPushStack.empty())
tools/clang/lib/Basic/Module.cpp
  246   if (!TopHeaderNames.empty()) {
  463   if (!ConfigMacros.empty() || ConfigMacrosExhaustive) {
tools/clang/lib/Basic/SourceManager.cpp
  250   if (FilenameID == -1 && !Entries.empty())
  253   assert((Entries.empty() || Entries.back().FileOffset < Offset) &&
  258     IncludeOffset = Entries.empty() ? 0 : Entries.back().IncludeOffset;
  262     assert(!Entries.empty() && Entries.back().IncludeOffset &&
  281   assert(!Entries.empty() && "No #line entries for this FID after all!");
tools/clang/lib/CodeGen/BackendUtil.cpp
  693   if (!CodeGenOpts.RewriteMapFiles.empty())
 1383     if (GlobalList.second.SummaryList.empty())
tools/clang/lib/CodeGen/CGCall.cpp
 1770     if (!Recips.empty())
tools/clang/lib/CodeGen/CGDebugInfo.cpp
   75   assert(LexicalBlockStack.empty() &&
  116   assert(!DI->LexicalBlockStack.empty());
  178   if (LexicalBlockStack.empty())
 3756   if (CurLoc.isInvalid() || CurLoc.isMacroID() || LexicalBlockStack.empty())
 3766   if (!LexicalBlockStack.empty())
 3805   assert(!LexicalBlockStack.empty() && "Region stack mismatch, stack empty!");
 3817   assert(!LexicalBlockStack.empty() && "Region stack mismatch, stack empty!");
 3910   assert(!LexicalBlockStack.empty() && "Region stack mismatch, stack empty!");
 4054   assert(!LexicalBlockStack.empty() && "Region stack mismatch, stack empty!");
 4090   assert(!LexicalBlockStack.empty() && "Region stack mismatch, stack empty!");
 4534   if (!LexicalBlockStack.empty())
 4677       if (P.second.empty())
 4752   if (LexicalBlockStack.empty())
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  536   while (!CXXGlobalInits.empty() && !CXXGlobalInits.back())
  539   if (CXXGlobalInits.empty() && PrioritizedCXXGlobalInits.empty())
  620   if (CXXGlobalDtors.empty())
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1605       if (Categories.empty())
 1622       if (ClassAliases.empty())
 1625       if (ConstantStrings.empty()) {
 3607   if (Classes.empty() && Categories.empty() && ConstantStrings.empty() &&
 3607   if (Classes.empty() && Categories.empty() && ConstantStrings.empty() &&
 3607   if (Classes.empty() && Categories.empty() && ConstantStrings.empty() &&
 3625   if (!ConstantStrings.empty()) {
 3810   if (!ClassAliases.empty()) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 2877   if (CGM.getLangOpts().OMPTargetTriples.empty() &&
 9680   if (CGM.getLangOpts().OMPTargetTriples.empty() &&
 9857   if (CGM.getLangOpts().OMPTargetTriples.empty() ||
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  271     if (Members.empty())
  664   if (Padding.empty())
tools/clang/lib/CodeGen/CGStmt.cpp
 2263   if (ResultRegTypes.empty())
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 4157   if (CGM.getLangOpts().OMPTargetTriples.empty())
 4764   if (CGM.getLangOpts().OMPTargetTriples.empty()) {
 4791   if (CGM.getLangOpts().OMPTargetTriples.empty())
 4812   if (CGM.getLangOpts().OMPTargetTriples.empty())
 5155   if (CGM.getLangOpts().OMPTargetTriples.empty())
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1151   if (Fns.empty()) return;
 1696   if (!Features.empty()) {
 1900   if (List.empty())
 2081   if (!DeferredVTables.empty()) {
 2087     assert(DeferredVTables.empty());
 2091   if (DeferredDeclsToEmit.empty())
 2135     if (!DeferredVTables.empty() || !DeferredDeclsToEmit.empty()) {
 2135     if (!DeferredVTables.empty() || !DeferredDeclsToEmit.empty()) {
 2137       assert(DeferredVTables.empty() && DeferredDeclsToEmit.empty());
 2137       assert(DeferredVTables.empty() && DeferredDeclsToEmit.empty());
 2148   assert((OpportunisticVTables.empty() || shouldOpportunisticallyEmitVTables())
 2161   if (Annotations.empty())
tools/clang/lib/CodeGen/CodeGenPGO.h
   50   bool haveRegionCounts() const { return !RegionCounts.empty(); }
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
   91   if (!SelfReferences.empty())
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
  654     assert(!RegionStack.empty() && "statement has no region");
  889     assert(RegionStack.empty() && "Regions entered but never exited");
 1372   if (FunctionRecords.empty())
 1450   if (!FunctionNames.empty()) {
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 2329   if (!NonComdatInits.empty()) {
tools/clang/lib/Driver/Driver.cpp
  825     if (!ConfigFiles.empty()) {
 1607   if (SuggestedCompletions.empty())
 1615   if (SuggestedCompletions.empty() && HasSpace && !Flags.empty()) {
 1615   if (SuggestedCompletions.empty() && HasSpace && !Flags.empty()) {
 1622   if (SuggestedCompletions.empty() && !Cur.endswith("=")) {
tools/clang/lib/Driver/Job.cpp
  328   if (!Environment.empty()) {
tools/clang/lib/Driver/Multilib.cpp
  194   if (Multilibs.empty())
  262   if (Filtered.empty())
tools/clang/lib/Driver/ToolChains/Clang.cpp
 5771   if (EHArgs.empty() &&
tools/clang/lib/Driver/ToolChains/HIP.cpp
  156   if(!Features.empty())
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
  273   if (OsLibs.empty()) {
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  586   if (!Environment.empty())
tools/clang/lib/Driver/XRayArgs.cpp
  100     if (Bundles.empty())
  159     if (SpecifiedModes.empty())
tools/clang/lib/Format/ContinuationIndenter.cpp
  511   assert(!State.Stack.empty());
tools/clang/lib/Format/Format.cpp
  596       if (!Seq.empty() && Seq[0].Language == FormatStyle::LK_None) {
 1191     if (Styles.empty() || Styles[0].Language != FormatStyle::LK_None)
tools/clang/lib/Frontend/ASTUnit.cpp
 1465   if (Invocation && !Invocation->getFrontendOpts().Inputs.empty()) {
 2159                                    CachedCompletionResults.empty();
 2161   CodeCompleteOpts.IncludeGlobals = CachedCompletionResults.empty();
tools/clang/lib/Frontend/ChainedIncludesSource.cpp
  116   assert(!includes.empty() && "No '-chain-include' in options!");
tools/clang/lib/Frontend/CompilerInstance.cpp
  199   if (CI.getHeaderSearchOpts().VFSOverlayFiles.empty())
 1682                                      !HSOpts.PrebuiltModulePaths.empty())) {
tools/clang/lib/Frontend/CompilerInvocation.cpp
 1093   if (XRayInstrBundles.empty())
 2005   if (Inputs.empty())
 3462       Res.getDependencyOutputOpts().Targets.empty()) {
 3695   if (CI.getHeaderSearchOpts().VFSOverlayFiles.empty())
tools/clang/lib/Frontend/FrontendAction.cpp
  832     if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) {
tools/clang/lib/Frontend/FrontendActions.cpp
  249   if (Inputs.empty())
  534       if (!LangOpts.ModuleFeatures.empty()) {
  550       if (!TargetOpts.FeaturesAsWritten.empty()) {
  607       if (!PPOpts.Macros.empty()) {
tools/clang/lib/Frontend/MultiplexConsumer.cpp
  250   if (!mutationListeners.empty()) {
  254   if (!serializationListeners.empty()) {
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  874   if (DL.empty())
tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
  178   if (!FEOpts.ASTMergeFiles.empty())
  230   if (!Clang->getFrontendOpts().LLVMArgs.empty()) {
tools/clang/lib/Index/FileIndexRecord.cpp
   26     if (Decls.empty())
tools/clang/lib/Lex/HeaderSearch.cpp
  116   if (!HeaderMaps.empty()) {
  152   if (FileMapOnly || HSOpts->PrebuiltModulePaths.empty())
tools/clang/lib/Lex/MacroArgs.cpp
  170   if (!Result.empty()) return Result;
tools/clang/lib/Lex/ModuleMap.cpp
 1305   return !Mod->UnresolvedConflicts.empty();
tools/clang/lib/Lex/PPCaching.cpp
   33   assert(!BacktrackPositions.empty()
   41   assert(!BacktrackPositions.empty()
  127       assert((BacktrackPositions.empty() || BacktrackPositions.back() <= i) &&
tools/clang/lib/Lex/PPConditionalDirectiveRecord.cpp
   50   if (CondDirectiveLocs.empty())
   69   assert(CondDirectiveLocs.empty() ||
tools/clang/lib/Lex/PPLexerChange.cpp
   37     return IncludeMacroStack.empty();
  313   if ((LeavingSubmodule || IncludeMacroStack.empty()) &&
  403   if (!IncludeMacroStack.empty()) {
  550   if (!MacroExpandingLexersStack.empty() &&
  568   assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load");
tools/clang/lib/Lex/PPMacroExpansion.cpp
 1050   assert(!MacroExpandingLexersStack.empty());
tools/clang/lib/Lex/Pragma.cpp
  651     if (iter->second.empty())
tools/clang/lib/Lex/PreprocessingRecord.cpp
  257     assert((PreprocessedEntities.empty() ||
  267   if (PreprocessedEntities.empty() ||
tools/clang/lib/Lex/Preprocessor.cpp
  169   assert(BacktrackPositions.empty() && "EnableBacktrack/Backtrack imbalance!");
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  563         if (!Tags.empty())
tools/clang/lib/Sema/SemaAttr.cpp
  993   if (Stack->empty())
tools/clang/lib/Sema/SemaCodeComplete.cpp
  235   Result *data() { return Results.empty() ? nullptr : &Results.front(); }
  237   bool empty() const { return Results.empty(); }
tools/clang/lib/Sema/SemaStmt.cpp
 1024     if (!CaseRanges.empty()) {
tools/clang/lib/Sema/SemaType.cpp
 8027     } else if (Def && !TemplateInstCallbacks.empty()) {
tools/clang/lib/Serialization/ASTReader.cpp
 8162   if (!TypesLoaded.empty())
 8166   if (!DeclsLoaded.empty())
 8170   if (!IdentifiersLoaded.empty())
 8174   if (!MacrosLoaded.empty())
 8877   if (IdentifiersLoaded.empty()) {
 8931   if (MacrosLoaded.empty()) {
tools/clang/lib/Serialization/ASTWriter.cpp
  120   if (v.empty()) return StringRef();
 2399   if (SLocEntryOffsets.empty())
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 2005     assert(!EndNotes->second.empty());
 2636     if (!MacroStack.empty() && InstantiationLoc == MacroStack.back().second) {
 2650     while (!MacroStack.empty()) {
tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp
   36   return !StmtCheckers.empty()              ||
   37          !PreObjCMessageCheckers.empty()    ||
   38          !PostObjCMessageCheckers.empty()   ||
   39          !PreCallCheckers.empty()    ||
   40          !PostCallCheckers.empty()   ||
   41          !LocationCheckers.empty()          ||
   42          !BindCheckers.empty()              ||
   43          !EndAnalysisCheckers.empty()       ||
   44          !EndFunctionCheckers.empty()           ||
   45          !BranchConditionCheckers.empty()   ||
   46          !LiveSymbolsCheckers.empty()       ||
   47          !DeadSymbolsCheckers.empty()       ||
   48          !RegionChangesCheckers.empty()     ||
   49          !EvalAssumeCheckers.empty()        ||
   50          !EvalCallCheckers.empty();
tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
  172   if (ChangedNodes.empty())
  407     if (!FreeNodes.empty()) {
tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp
  413   if (!freeStates.empty()) {
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  588     while (!TreePairs.empty()) {
tools/clang/lib/Tooling/AllTUsExecution.cpp
  162     if (OptionsParser.getSourcePathList().empty())
tools/clang/lib/Tooling/CommonOptionsParser.cpp
  127       SourcePathList.empty())
tools/clang/lib/Tooling/Core/Replacement.cpp
  195     if (NewReplaces.empty()) {
  492     if (Result.empty() ||
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
  132     if (Opts->Targets.empty())
tools/clang/lib/Tooling/GuessTargetAndModeCompilationDatabase.cpp
   41       if (Cmd.CommandLine.empty())
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  153     if (!OldArgs.empty())
  342   bool empty() const { return Paths.empty(); }
  510     if (Index.empty() || !Known.empty())
  518     if (ProxyCommands.empty())
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp
   58     if (Result.Children.empty())
  136     if (SelectionKind != SourceSelectionKind::None || !Node.Children.empty())
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp
  351   if (!FormatRanges.empty()) {
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
  139   assert(!USRs.empty());
tools/clang/lib/Tooling/StandaloneExecution.cpp
   76     if (OptionsParser.getSourcePathList().empty())
tools/clang/lib/Tooling/Syntax/Tokens.cpp
  366     assert(!Result.ExpandedTokens.empty());
  537       if (F.second.SpelledTokens.empty())
  615     if (File.Mappings.empty()) {
tools/clang/lib/Tooling/Tooling.cpp
  246   if (!CommandLine.empty() && !InvokedAs.empty()) {
  500     if (CompileCommandsForFile.empty()) {
  531       assert(!CommandLine.empty());
tools/clang/tools/arcmt-test/arcmt-test.cpp
  127   if (CI.getFrontendOpts().Inputs.empty()) {
  166   if (origCI.getFrontendOpts().Inputs.empty()) {
  180   assert(!transforms.empty());
tools/clang/tools/c-index-test/core_main.cpp
  352     if (CompArgs.empty()) {
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp
  155         if (!Args.empty()) {
tools/clang/tools/driver/cc1as_main.cpp
  424   if (!Opts.Features.empty()) {
  597   if (!Asm.LLVMArgs.empty()) {
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
   92   if (!Info.InvocationArguments.empty()) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  969     if (NsMoves.empty())
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  348   if (Enums.empty())
  377   if (Functions.empty())
  420   if (References.empty())
  585   if (Index.Children.empty())
  616     if (ParagraphComment->Children.empty())
  663   if (!I.Description.empty())
  712   if (!I.Description.empty())
  730   if (!I.Description.empty())
  747   if (!I.ChildNamespaces.empty())
  749   if (!I.ChildRecords.empty())
  751   if (!I.ChildFunctions.empty())
  754   if (!I.ChildEnums.empty())
  776   if (!I.Description.empty())
  783   if (!Parents.empty() || !VParents.empty()) {
  783   if (!Parents.empty() || !VParents.empty()) {
  787     if (Parents.empty())
  789     else if (VParents.empty())
  814   if (!I.ChildRecords.empty())
  816   if (!I.ChildFunctions.empty())
  819   if (!I.ChildEnums.empty())
tools/clang/tools/extra/clang-doc/MDGenerator.cpp
  161   if (!I.Description.empty()) {
  167   if (!I.ChildNamespaces.empty()) {
  173   if (!I.ChildRecords.empty()) {
  179   if (!I.ChildFunctions.empty()) {
  185   if (!I.ChildEnums.empty()) {
  198   if (!I.Description.empty()) {
  228   if (!I.ChildRecords.empty()) {
  234   if (!I.ChildFunctions.empty()) {
  240   if (!I.ChildEnums.empty()) {
tools/clang/tools/extra/clang-doc/Representation.cpp
   36   if (Values.empty())
   98   if (Values.empty())
  181   if (Bases.empty())
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  164   if (!MatchedSymbols.empty() && GenerateDiagnostics) {
  284   if (!MatchedSymbols.empty() && GenerateDiagnostics) {
  352   if (!GenerateDiagnostics && !QuerySymbolInfos.empty()) {
  390   if (MatchedSymbols.empty())
  404   if (Context.getHeaderInfos().empty())
tools/clang/tools/extra/clang-include-fixer/SymbolIndexManager.cpp
  147   } while (MatchedSymbols.empty() && !Names.empty() && IsNestedSearch);
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
  136   if (sources.empty()) {
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  302     assert(!HeaderInfos.empty());
  395   assert(!Contexts.empty());
  431       if (!Context.getHeaderInfos().empty()) {
tools/clang/tools/extra/clang-move/Move.cpp
  389   if (!Includes.empty())
  666     if (RemovedDecls.empty()) {
  721   if (RemovedDecls.empty()) return;
  901   if (RemovedDecls.empty())
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  419   if (!Checks.empty())
  426   if (!AnalyzerOptions->CheckersAndPackages.empty()) {
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  246   if (!Errors.empty()) {
  389     assert(!Errors.empty() &&
  449   if (Context.getGlobalOptions().LineFilter.empty())
  453       if (Filter.LineRanges.empty())
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp
  317     if (Comments.empty() && shouldAddComment(Args[I])) {
tools/clang/tools/extra/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp
   85   while (!InnerRanges.empty() && !OuterRanges.empty() && !NextRanges.empty() &&
   85   while (!InnerRanges.empty() && !OuterRanges.empty() && !NextRanges.empty() &&
   85   while (!InnerRanges.empty() && !OuterRanges.empty() && !NextRanges.empty() &&
   95   if (InnerRanges.empty() || NextRanges.empty() ||
   95   if (InnerRanges.empty() || NextRanges.empty() ||
tools/clang/tools/extra/clang-tidy/readability/FunctionSizeCheck.cpp
  180       !FI.NestingThresholders.empty() || FI.Variables > VariableThreshold) {
tools/clang/tools/extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
   91   if (NewSuffixes.empty())
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  364   if (!PathList.empty()) {
  391     if (EnabledChecks.empty()) {
  412   if (EnabledChecks.empty()) {
  418   if (PathList.empty()) {
  445   if (!ExportFixes.empty() && !Errors.empty()) {
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp
  112       if (!FixIts.empty()) {
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
   54         return !C.AddedIncludes.empty();
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  137   if (Ranges.empty())
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1438     if (!QueryScopes.empty())
tools/clang/tools/extra/clangd/Diagnostics.cpp
   67   if (!D.Fixes.empty())
  240   if (Opts.DisplayFixesCount && !D.Fixes.empty())
  290   if (!D.Notes.empty()) {
  299   if (!D.Fixes.empty()) {
tools/clang/tools/extra/clangd/Format.cpp
   43         if (!Brackets.empty() && Brackets.back() == ')')
   47         if (!Brackets.empty() && Brackets.back() == '}')
   51         if (!Brackets.empty() && Brackets.back() == ']')
tools/clang/tools/extra/clangd/Function.h
   92     assert(Listeners.empty());
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp
  114   if (!Candidates.empty())
tools/clang/tools/extra/clangd/Headers.cpp
  150   for (unsigned Level = 1; !CurrentLevel.empty(); ++Level) {
tools/clang/tools/extra/clangd/Protocol.cpp
  641   if (!S.children.empty())
  825   if (!CI.additionalTextEdits.empty())
tools/clang/tools/extra/clangd/Quality.cpp
  316   NeedsFixIts = !SemaCCResult.FixIts.empty();
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  217     if (!Cmd || Cmd->CommandLine.empty())
tools/clang/tools/extra/clangd/SemanticSelection.cpp
   23   if (Result.empty() || Result.back() != R) {
tools/clang/tools/extra/clangd/SourceCode.cpp
 1104   if (ER.EligiblePoints.empty()) {
tools/clang/tools/extra/clangd/XRefs.cpp
  894     if (!Decls.empty())
 1162   if (Decls.empty())
tools/clang/tools/extra/clangd/index/BackgroundQueue.cpp
   25       CV.wait(Lock, [&] { return ShouldStop || !Queue.empty(); });
   46       if (NumActiveTasks == 1 && Queue.empty() && OnIdle) {
  111               [&] { return Queue.empty() && NumActiveTasks == 0; });
tools/clang/tools/extra/clangd/index/Ref.h
   85   bool empty() const { return Refs.empty(); }
tools/clang/tools/extra/clangd/index/Relation.h
   58   bool empty() const { return Relations.empty(); }
tools/clang/tools/extra/clangd/index/Serialization.cpp
  187     assert(!Sorted.empty() && "table not finalized");
tools/clang/tools/extra/clangd/index/Symbol.h
  190   bool empty() const { return Symbols.empty(); }
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
  189         Corpus.boost(Corpus.all(), ScopeIterators.empty() ? 1.0 : 0.2));
tools/clang/tools/extra/clangd/index/dex/Iterator.cpp
   29     assert(!Children.empty() && "AND iterator should have at least one child.");
  138     assert(!Children.empty() && "OR iterator should have at least one child.");
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
  145     Request.AnyScope = Request.Scopes.empty();
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
   39          arg.Digest == FileDigest{{0}} && arg.DirectIncludes.empty();
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
  104   if (!IndexSymbols.empty()) {
  122   if (!IndexSymbols.empty()) {
  157   if (!IndexSymbols.empty()) {
  896   EXPECT_TRUE(Results.Completions.empty());
  985   EXPECT_TRUE(Results.Completions.empty());
 1009   if (!IndexSymbols.empty())
 1719     if (!C.FixIts.empty()) {
 1758     EXPECT_TRUE(C.FixIts.empty() || C.Name == "AuxFunction");
 1759     if (!C.FixIts.empty()) {
 1782   EXPECT_TRUE(R.additionalTextEdits.empty());
 2182   assert(!Results.empty());
 2362   EXPECT_TRUE(Results.Completions.empty());
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
   58     EXPECT_FALSE(Clang->getFrontendOpts().Inputs.empty());
tools/clang/tools/extra/clangd/unittests/RenameTests.cpp
  183     if (T.ranges().empty())
tools/clang/tools/extra/clangd/unittests/SelectionTests.cpp
  304     if (Test.ranges().empty()) {
tools/clang/tools/extra/clangd/unittests/SemanticHighlightingTests.cpp
   27 MATCHER(EmptyHighlightings, "") { return arg.Tokens.empty(); }
tools/clang/tools/extra/clangd/unittests/TestFS.cpp
   50   if (ExtraClangFlags.empty())
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  153   assert(!Cases.empty() && "No markings in MarkedCode?");
tools/clang/tools/extra/clangd/unittests/TypeHierarchyTests.cpp
   72   ASSERT_TRUE(AST.getDiagnostics().empty());
   96   ASSERT_TRUE(AST.getDiagnostics().empty());
  119   ASSERT_TRUE(AST.getDiagnostics().empty());
  148   ASSERT_TRUE(AST.getDiagnostics().empty());
  184   ASSERT_TRUE(AST.getDiagnostics().empty());
  211   ASSERT_TRUE(AST.getDiagnostics().empty());
  261   ASSERT_TRUE(AST.getDiagnostics().empty());
  290   ASSERT_TRUE(AST.getDiagnostics().empty());
  321   ASSERT_TRUE(AST.getDiagnostics().empty());
  407   ASSERT_TRUE(!AST.getDiagnostics().empty());
  441   ASSERT_TRUE(AST.getDiagnostics().empty());
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp
  458     if (!T.ranges().empty())
  460     if (!T.ranges("decl").empty())
  462     if (!T.ranges("def").empty())
 1013     ASSERT_TRUE(AST.getDiagnostics().empty());
 2200     ASSERT_TRUE(AST.getDiagnostics().empty())
 2270     ASSERT_TRUE(AST.getDiagnostics().empty())
tools/clang/tools/extra/modularize/CoverageChecker.cpp
  185   if (!UnaccountedForHeaders.empty())
tools/clang/tools/extra/modularize/Modularize.cpp
  977     if (H->second.empty()) {
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
   70   while (!SubModules.empty()) {
tools/clang/tools/extra/unittests/clang-include-fixer/IncludeFixerTest.cpp
  104   if (FixerContexts.front().getHeaderInfos().empty())
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp
   12   EXPECT_TRUE(Options.LineFilter.empty());
   14   EXPECT_TRUE(Options.LineFilter.empty());
   20   EXPECT_TRUE(Options.LineFilter.empty());
tools/clang/tools/extra/unittests/clang-tidy/GoogleModuleTest.cpp
   74     if (Errors.empty())
tools/clang/tools/libclang/CIndex.cpp
 8646                             !entries->empty() ? &(*entries)[0] : nullptr };
tools/clang/tools/libclang/CIndexDiagnostic.h
   48     return Diagnostics.empty();
tools/clang/tools/libclang/CXCompilationDatabase.cpp
   51     if (!CCmd.empty())
   62     if (!CCmd.empty())
tools/clang/tools/libclang/CXCursor.cpp
 1504   if (!pool.AvailableCursors.empty()) {
tools/clang/tools/libclang/CXString.cpp
  135   if (Pool.empty())
tools/clang/tools/libclang/Indexing.cpp
  523   if (CInvok->getFrontendOpts().Inputs.empty())
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
  170     if (ExpectedInitial.empty() && ExpectedNonInitial.empty() &&
  170     if (ExpectedInitial.empty() && ExpectedNonInitial.empty() &&
  171         UnexpectedInitial.empty() && UnexpectedNonInitial.empty())
  171         UnexpectedInitial.empty() && UnexpectedNonInitial.empty())
  173     if (!UnexpectedInitial.empty() || !UnexpectedNonInitial.empty())
  173     if (!UnexpectedInitial.empty() || !UnexpectedNonInitial.empty())
  194       !ExpectedInitial.empty()
  196       !ExpectedNonInitial.empty()
  198       !UnexpectedInitial.empty()
  200       !UnexpectedNonInitial.empty()
  212     if (!ExpectedInitial.empty()) {
  218     if (!ExpectedNonInitial.empty()) {
  224     if (!UnexpectedInitial.empty()) {
  230     if (!UnexpectedNonInitial.empty()) {
tools/clang/unittests/Lex/LexerTest.cpp
  480   EXPECT_TRUE(Lex("  //  \\\n").empty());
  481   EXPECT_TRUE(Lex("#include <\\\\").empty());
  482   EXPECT_TRUE(Lex("#include <\\\\\n").empty());
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp
  184   if (Commands.empty())
  288   EXPECT_TRUE(NotFound.CommandLine.empty()) << ErrorMessage;
  318   EXPECT_TRUE(NotFound.CommandLine.empty()) << ErrorMessage;
  411   EXPECT_TRUE(Result.empty());
  699     if (Results.empty())
  713     if (Results.empty())
  846     if (Results.empty())
tools/clang/unittests/Tooling/DiagnosticsYamlTest.cpp
  171   EXPECT_TRUE(Fixes3.empty());
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
  814       assert(!uniques.empty());
  946       assert(!uniques.empty());
 1348   if (Spellings.empty()) {
 1376   if (Spellings.empty()) {
 1536   assert(!SpellingList.empty() && "Spelling list is empty!");
 1555   if (Accessors.empty())
 1559   assert(!SpellingList.empty() &&
 1579   assert(!Spellings.empty() && "An empty list of spellings was provided");
 1711       if (!Opts.empty())
 1718   bool isAbstractRule() const { return getSubjects().empty(); }
 1932   if (Subjects.empty())
 2108     if (Args.empty())
 2166     if (Args.empty() || !isVariadicIdentifierArgument(Args[0]))
 2187     if (Args.empty() || !isIdentifierArgument(Args[0]))
 2213     if (Args.empty() || !keywordThisIsaIdentifierInArgument(Args[0]))
 2665       if (!SubClasses.empty())
 2671       if (!Attrs.empty())
 2863     if (R.isSubClassOf(InhClass) || !Args.empty())
 2924   if (!Arches.empty()) {
 3342   if (DiagList.empty()) {
 3422   if (Subjects.empty())
 3485     assert(!Subjects.empty() && "Missing subjects");
 3519   if (LangOpts.empty())
 3842       if (!Args.empty())
 3869       if (!Args.empty())
 3977   if (Spellings.empty())
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  153   assert(!LHS->DiagsInGroup.empty() && !RHS->DiagsInGroup.empty());
  153   assert(!LHS->DiagsInGroup.empty() && !RHS->DiagsInGroup.empty());
  823     if (P->Pieces.empty()) {
  845       if (Lines.empty())
  953       if (!P->Options.empty())
  969     if (!P->Options.empty())
 1327     if (!SubGroups.empty() || (IsPedantic && !GroupsInPedantic.empty())) {
 1327     if (!SubGroups.empty() || (IsPedantic && !GroupsInPedantic.empty())) {
 1378     if (!V.empty() || (IsPedantic && !DiagsInPedantic.empty())) {
 1378     if (!V.empty() || (IsPedantic && !DiagsInPedantic.empty())) {
 1480         !V.empty() || (IsPedantic && !DiagsInPedantic.empty());
 1480         !V.empty() || (IsPedantic && !DiagsInPedantic.empty());
 1494         !SubGroups.empty() || (IsPedantic && !GroupsInPedantic.empty());
 1494         !SubGroups.empty() || (IsPedantic && !GroupsInPedantic.empty());
 1726     bool IsSynonym = GroupInfo.DiagsInGroup.empty() &&
 1752     if (!GroupInfo.SubGroups.empty()) {
 1755       else if (GroupInfo.DiagsInGroup.empty())
 1770     if (!GroupInfo.DiagsInGroup.empty()) {
 1785     else if (GroupInfo.SubGroups.empty() && GroupInfo.DiagsInGroup.empty())
 1785     else if (GroupInfo.SubGroups.empty() && GroupInfo.DiagsInGroup.empty())
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
  273   if (!AliasArgs.empty()) {
  322   assert(!SphinxOptionIDs.empty() && "no flags for option");
tools/clang/utils/TableGen/ClangTypeNodesEmitter.cpp
  111 	if (Types.empty())
tools/clang/utils/TableGen/MveEmitter.cpp
  648     if (!ParamTypes.empty()) {
  814     if (SemaChecks.empty())
 1626     if (!MG.ParamTypes.empty()) {
tools/clang/utils/TableGen/NeonEmitter.cpp
 1507   assert(!Lines.empty() && "Empty def?");
 2037   assert_with_loc(!GoodVec.empty(),
tools/dsymutil/BinaryHolder.cpp
  203   if (OE.Objects.empty())
tools/dsymutil/DwarfLinker.cpp
  520   if (ValidRelocs.empty())
 1730     if (!Entries.empty()) {
 1767   if (Seq.empty())
 1770   if (!Rows.empty() && Rows.back().Address < Seq.front().Address) {
 1891       if (StopAddress != -1ULL && !Seq.empty()) {
 1909     if (Row.EndSequence && Seq.empty())
 2450   if (DMO.getWarnings().empty() || !DMO.empty())
 2773     if (!Options.NoOutput && !LinkContext.CompileUnits.empty() &&
tools/dsymutil/DwarfLinker.h
  114     bool hasValidRelocs() const { return !ValidRelocs.empty(); }
tools/dsymutil/DwarfStreamer.cpp
  207   if (EmittedUnits.empty())
  280   int64_t PcOffset = Entries.empty() ? 0 : FuncRange.value() + UnitPcOffset;
  328   if (!Ranges.empty()) {
  396   if (Attributes.empty())
  476   if (Rows.empty()) {
  717   if (Names.empty())
tools/dsymutil/SymbolMap.h
   33   operator bool() const { return !UnobfuscatedStrings.empty(); }
tools/dsymutil/dsymutil.cpp
  151   if (Options.InputFiles.empty()) {
  519     if (DebugMapPtrsOrErr->empty()) {
tools/gold/gold-plugin.cpp
  302       if (extra.empty())
  616   if (!cf.syms.empty()) {
tools/llc/llc.cpp
  547     if (!RunPassNames->empty()) {
tools/lld/COFF/Chunks.cpp
  767   if (relocs.empty())
  774   if (relocs.empty())
tools/lld/COFF/DLL.h
   25   bool empty() { return imports.empty(); }
   42   bool empty() { return imports.empty(); }
tools/lld/COFF/Driver.cpp
 1013        (resourceObjFiles.size() == 1 && !resources.empty()))) {
 1014     error((!resources.empty() ? "internal .obj file created from .res files"
 1021   if (resources.empty() && resourceObjFiles.size() <= 1) {
 1044     if (!config->exports.empty())
 1496   if (!config->manifestInput.empty() &&
 1818     if (!BitcodeFile::instances.empty())
 1857   if (!BitcodeFile::instances.empty() && !config->forceUnresolved)
 1882   config->hadExplicitExports = !config->exports.empty();
 1908   if (!config->exports.empty() || config->dll) {
tools/lld/COFF/DriverUtils.cpp
  441   if (config->manifestInput.empty())
tools/lld/COFF/InputFiles.h
  166   bool isResourceObjFile() const { return !resourceChunks.empty(); }
tools/lld/COFF/PDB.cpp
 1119     if (!stringTableReferences.empty())
 1299   if (!publics.empty()) {
 1460   assert(!sec->chunks.empty());
 1508   if (ImportFile::instances.empty())
tools/lld/COFF/SymbolTable.cpp
  162   if (locations.empty())
  793   if (BitcodeFile::instances.empty())
tools/lld/COFF/Writer.cpp
  699     if (!pSec->chunks.empty())
  741   if (!idata.hints.empty())
  752     if (!importDirs->chunks.empty())
  759     if (!importAddresses->chunks.empty())
  916   if (!symtab->localImportChunks.empty()) {
  986   if (ImportFile::instances.empty())
 1016   if (!edataSec->chunks.empty()) {
 1021   } else if (!config->exports.empty()) {
 1025   if (!edataSec->chunks.empty()) {
 1039     return s->chunks.empty();
 1168   if (outputSymtab.empty() && strtab.empty())
 1168   if (outputSymtab.empty() && strtab.empty())
 1180   if (!pdataSec->chunks.empty()) {
 1446   if (outputSymtab.empty() && strtab.empty())
 1446   if (outputSymtab.empty() && strtab.empty())
 1460   if (!strtab.empty())
 1692   if (!rels.empty())
 1904     if (!v.empty())
tools/lld/ELF/AArch64ErrataFix.cpp
  471     if (!mapSyms.empty() && !isCodeMapSymbol(mapSyms.front()))
  636         if (!patches.empty()) {
tools/lld/ELF/ARMErrataFix.cpp
  176   if (!relocations.empty()) {
  346     if (!mapSyms.empty() && !isThumbMapSymbol(mapSyms.front()))
  518         if (!patches.empty()) {
tools/lld/ELF/Arch/AMDGPU.cpp
   48   assert(!objectFiles.empty());
tools/lld/ELF/Arch/Hexagon.cpp
   60   assert(!objectFiles.empty());
tools/lld/ELF/Arch/MipsArchTree.cpp
  301   if (v.empty()) {
tools/lld/ELF/Arch/RISCV.cpp
  109   assert(!objectFiles.empty());
tools/lld/ELF/Driver.cpp
  311   if (!config->shared && !config->filterList.empty())
  314   if (!config->shared && !config->auxiliaryList.empty())
 1044   assert(config->versionDefinitions.empty());
 1237       if (stack.empty()) {
 1247   if (files.empty() && errorCount() == 0)
 1748       !sharedFiles.empty() || config->isPic || config->exportDynamic;
 1785   if (!bitcodeFiles.empty())
 1848   if (!wrapped.empty())
tools/lld/ELF/InputFiles.cpp
  146   if (!objectFiles.empty())
  148   else if (!sharedFiles.empty())
  373   if (this->symbols.empty())
tools/lld/ELF/InputSection.cpp
 1275   assert(pieces.empty());
tools/lld/ELF/LTO.cpp
  251   if (!bitcodeFiles.empty())
tools/lld/ELF/LinkerScript.cpp
  270       if (!p.second.empty())
  332   if (keptSections.empty())
  881   if (!sec.phdrs.empty())
  949     bool isEmpty = getInputSections(sec).empty();
 1005     if (sec->phdrs.empty()) {
 1154   if (phdrsCommands.empty())
tools/lld/ELF/LinkerScript.h
  266   bool hasPhdrsCommands() { return !phdrsCommands.empty(); }
tools/lld/ELF/MapFile.cpp
  113     if (!pieces.empty()) {
tools/lld/ELF/OutputSections.cpp
   97   if (sectionCommands.empty() ||
  315     fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler);
  356   InputSection *first = v.empty() ? nullptr : v[0];
tools/lld/ELF/Relocations.cpp
  573   if (osec->sectionCommands.empty() ||
  840     if (!it.value().locs.empty())
 1545         if (isd->thunkSections.empty())
 1619     if (!isd || isd->sections.empty())
 1658         if (isd->sections.empty())
tools/lld/ELF/ScriptLexer.cpp
  295   assert(!mbs.empty() && pos > 0);
tools/lld/ELF/ScriptParser.cpp
  185   if (!locals.empty()) {
  640     if (!v.empty())
tools/lld/ELF/SymbolTable.cpp
  180   if (syms.empty()) {
tools/lld/ELF/Symbols.cpp
  292   if (isUndefWeak() && config->pie && sharedFiles.empty())
tools/lld/ELF/SyntheticSections.cpp
  177   if (sections.empty())
  234   if (sections.empty())
  769   if (gots.empty())
  780   if (gots.empty())
  815   if (gots.empty())
 1115   return !entries.empty() || hasGotPltOffRel;
 1369   if (part.relrDyn && !part.relrDyn->relocs.empty()) {
 1451       if (!f->vernauxs.empty())
 1815   if (!ungroupedRelatives.empty()) {
 1842   if (!ungroupedNonRelatives.empty()) {
 2279   if (symbols.empty()) {
 2537   if (!symbols.empty()) {
 2804 bool GdbIndexSection::isNeeded() const { return !chunks.empty(); }
 2949   if (file.vernauxs.empty())
 2969     if (f->vernauxs.empty())
 3371   if (thunks.empty())
 3465   return !finalized || !entries.empty();
tools/lld/ELF/SyntheticSections.h
   72   bool isNeeded() const override { return !sections.empty(); }
  397   bool isNeeded() const override { return !entries.empty(); }
  498   bool isNeeded() const override { return !relocs.empty(); }
  550   bool isNeeded() const override { return !relocs.empty(); }
  674   bool isNeeded() const override { return !entries.empty(); }
tools/lld/ELF/Writer.cpp
  138   return !sharedFiles.empty() && !config->dynamicLinker.empty() &&
  711         return !isd->sections.empty();
 1205   if (config->symbolOrderingFile.empty())
 1306   if (target->getThunkSectionSpacing() && !orderedSections.empty()) {
tools/lld/lib/Core/Error.cpp
   66     if (_messages.empty())
tools/lld/lib/Core/LinkingContext.cpp
   51   if (_initialUndefinedSymbols.empty())
tools/lld/lib/Core/Resolver.cpp
  405   if (undefinedAtoms.empty())
tools/lld/lib/Driver/DarwinLdDriver.cpp
  613   if (!sysLibRoots.empty()) {
 1124   if (ctx.getNodes().empty()) {
 1161   if (ctx.getNodes().empty())
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  503     while (!usedDwarfWorklist.empty()) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  276     if (!_file.functionStarts.empty() || alwaysIncludeFunctionStarts) {
  452   if (!_file.functionStarts.empty() || alwaysIncludeFunctionStarts) {
  606   if (sect.indirectSymbols.empty())
  614   if (sect.indirectSymbols.empty())
  655     sout->reloff = sin.relocations.empty() ? 0 : relOffset;
 1427   if (_file.exportInfo.empty())
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  714   if (normalizedFile.stabsSymbols.empty())
 1568   if (!normalizedFile.exportInfo.empty()) {
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
   79   EXPECT_TRUE(f->localSymbols.empty());
   80   EXPECT_TRUE(f->globalSymbols.empty());
   81   EXPECT_TRUE(f->undefinedSymbols.empty());
  110   EXPECT_TRUE(f->localSymbols.empty());
  111   EXPECT_TRUE(f->globalSymbols.empty());
  112   EXPECT_TRUE(f->undefinedSymbols.empty());
  141   EXPECT_TRUE(f->localSymbols.empty());
  142   EXPECT_TRUE(f->globalSymbols.empty());
  143   EXPECT_TRUE(f->undefinedSymbols.empty());
  172   EXPECT_TRUE(f->localSymbols.empty());
  173   EXPECT_TRUE(f->globalSymbols.empty());
  174   EXPECT_TRUE(f->undefinedSymbols.empty());
  186   EXPECT_TRUE(f->localSymbols.empty());
  187   EXPECT_TRUE(f->globalSymbols.empty());
  188   EXPECT_TRUE(f->undefinedSymbols.empty());
  195   EXPECT_TRUE(f2->localSymbols.empty());
  196   EXPECT_TRUE(f2->globalSymbols.empty());
  197   EXPECT_TRUE(f2->undefinedSymbols.empty());
  284   EXPECT_TRUE(text.indirectSymbols.empty());
  310   EXPECT_TRUE(cstring.indirectSymbols.empty());
  311   EXPECT_TRUE(cstring.relocations.empty());
  409   EXPECT_TRUE(text.indirectSymbols.empty());
  445   EXPECT_TRUE(cstring.indirectSymbols.empty());
  446   EXPECT_TRUE(cstring.relocations.empty());
  541   EXPECT_TRUE(text.indirectSymbols.empty());
  586   EXPECT_TRUE(cstring.indirectSymbols.empty());
  587   EXPECT_TRUE(cstring.relocations.empty());
  685   EXPECT_TRUE(text.indirectSymbols.empty());
  729   EXPECT_TRUE(cstring.indirectSymbols.empty());
  730   EXPECT_TRUE(cstring.relocations.empty());
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
  162   EXPECT_TRUE(f2->localSymbols.empty());
  163   EXPECT_TRUE(f2->globalSymbols.empty());
  274   EXPECT_TRUE(f2->localSymbols.empty());
  275   EXPECT_TRUE(f2->globalSymbols.empty());
  393   EXPECT_TRUE(f2->localSymbols.empty());
  550   EXPECT_TRUE(f2->localSymbols.empty());
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
   54   EXPECT_TRUE(f->sections.empty());
   55   EXPECT_TRUE(f->localSymbols.empty());
   56   EXPECT_TRUE(f->globalSymbols.empty());
   57   EXPECT_TRUE(f->undefinedSymbols.empty());
   70   EXPECT_TRUE(f->sections.empty());
   71   EXPECT_TRUE(f->localSymbols.empty());
   72   EXPECT_TRUE(f->globalSymbols.empty());
   73   EXPECT_TRUE(f->undefinedSymbols.empty());
   86   EXPECT_TRUE(f->sections.empty());
   87   EXPECT_TRUE(f->localSymbols.empty());
   88   EXPECT_TRUE(f->globalSymbols.empty());
   89   EXPECT_TRUE(f->undefinedSymbols.empty());
  102   EXPECT_TRUE(f->sections.empty());
  103   EXPECT_TRUE(f->localSymbols.empty());
  104   EXPECT_TRUE(f->globalSymbols.empty());
  105   EXPECT_TRUE(f->undefinedSymbols.empty());
  118   EXPECT_TRUE(f->sections.empty());
  119   EXPECT_TRUE(f->localSymbols.empty());
  120   EXPECT_TRUE(f->globalSymbols.empty());
  121   EXPECT_TRUE(f->undefinedSymbols.empty());
  134   EXPECT_TRUE(f->sections.empty());
  135   EXPECT_TRUE(f->localSymbols.empty());
  136   EXPECT_TRUE(f->globalSymbols.empty());
  137   EXPECT_TRUE(f->undefinedSymbols.empty());
  155     EXPECT_TRUE(f2->sections.empty());
  156     EXPECT_TRUE(f2->localSymbols.empty());
  157     EXPECT_TRUE(f2->globalSymbols.empty());
  158     EXPECT_TRUE(f2->undefinedSymbols.empty());
  177   EXPECT_TRUE(f->sections.empty());
  178   EXPECT_TRUE(f->localSymbols.empty());
  179   EXPECT_TRUE(f->undefinedSymbols.empty());
  206   EXPECT_TRUE(f->localSymbols.empty());
  207   EXPECT_TRUE(f->globalSymbols.empty());
  208   EXPECT_TRUE(f->undefinedSymbols.empty());
tools/lld/wasm/Driver.cpp
  758   if (!wrapped.empty())
tools/lld/wasm/SymbolTable.cpp
   68   if (bitcodeFiles.empty())
  571   if (variants.empty())
tools/lld/wasm/SyntheticSections.cpp
  387   if (!symtabEntries.empty()) {
  439   if (!initFunctions.empty()) {
  463     if (inputSegments.empty())
tools/lldb/include/lldb/Core/FileSpecList.h
  159   bool IsEmpty() const { return m_files.empty(); }
tools/lldb/include/lldb/Core/IOHandler.h
  519     return m_stack.empty();
  526       if (!m_stack.empty())
  534     if (!m_stack.empty()) {
  541     m_top = (m_stack.empty() ? nullptr : m_stack.back().get());
tools/lldb/include/lldb/Core/UniqueCStringMap.h
  108     if (!m_map.empty()) {
  147   bool IsEmpty() const { return m_map.empty(); }
tools/lldb/include/lldb/Expression/DiagnosticManager.h
  125     if (!m_diagnostics.empty())
tools/lldb/include/lldb/Host/Debug.h
   52   bool IsEmpty() const { return m_actions.empty(); }
tools/lldb/include/lldb/Symbol/Block.h
  217     return (m_children.empty() ? nullptr : m_children.front().get());
tools/lldb/include/lldb/Symbol/UnwindPlan.h
  431     if (m_row_list.empty())
tools/lldb/include/lldb/Symbol/VariableList.h
   66   bool Empty() const { return m_variables.empty(); }
tools/lldb/include/lldb/Target/PathMappingList.h
   45   bool IsEmpty() const { return m_pairs.empty(); }
tools/lldb/include/lldb/Target/Platform.h
  949     if (!m_selected_platform_sp && !m_platforms.empty())
tools/lldb/include/lldb/Utility/RangeMap.h
  350     if (m_entries.empty()) {
  473   bool IsEmpty() const { return m_entries.empty(); }
  486   Entry *Back() { return (m_entries.empty() ? nullptr : &m_entries.back()); }
  500     if (!m_entries.empty()) {
  522     if (!m_entries.empty()) {
tools/lldb/include/lldb/Utility/StreamTee.h
  116     if (m_streams.empty())
tools/lldb/source/API/SBTarget.cpp
 1849           if (!types.empty())
tools/lldb/source/API/SBThread.cpp
  936     if (step_over_until_addrs.empty()) {
tools/lldb/source/Breakpoint/Breakpoint.cpp
  222   if (names.empty())
tools/lldb/source/Breakpoint/BreakpointLocationList.cpp
  100   if (!m_locations.empty()) {
tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp
  133       if (!sc_to_remove.empty()) {
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
  157     if (!m_commands.empty())
  159       if (!m_commands.empty())
  552     else if (!m_options.m_func_names.empty())
  722       if (!m_options.m_breakpoint_names.empty()) {
 1927     if (name_list.empty()) {
tools/lldb/source/Commands/CommandObjectDisassemble.cpp
  432       if (ranges.empty()) {
  478       if (ranges.empty()) {
tools/lldb/source/Commands/CommandObjectSource.cpp
  579     if (!m_options.modules.empty()) {
 1167       if (!m_options.modules.empty()) {
tools/lldb/source/Commands/CommandObjectTarget.cpp
 3092     if (m_options.m_format_array.empty()) {
tools/lldb/source/Commands/CommandObjectThread.cpp
  872         if (resume_threads.empty()) {
  890               if (!resume_threads.empty())
 1121       } else if (m_options.m_until_addrs.empty()) {
 1225         if (address_list.empty()) {
tools/lldb/source/Commands/CommandObjectType.cpp
 2566     if (m_options.m_expr_paths.empty()) {
tools/lldb/source/Core/FormatEntity.cpp
  277   if (children.empty() || children.back().type != Entry::Type::String)
  284   if (children.empty() || children.back().type != Entry::Type::String)
tools/lldb/source/Core/IOHandler.cpp
 1204     if (!m_subwindows.empty()) {
 1586       else if (!submenus.empty())
 1597       else if (!submenus.empty())
 1608       else if (!submenus.empty())
 2163     if (m_children.empty())
 2924       if (row.expanded && !children.empty()) {
 2947         if (row.expanded && !children.empty()) {
tools/lldb/source/Core/Section.cpp
  506   if (section_dstr && !m_sections.empty()) {
  593   if (show_header && !m_sections.empty()) {
  612   if (show_header && !m_sections.empty())
tools/lldb/source/Core/SourceManager.cpp
  620     if (!m_offsets.empty() && m_offsets[0] == UINT32_MAX)
  623     if (m_offsets.empty()) {
  650         if (!m_offsets.empty()) {
tools/lldb/source/DataFormatters/TypeCategory.cpp
   78   if (m_languages.empty())
   84   if (m_languages.empty())
tools/lldb/source/Expression/DWARFExpression.cpp
 1126       if (stack.empty()) {
 1219       if (stack.empty()) {
 1405       if (stack.empty()) {
 1417       if (stack.empty()) {
 1500       if (stack.empty()) {
 1620       if (stack.empty()) {
 1639       if (stack.empty()) {
 1693       if (stack.empty()) {
 1814       if (stack.empty()) {
 2178         if (stack.empty()) {
 2631   if (stack.empty()) {
tools/lldb/source/Host/common/Editline.cpp
  372   } else if (to == CursorLocation::BlockEnd && !m_input_lines.empty()) {
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  333     if (!m_delegates.empty()) {
tools/lldb/source/Host/common/SocketAddress.cpp
  221   if (!addresses.empty())
tools/lldb/source/Interpreter/CommandHistory.cpp
   27   return m_history.empty();
   40     if (m_history.empty())
   77   if (m_history.empty())
   85     if (!m_history.empty()) {
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 2359     if (m_command_source_flags.empty()) {
 2371     if (m_command_source_flags.empty()) {
 2384     if (m_command_source_flags.empty()) {
 2392     if (m_command_source_flags.empty()) {
 2404     if (m_command_source_flags.empty()) {
 2416     if (m_command_source_flags.empty()) {
 2427     if (m_command_source_flags.empty()) {
 2467   if (!m_command_source_flags.empty())
tools/lldb/source/Interpreter/CommandObject.cpp
   68   if (!m_arguments.empty()) {
tools/lldb/source/Interpreter/Options.cpp
  204   if (m_getopt_table.empty()) {
  252   if (m_getopt_table.empty())
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  271         if (changed && !inaccessible_segment_indexes.empty()) {
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
  221     if (!m_loaded_modules.m_list.empty())
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  775   if (!context.m_namespace_map->empty()) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h
   38   bool HasFixIts() const override { return !m_fixit_vec.empty(); }
tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
  258   if (PCs.empty())
tools/lldb/source/Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp
  323   if (PCs.empty())
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
  574   if (m_children.empty()) {
  817   if (m_children.empty()) {
  975   if (m_children.empty()) {
tools/lldb/source/Plugins/Language/ObjC/NSSet.cpp
  442   if (m_children.empty()) {
  609   if (m_children.empty()) {
tools/lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
  970           if (!types.empty()) {
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
  558   if (pcs.empty()) return ThreadSP();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
  480             if (!types.empty())
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
  248     if (types.empty())
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
  896   if (names.empty())
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  961   if (!program_headers.empty())
 1312   if (!section_headers.empty())
 1793   if (m_section_headers.empty())
 3206   if (m_section_headers.empty()) {
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 1640   if (m_mach_sections.empty())
 1965       if (!nameSlices.empty()) {
 3785             if (!N_FUN_indexes.empty()) {
 3958           if (!N_INCL_indexes.empty()) {
 4017           if (!N_BRAC_indexes.empty()) {
 4051           if (!N_COMM_indexes.empty()) {
 4667   if (!trie_entries.empty()) {
 5074     if (!rpath_paths.empty()) {
 5109     if (!at_exec_relative_paths.empty() && CalculateType() == eTypeExecutable) {
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  607   return !m_sect_headers.empty();
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
  145   if (m_sdk_directory_infos.empty()) {
  266   return !m_sdk_directory_infos.empty();
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
 1294   if (!m_mem_region_cache.empty()) {
 1323   if (m_mem_region_cache.empty()) {
 1591   if (m_threads.empty())
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
  463     assert(!pos->second.empty());
  513     assert(!pos->second.empty());
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
   81   if (g_register_infos.empty()) {
  117     assert(!GetSharedRegisterInfoVector().empty() &&
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
   95   if (g_register_infos.empty()) {
  128     assert(!GetPrivateRegisterInfoVector().empty() &&
tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
  323   if (m_frames.empty())
tools/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
   29   if (m_cursors.empty()) {
  115   if (!m_cursors.empty()) {
  206   if (!m_cursors.empty()) {
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
  238     if (!m_nt_file_entries.empty()) {
  687   if (m_thread_data.empty())
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  792   if (!argv.empty()) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h
   69     return m_packets.empty() ? 0 : i % m_packets.size();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
  129   while (!m_packet_history.empty()) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 2382   if (buf.empty())
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  601         if (!value_regs.empty()) {
  605         if (!invalidate_regs.empty()) {
 1308            (m_continue_c_tids.empty() && m_continue_C_tids.empty() &&
 1308            (m_continue_c_tids.empty() && m_continue_C_tids.empty() &&
 1309             m_continue_s_tids.empty() && m_continue_S_tids.empty()))) {
 1309             m_continue_s_tids.empty() && m_continue_S_tids.empty()))) {
 1315         if (!m_continue_c_tids.empty()) {
 1326         if (!continue_packet_error && !m_continue_C_tids.empty()) {
 1338         if (!continue_packet_error && !m_continue_s_tids.empty()) {
 1349         if (!continue_packet_error && !m_continue_S_tids.empty()) {
 1587     if (!m_thread_ids.empty())
 2347       if (!m_thread_ids.empty()) {
 2384     if (m_thread_ids.empty()) {
 4468         if (!value_regs.empty()) {
 4472         if (!invalidate_regs.empty()) {
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
  426   return !regions.empty();
  463   return !regions.empty();
  488   return !regions.empty();
  518   return !regions.empty();
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  596     if (!m_filter_rules.empty()) {
  907     if (options_sp->GetFilterRules().empty()) {
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  567   if (program.empty()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
  138       if (class_matches.empty())
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
 1125             if (!function_param_decls.empty()) {
 1995             if (!method_die_offsets.empty()) {
 2032         if (is_a_class && !member_accessibilities.empty()) {
 2040         if (!bases.empty()) {
 3889   return !failures.empty();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
   99   if (!m_units.empty())
  175   return !m_type_hash_to_unit_index.empty();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
   19     if (!m_entries.empty()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
   77     if (!m_die_array.empty())
   81   if (!m_die_array.empty())
   97     if (!m_die_array.empty())
  101   if (!m_die_array.empty())
  170       assert(m_die_array.empty() && "Compile unit DIE already added");
  203           if (!m_die_array.empty())
  220       if (!die_index_stack.empty())
  241   if (!m_die_array.empty()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
  249     if (m_die_array.empty())
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
   41   if (units_to_index.empty())
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  742   if (!m_lldb_cu_to_dwarf_unit.empty())
  763   if (m_lldb_cu_to_dwarf_unit.empty())
  775   return m_lldb_cu_to_dwarf_unit.empty() ? info->GetNumUnits()
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
  510   if (!m_compile_unit_infos.empty()) {
  552     if (!m_compile_unit_infos.empty()) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
   59       if (scope_stack.empty())
  516   while (!types.empty()) {
  557     while (!matches.empty()) {
 1095   if (!params.empty())
tools/lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
  108   if (m_source_indexes.empty())
  151   if (m_source_indexes.empty()) {
  155     if (!m_func_indexes.empty()) {
  158     if (!m_code_indexes.empty()) {
tools/lldb/source/Symbol/Block.cpp
  506   if (!m_children.empty()) {
tools/lldb/source/Symbol/ClangASTContext.cpp
 9982          decl_context != nullptr && found_decls.empty();
tools/lldb/source/Symbol/CompileUnit.cpp
  344   if (m_imported_modules.empty() &&
tools/lldb/source/Symbol/DWARFCallFrameInfo.cpp
  775           if (stack.empty()) {
tools/lldb/source/Symbol/LineTable.cpp
   79   if (!entries.empty() && entries.back().file_addr == file_addr) {
   98   if (seq->m_entries.empty())
  104   if (m_entries.empty() ||
  500       if (!sequence.m_entries.empty() &&
  506     if (terminate_previous_entry && !sequence.m_entries.empty()) {
  533     if (!sequence.m_entries.empty() &&
  544   if (line_table_up->m_entries.empty())
tools/lldb/source/Symbol/SymbolContext.cpp
 1295 bool SymbolContextList::IsEmpty() const { return m_symbol_contexts.empty(); }
tools/lldb/source/Symbol/Symtab.cpp
   48   return m_symbols.empty() ? nullptr : &m_symbols[0];
   91   if (!m_symbols.empty()) {
  157   if (!indexes.empty()) {
  505   if (!m_symbols.empty()) {
  859   if (!m_file_addr_to_index_computed && !m_symbols.empty()) {
 1101   if (!symbol_indexes.empty()) {
tools/lldb/source/Symbol/UnwindPlan.cpp
  360   if (m_row_list.empty() ||
  384   if (!m_row_list.empty()) {
  418   if (m_row_list.empty()) {
tools/lldb/source/Target/PathMappingList.cpp
   73   if (!rhs.m_pairs.empty()) {
  140   if (!m_pairs.empty())
  159   if (m_pairs.empty() || path.empty())
  202   if (m_pairs.empty())
tools/lldb/source/Target/Process.cpp
 4230   if (m_profile_data.empty())
 5512   while (!m_pre_resume_actions.empty()) {
tools/lldb/source/Target/Queue.cpp
   78   if (m_pending_items.empty()) {
tools/lldb/source/Target/StackFrameList.cpp
   87   if (m_frames.empty())
  298         if (solution_path.empty())
  358   assert(!m_frames.empty() && "Cannot synthesize frames in an empty stack");
  405   if (!path.empty())
  453       if (m_frames.empty()) {
  695     if (m_frames.empty()) {
tools/lldb/source/Target/Thread.cpp
 1018       assert(!m_plan_stack.empty());
 1070   return m_plan_stack.empty() ? nullptr : m_plan_stack.back().get();
 1075   if (!m_completed_plan_stack.empty()) {
 1087   if (!m_completed_plan_stack.empty()) {
 1099   if (!m_completed_plan_stack.empty()) {
 1112   if (!m_completed_plan_stack.empty()) {
 1122   if (!m_discarded_plan_stack.empty()) {
 1132   return (!m_completed_plan_stack.empty()) ;
 1747   if (!within_function.empty())
 1753   if (candidates.empty()) {
 1754     if (outside_function.empty()) {
tools/lldb/source/Target/ThreadCollection.cpp
   33   if (m_threads.empty() || m_threads.back()->GetIndexID() < thread_index_id)
tools/lldb/source/Target/ThreadList.cpp
   60   if (m_expression_tid_stack.empty())
tools/lldb/source/Target/ThreadPlanTracer.cpp
  120   if (m_register_values.empty())
tools/lldb/source/Utility/Args.cpp
  216   return !m_entries.empty();
  235   return !m_entries.empty();
  263   assert(!m_argv.empty());
  273   assert(!m_argv.empty());
  280   if (m_entries.empty())
tools/lldb/source/Utility/Broadcaster.cpp
  154   if (!m_hijacking_listeners.empty() && event_type & m_hijacking_masks.back())
  207   if (!m_hijacking_listeners.empty()) {
  208     assert(!m_hijacking_masks.empty());
  279   if (!m_hijacking_listeners.empty())
  294   if (!m_hijacking_listeners.empty()) {
  305   if (!m_hijacking_masks.empty())
tools/lldb/source/Utility/DataBufferHeap.cpp
   35   return (m_data.empty() ? nullptr : m_data.data());
   41   return (m_data.empty() ? nullptr : m_data.data());
tools/lldb/source/Utility/StringList.cpp
  102   if (m_strings.empty())
tools/lldb/source/Utility/Timer.cpp
   93   if (!stack.empty())
  140   if (sorted.empty())
tools/lldb/tools/driver/Driver.cpp
  366     if (m_option_data.m_args.empty()) {
  571   } else if (!m_option_data.m_after_file_commands.empty()) {
  619           !m_option_data.m_after_crash_commands.empty()) {
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
  550   if (attachCommands.empty()) {
  573       if (attachCommands.empty())
 1236   if (!args.empty())
 1241   if (!envs.empty())
 1259   if (launchCommands.empty()) {
tools/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp
   85   if (O.GroupsArg.empty())
  124   if (!O.Completions.empty()) {
tools/llvm-ar/llvm-ar.cpp
  406     if (!Members.empty())
  587   bool Filter = !Members.empty();
  624   if (Members.empty())
  725   if (Operation == QuickAppend || Members.empty())
  893       Kind = !NewMembersP->empty() ? getKindFromMember(NewMembersP->front())
  896       Kind = !NewMembers.empty() ? getKindFromMember(NewMembers.front())
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  293   if (!Graph.OrphanedNodes.empty())
  308   assert(Graph.OrphanedNodes.empty() && "Orphaned nodes should be empty.");
  436       if (LineTable && !LineTable->Rows.empty()) {
tools/llvm-config/llvm-config.cpp
  252   assert(!DyLibComponents.empty());
  598     if (Components.empty())
  611     if (!MissingLibs.empty()) {
  712   } else if (!Components.empty()) {
tools/llvm-cov/CodeCoverage.cpp
  377   if (!SourceFiles.empty())
  662     if (ObjectFilenames.empty()) {
  884   if (SourceFiles.empty())
  990     if (SourceFiles.empty())
  995     if (SourceFiles.empty()) {
 1056   if (SourceFiles.empty())
tools/llvm-cov/CoverageFilters.h
  138   bool empty() const { return Filters.empty(); }
tools/llvm-cov/CoverageReport.cpp
  336     if (InstantiationSummaries.empty())
tools/llvm-cov/CoverageViewOptions.h
   57   bool hasDemangler() const { return !DemanglerOpts.empty(); }
tools/llvm-cov/SourceCoverageView.cpp
  135   return !ExpansionSubViews.empty() || !InstantiationSubViews.empty();
  135   return !ExpansionSubViews.empty() || !InstantiationSubViews.empty();
tools/llvm-dwp/llvm-dwp.cpp
  616     if (!CurTypesSection.empty()) {
tools/llvm-elfabi/ErrorCollector.cpp
   52   return Errors.empty();
tools/llvm-exegesis/lib/Analysis.cpp
  135   assert(!Point.Key.Instructions.empty());
  162   if (Clustering.getPoints().empty())
  185   if (Clustering_.getPoints().empty())
  222     assert(!Point.Key.Instructions.empty());
  252   if (Instructions.empty())
  301   assert(!Clusters.empty());
  351   assert(!Clustering.getPoints().empty());
  362   if (SchedClassPoint.empty())
  436   if (Cluster.PointIndices.empty())
tools/llvm-exegesis/lib/Assembler.cpp
   44     if (SetRegisterCode.empty())
tools/llvm-exegesis/lib/Clustering.cpp
   47     if (PMeasurements.empty()) // Error point.
   80         if (PMeasurements.empty()) // Error point.
  345   if (Representative.empty())
tools/llvm-exegesis/lib/Latency.cpp
  163     if (!Results.empty())
  166   if (Results.empty())
tools/llvm-exegesis/llvm-exegesis.cpp
  250   if (!Opcodes.empty()) {
  335   if (Points.empty()) {
tools/llvm-extract/llvm-extract.cpp
  297     while (!Workqueue.empty()) {
tools/llvm-mc/Disassembler.cpp
  196     if (!ByteArray.first.empty())
tools/llvm-nm/llvm-nm.cpp
  788   if (SymbolList.empty()) {
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  197       !Config.AllocSectionsPrefix.empty() || !Config.DumpSection.empty() ||
  208       !Config.SymbolsToAdd.empty() || Config.EntryExpr) {
tools/llvm-objcopy/COFF/Object.h
   44     if (!OwnedContents.empty())
tools/llvm-objcopy/CopyConfig.h
  143   bool empty() const { return PosMatchers.empty() && NegMatchers.empty(); }
  143   bool empty() const { return PosMatchers.empty() && NegMatchers.empty(); }
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  773   std::unique_ptr<Object> Obj = Reader.create(!Config.SymbolsToAdd.empty());
tools/llvm-objcopy/ELF/Object.cpp
 2164   if (!OrderedSegments.empty()) {
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
  134       assert(LC.Sections.empty() && "__LINKEDIT segment has sections");
  207       Sec.RelOff = Sec.Relocations.empty() ? 0 : Offset;
  280       if (!O.IndirectSymTable.Symbols.empty()) {
tools/llvm-objcopy/MachO/MachOObjcopy.cpp
   39       !Config.AllocSectionsPrefix.empty() || !Config.AddSection.empty() ||
   40       !Config.DumpSection.empty() || !Config.KeepSection.empty() ||
   52       Config.DiscardMode != DiscardType::None || !Config.SymbolsToAdd.empty() ||
tools/llvm-objdump/COFFDump.cpp
  614   bool IsExecutable = Rels.empty();
tools/llvm-objdump/llvm-objdump.cpp
 1254     if (Symbols.empty() || std::get<0>(Symbols[0]) != 0) {
 1668   if (DynRelSec.empty())
tools/llvm-pdbutil/DumpOutputStyle.cpp
 1478   if (DumpTypes || !Indices.empty()) {
 1479     if (Indices.empty())
 1712       if (Results.empty()) {
tools/llvm-pdbutil/MinimalTypeDumper.cpp
   85   if (Opts.empty())
   95   if (Opts.empty())
  215   if (Opts.empty())
  384   if (!VFT.MethodNames.empty()) {
tools/llvm-profdata/llvm-profdata.cpp
  822   if (ShowDetailedSummary && Cutoffs.empty()) {
tools/llvm-rc/llvm-rc.cpp
  168     if (OutArgsInfo.empty()) {
tools/llvm-readobj/ELFDumper.cpp
 2910   if (V.empty())
 5235   if (V.empty())
tools/llvm-readobj/WasmDumper.cpp
  178         if (!LinkingData.InitFunctions.empty()) {
tools/llvm-reduce/deltas/Delta.cpp
  126       if (CurrentChunks.empty())
tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
   46   if (ChunkSucessors.empty()) {
tools/llvm-stress/llvm-stress.cpp
  309     if (ScalarTypes.empty()) {
tools/llvm-symbolizer/llvm-symbolizer.cpp
  246       if (ResOrErr->empty())
tools/llvm-xray/xray-account.cpp
  159     if (ThreadStack.empty())
  237   assert(!Timings.empty());
  455       if (ThreadStack.second.empty()) {
tools/llvm-xray/xray-graph.cpp
  286     assert(!A.Timings.empty());
tools/polly/lib/Analysis/ScopBuilder.cpp
 1659   if (Sizes.empty())
tools/polly/lib/Analysis/ScopDetection.cpp
  858     if (!MaxTerms.empty()) {
tools/polly/lib/Support/ISLTools.cpp
  723   if (BSets.empty()) {
tools/polly/lib/Support/RegisterPasses.cpp
  676     if (!InnerPipeline.empty()) // Scop passes don't have inner pipelines
tools/sancov/sancov.cpp
 1017   if (Coverages.empty())
unittests/ADT/STLExtrasTest.cpp
   75   EXPECT_TRUE(IntResults.empty());
unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp
   46     if (Symbols.empty()) {
unittests/DebugInfo/DWARF/DwarfGenerator.cpp
  227   if (!CustomPrologue.empty()) {
unittests/Support/YAMLIOTest.cpp
 1378     EXPECT_TRUE(map2.sequenceOfNumbers[2].empty());
 2333   EXPECT_TRUE(Seq2.Tests[0].Numbers.empty());
 2334   EXPECT_TRUE(Seq2.Tests[1].Numbers.empty());
 2340   EXPECT_TRUE(Seq2.Tests[3].Numbers.empty());
 2363   EXPECT_TRUE(seq.empty());
unittests/tools/llvm-cfi-verify/GraphBuilder.cpp
   61   if (C.empty()) {
   85   if (Result.ConditionalBranchNodes.empty())
   98   if (Result.OrphanedNodes.empty())
usr/include/c++/7.4.0/bits/random.h
 5210 	{ return _M_prob.empty() ? std::vector<double>(1, 1.0) : _M_prob; }
 5456 	{ return _M_den.empty() ? std::vector<double>(1, 1.0) : _M_den; }
 5728 	{ return _M_den.empty() ? std::vector<double>(2, 1.0) : _M_den; }
usr/include/c++/7.4.0/bits/regex.h
 1665       { return _Base_type::empty() ? 0 : _Base_type::size() - 3; }
usr/include/c++/7.4.0/bits/regex_executor.tcc
  123 	  if (_M_states._M_match_queue.empty())
usr/include/c++/7.4.0/bits/stl_queue.h
  568       { return c.empty(); }
usr/include/c++/7.4.0/bits/stl_stack.h
  186       { return c.empty(); }
usr/include/c++/7.4.0/bits/stl_vector.h
 1569 	{ return empty() ? nullptr : std::__addressof(*__ptr); }
utils/TableGen/AsmMatcherEmitter.cpp
  258     while (!Root->SuperClasses.empty())
  262     while (!RHSRoot->SuperClasses.empty())
  293     while (!Root->SuperClasses.empty()) {
  302     while (!Root->SuperClasses.empty())
 1635   if (!NewMatchables.empty())
 2533     if (SuperClasses.empty())
 2551     if (!SuperClasses.empty()) {
 2700   if (ReqFeatures.empty())
 2803   if (Aliases.empty()) return false;
 3230   if (!Info.OperandMatchInfo.empty()) {
 3365     if (FeatureBitset.empty())
 3373     if (FeatureBitset.empty())
 3897   if (!Info.OperandMatchInfo.empty())
utils/TableGen/AsmWriterEmitter.cpp
  149       while (!OpsToPrint.empty())
  172     if (Inst.Operands.empty())
  345     if (UniqueOperandCommands.empty()) break;
  366         if (!Inst.Operands.empty()) {
  472                      [](AsmWriterInst &Inst) { return Inst.Operands.empty(); });
  485   if (!Instructions.empty()) {
  489     while (!Instructions.empty())
  668     if (Conds.empty()) {
 1011     if (UniqueIAPs.empty()) continue;
 1032   if (!MCOpPredicates.empty())
 1091   if (PrintMethods.empty())
 1109   if (!MCOpPredicates.empty()) {
utils/TableGen/AsmWriterInst.h
   96       if (!Operands.empty() &&
utils/TableGen/CodeEmitterGen.cpp
  582     if (FeatureBitset.empty())
  590     if (FeatureBitset.empty())
utils/TableGen/CodeGenDAGPatterns.cpp
 1357   if (!P->getPredicateCalls().empty())
 1379       else if (!Child->getPredicateCalls().empty())
 1791           !CDP.getDefaultOperand(OperandNode).DefaultOps.empty())
 1938         assert((Child->getPredicateCalls().empty() ||
 1981       if (ChildAlternatives[i].empty())
 1985         assert((Child->getPredicateCalls().empty() ||
 2445     if (!InstInfo.ImplicitDefs.empty()) {
 2834     if (Int.IS.RetVTs.empty())
 2989   if (!Args.empty()) {
 3062   while (!Nodes.empty()) {
 3078   while (!Xforms.empty()) {
 3090   while (!AMs.empty()) {
 3649   assert(I.getArgList().empty() && "Args list should still be empty here!");
 3709         if (!getDefaultOperand(Op.Rec).DefaultOps.empty())
 3888     if (CP->getRootNodes().empty())
 4361     if (Variants.empty())
 4370     LLVM_DEBUG(if (!Idxs.empty()) {
 4440   if (!N->getName().empty() || !N->getPredicateCalls().empty() ||
 4611     assert(!Variants.empty() && "Must create at least original variant!");
utils/TableGen/CodeGenDAGPatterns.h
  745   bool hasAnyPredicate() const { return !PredicateCalls.empty(); }
  752     assert(PredicateCalls.empty() && "Overwriting non-empty predicate list!");
 1293       !getDefaultOperand(Op).DefaultOps.empty();
utils/TableGen/CodeGenInstruction.cpp
  447   if (ImplicitDefs.empty()) return MVT::Other;
utils/TableGen/CodeGenInstruction.h
  155     bool empty() const { return OperandList.empty(); }
utils/TableGen/CodeGenIntrinsics.h
  182   bool empty() const { return Intrinsics.empty(); }
utils/TableGen/CodeGenMapTable.cpp
  389     if (!ColInstrs.empty()) {
  578   if (InstrMapVec.empty())
utils/TableGen/CodeGenRegisters.cpp
   81   if (!Comps.empty()) {
   94   if (!Parts.empty()) {
  569     if (!I->second->SuperRegs.empty() && I->second->SuperRegs.back() == this)
  661       if (!RegNames.empty()) {
 1188   if (RCs.empty())
 1600     if (Regs.empty())
 1827   assert(RegClassUnitSets.empty() && "this invalidates RegClassUnitSets");
 1877   assert(RegUnitSets.empty() && "dirty RegUnitSets");
 1992     if (RCRegUnits.empty())
 2009     assert(!RegClassUnitSets[RCIdx].empty() && "missing unit set for regclass");
 2149     if (Intersection.empty())
 2262       if (SubSetVec.empty())
utils/TableGen/CodeGenSchedule.cpp
  260     if (Opcodes.empty()) {
  442   if (MCPredicates.empty())
  556     if (!ModelKey->getValueAsListOfDefs("IID").empty())
  868   assert(SchedClasses.empty() && "Expected empty sched class");
  923     if (!SC.Writes.empty()) {
 1051   if (InstDefs->empty())
 1070       if (!RWDefs.empty()) {
 1159     assert(!ItinRecords.empty() && "ProcModel.hasItineraries is incorrect");
 1235     if (!SchedClasses[Idx].InstRWs.empty())
 1237     if (!SchedClasses[Idx].Writes.empty()) {
 1486     if (IntersectingVariants.empty()) {
 1498   if (GenericRW && IntersectingVariants.empty()) {
 1954       if (!SC.Writes.empty())
 2062   assert(!ProcResourceDefs.empty());
 2063   assert(!ProcResGroups.empty());
 2197   if (!Transitions.empty()) {
utils/TableGen/CodeGenSchedule.h
   84     assert((!IsSequence || !Sequence.empty()) && "Sequence should be nonempty");
   85     assert((!IsAlias || Aliases.empty()) && "Alias cannot have aliases");
   86     return TheDef || !Sequence.empty();
  197   bool hasDefaultCosts() const { return Costs.empty(); }
  258     return !ItinsDef->getValueAsListOfDefs("IID").empty();
  262     return !WriteResDefs.empty() || !ItinRWDefs.empty();
  262     return !WriteResDefs.empty() || !ItinRWDefs.empty();
  267            !RegisterFiles.empty();
  392     if (Groups.empty() ||
  471     if (!ItinsDef->getValueAsListOfDefs("IID").empty()) {
utils/TableGen/CodeGenTarget.cpp
  328   if (Candidates.empty())
utils/TableGen/CodeGenTarget.h
  117     if (RegAltNameIndices.empty()) ReadRegAltNameIndices();
  159     if (InstrsByEnum.empty())
  171     if (InstrsByEnum.empty())
utils/TableGen/DAGISelMatcherEmitter.cpp
  835   if (Preds.empty())
  861   if (!PatternPredicates.empty()) {
  886   if (!ComplexPatterns.empty()) {
  943   if (!NodeXForms.empty()) {
utils/TableGen/DAGISelMatcherGen.cpp
  342       N->getChild(1)->isLeaf() && N->getChild(1)->getPredicateCalls().empty() &&
  343       N->getPredicateCalls().empty()) {
  565     assert(!OpNodes.empty() &&"Complex Pattern must specify what it can match");
  894   if (isRoot && !Pattern.getDstRegs().empty()) {
 1031   if (!Pattern.getDstRegs().empty()) {
utils/TableGen/DFAPacketizerEmitter.cpp
  344   if (!UnitBits.empty())
utils/TableGen/ExegesisEmitter.cpp
  159         return !Def->getValueAsListOfDefs("IssueCounters").empty();
  184   assert(!Bindings.empty() && "there must be at least one binding");
utils/TableGen/FastISelEmitter.cpp
  212         if (!Op->getPredicateCalls().empty()) {
  238       if (!Op->getPredicateCalls().empty() || Op->getNumTypes() != 1)
  531     if (!InstPatNode->getPredicateCalls().empty())
utils/TableGen/FixedLenDecoderEmitter.cpp
  598   if (!VariableInstructions.empty()) {
  736   if (!VariableInstructions.empty())
 1993     if (!NumberedInsnOperands[Op.second].empty()) {
 1999     if (!NumberedInsnOperands[TiedNames[Op.second]].empty()) {
utils/TableGen/GICombinerEmitter.cpp
  145   if (Roots.empty()) {
utils/TableGen/GlobalISelEmitter.cpp
  723   bool empty() const { return Matchers.empty(); }
  775   bool empty() const { return Matchers.empty(); }
  973   bool insnmatchers_empty() const { return Matchers.empty(); }
 2118   bool operands_empty() const { return Operands.empty(); }
 2291     assert(!Operands.empty() && "Nested instruction is expected to def a vreg");
 2825       if (!I->ImplicitDefs.empty() || !I->ImplicitUses.empty()) {
 2825       if (!I->ImplicitDefs.empty() || !I->ImplicitUses.empty()) {
 3051   if (Matchers.empty())
 3072   if (!RequiredFeatures.empty()) {
 4401   if (!ImplicitDefs.empty())
 4822   if (!MatchedRecords.empty()) {
 4841   if (!MatchedRecords.empty())
 4852   if (!MatchedRecords.empty())
 5186     if (FeatureBitset.empty())
 5194     if (FeatureBitset.empty())
utils/TableGen/InstrDocsEmitter.cpp
  141     if (!FlagStrings.empty()) {
  192     if (!II->ImplicitDefs.empty()) {
  205     if (!II->ImplicitUses.empty()) {
  220     if (!Predicates.empty()) {
utils/TableGen/InstrInfoEmitter.cpp
  434   if (TIIPredicates.empty())
  483   if (TIIPredicates.empty())
  533     if (!Uses.empty()) {
  538     if (!Defs.empty()) {
  725   if (UseList.empty())
  731   if (DefList.empty())
  738   if (OperandInfo.empty())
utils/TableGen/IntrinsicEmitter.cpp
  433   if (Int.IS.RetVTs.empty())
utils/TableGen/PredicateExpander.cpp
  119   assert(!Opcodes.empty() && "Expected at least one opcode to check!");
  158   assert(!Sequence.empty() && "Found an invalid empty predicate set!");
utils/TableGen/RISCVCompressInstEmitter.cpp
  740   if (!MCOpPredicates.empty()) {
utils/TableGen/RegisterInfoEmitter.cpp
  205     if (Regs.empty() || RC.Artificial)
 1570   if (!CSRSets.empty()) {
 1583   if (!CSRSets.empty()) {
utils/TableGen/SubtargetEmitter.cpp
  207   if (FeatureList.empty())
  391     if (FUs.empty())
  405     if (!BPs.empty()) {
  575     if (ItinList.empty())
 1021     assert(!SC.ProcIndices.empty() && "expect at least one procidx");
 1028     if (!SC.InstRWs.empty()) {
 1046     if (Writes.empty()) {
 1056       if (Writes.empty()) {
 1108         if (Cycles.empty()) {
 1165       if (ValidWrites.empty())
 1347     else if(!PM.ProcResourceDefs.empty())
 1527     if (SC.Transitions.empty())
 1562   if (VariantClasses.empty()) {
 1698   if (Features.empty()) {
utils/TableGen/X86RecognizableInstr.cpp
  413     if (!OperandList[operandIndex].Constraints.empty()) {
utils/benchmark/src/benchmark.cc
  536   if (benchmarks.empty()) {
utils/benchmark/src/benchmark_register.cc
  139         (family->thread_counts_.empty()
  203         if (!family->thread_counts_.empty()) {
  442   if (args_.empty()) {
  443     if (arg_names_.empty()) return -1;
utils/benchmark/src/json_reporter.cc
  128   if (reports.empty()) {
utils/benchmark/src/statistics.cc
   33   if (v.empty()) return 0.0;
   68   if (v.empty()) return mean;
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 3396     if (actual_count == 0 && matchers_.empty()) {
utils/unittest/googlemock/include/gmock/gmock-more-matchers.h
   51   if (arg.empty()) {
utils/unittest/googlemock/src/gmock-matchers.cc
  397   if (matcher_describers_.empty()) {
  418   if (matcher_describers_.empty()) {