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

References

gen/lib/Target/AArch64/AArch64GenGICombiner.inc
   56   if (!RangePair.second.empty()) {
gen/lib/Target/BPF/BPFGenAsmMatcher.inc
  932   unsigned SIndex = Mnemonic.empty() ? 0 : 1;
  933   if (!Mnemonic.empty())
gen/lib/Target/Hexagon/HexagonGenAsmMatcher.inc
10278   unsigned SIndex = Mnemonic.empty() ? 0 : 1;
10279   if (!Mnemonic.empty())
gen/tools/clang/include/clang/AST/AttrImpl.inc
 3141     if (!getReplacement().empty()) OS << ", \"" << getReplacement() << "\"";
gen/tools/clang/include/clang/AST/Attrs.inc
  478       if (!Ref.empty()) {
  794       if (!Aliasee.empty())
  811     if (!S.empty())
 1286       if (!Annotation.empty())
 1303     if (!S.empty())
 1747       if (!Label.empty())
 1758       if (!Label.empty())
 1775     if (!S.empty())
 2125       if (!Message.empty())
 2127       if (!Replacement.empty())
 2173     if (!S.empty())
 2190     if (!S.empty())
 3288       if (!Name.empty())
 3316     if (!S.empty())
 3490       if (!Name.empty())
 3507     if (!S.empty())
 4150       if (!Message.empty())
 4152       if (!Replacement.empty())
 4177     if (!S.empty())
 4190     if (!S.empty())
 4335       if (!Message.empty())
 4351       if (!Message.empty())
 4372     if (!S.empty())
 4533       if (!Message.empty())
 4554     if (!S.empty())
 4789       if (!Language.empty())
 4791       if (!DefinedIn.empty())
 4817     if (!S.empty())
 4830     if (!S.empty())
 5547       if (!Resolver.empty())
 5564     if (!S.empty())
 5655       if (!Section.empty())
 5672     if (!S.empty())
 7929       if (!Ref.empty()) {
 8944       if (!Ref.empty()) {
10448       if (!MetadataName.empty())
10465     if (!S.empty())
11633       if (!Name.empty())
11650     if (!S.empty())
11693       if (!Name.empty())
11710     if (!S.empty())
11753       if (!Name.empty())
11770     if (!S.empty())
11813       if (!Name.empty())
11830     if (!S.empty())
11873       if (!Name.empty())
11890     if (!S.empty())
12962       if (!Name.empty())
12987     if (!S.empty())
13367       if (!Ref.empty()) {
13632       if (!Model.empty())
13649     if (!S.empty())
13692       if (!FeaturesStr.empty())
13709     if (!S.empty())
13791           if (!Ret.Architecture.empty())
14510       if (!Message.empty())
14521       if (!Message.empty())
14546     if (!S.empty())
14729       if (!Guid.empty())
14746     if (!S.empty())
15044       if (!Message.empty())
15078     if (!S.empty())
15207       if (!Aliasee.empty())
15231     if (!S.empty())
15274       if (!ImportModule.empty())
15291     if (!S.empty())
15334       if (!ImportName.empty())
15351     if (!S.empty())
include/llvm/ADT/StringExtras.h
  171   if (Input.empty())
  182   while (!Input.empty()) {
include/llvm/ADT/StringRef.h
  155       assert(!empty());
  162       assert(!empty());
  170       if (empty())
  329       while (!S.empty()) {
include/llvm/ADT/StringSet.h
   39       assert(!Key.empty());
include/llvm/Analysis/CFGPrinter.h
   64     if (!Node->getName().empty())
   80     if (Node->getName().empty()) {
include/llvm/Analysis/RegionInfoImpl.h
  234   if (getEntry()->getName().empty()) {
  242     if (getExit()->getName().empty()) {
include/llvm/Analysis/TargetLibraryInfo.h
  154     return !getVectorizedFunction(F, VF).empty();
  168     return !getScalarizedFunction(F, VF).empty();
include/llvm/BinaryFormat/Dwarf.h
  667     if (Str.empty()) {
include/llvm/CodeGen/CommandFlags.inc
  378     if (!CPU.empty())
  380     if (!Features.empty())
include/llvm/CodeGen/MachineRegisterInfo.h
  433     assert((Name.empty() || VRegNames.find(Name) == VRegNames.end()) &&
  435     if (!Name.empty()) {
include/llvm/ExecutionEngine/JITLink/JITLink.h
  299     assert(!Name.empty() && "Common symbol name cannot be empty");
  314     assert(!Name.empty() && "External symbol name cannot be empty");
  348     assert(!Name.empty() && "Name cannot be empty");
  367   bool hasName() const { return !Name.empty(); }
  371     assert((!Name.empty() || getScope() == Scope::Local) &&
  461     assert((L == Linkage::Strong || (Base->isDefined() && !Name.empty())) &&
include/llvm/IR/DebugInfoMetadata.h
  142     if (S.empty())
 3120     if (S.empty())
include/llvm/IR/GlobalValue.h
  273   bool hasSection() const { return !getSection().empty(); }
  482     if (!Name.empty() && Name[0] == '\1')
include/llvm/IR/LegacyPassNameParser.h
   62     return P->getPassArgument().empty() || P->getNormalCtor() == nullptr ||
include/llvm/IR/ModuleSummaryIndex.h
  232   if (!VI.name().empty())
include/llvm/IR/ModuleSummaryIndexYAML.h
   70     while (!P.second.empty()) {
include/llvm/MC/MCAsmInfo.h
  512     return !LinkerPrivateGlobalPrefix.empty();
include/llvm/MC/SubtargetFeature.h
  209     assert(!Feature.empty() && "Empty string");
  223     assert(!Feature.empty() && "Empty string");
include/llvm/Object/ELFObjectFile.h
  469   if (Name && !Name->empty())
include/llvm/ProfileData/Coverage/CoverageMapping.h
  717     if (NameS && FuncName.empty())
include/llvm/ProfileData/GCOV.h
  119     if (Tag.empty() || Tag[0] != '\0' || Tag[1] != '\0' || Tag[2] != '\0' ||
  131     if (Tag.empty() || Tag[0] != '\0' || Tag[1] != '\0' || Tag[2] != '\x41' ||
  143     if (Tag.empty() || Tag[0] != '\0' || Tag[1] != '\0' || Tag[2] != '\x43' ||
  155     if (Tag.empty() || Tag[0] != '\0' || Tag[1] != '\0' || Tag[2] != '\x45' ||
  167     if (Tag.empty() || Tag[0] != '\0' || Tag[1] != '\0' || Tag[2] != '\xa1' ||
  179     if (Tag.empty() || Tag[0] != '\0' || Tag[1] != '\0' || Tag[2] != '\0' ||
  191     if (Tag.empty() || Tag[0] != '\0' || Tag[1] != '\0' || Tag[2] != '\0' ||
include/llvm/ProfileData/InstrProf.h
  468     if (FuncName.empty())
  552   if (ret.empty())
include/llvm/ProfileData/SampleProf.h
  107   if (Name.empty())
include/llvm/Support/Chrono.h
  143     if (Style.empty())
  163       assert(!unit.empty());
include/llvm/Support/CommandLine.h
  311   bool hasArgStr() const { return !ArgStr.empty(); }
include/llvm/Support/FormatProviders.h
   65     if (Str.empty())
  147     assert(Style.empty() && "Invalid integral format style!");
  204     if (!Style.empty() && Style.getAsInteger(10, N)) {
  237     if (Style.empty())
  362     if (Style.empty())
  367     if (Style.empty()) {
  391     assert(Style.empty() && "Unexpected text in range option string!");
include/llvm/Support/ScopedPrinter.h
  369     if (!N.empty())
include/llvm/Support/TypeName.h
   33   assert(!Name.empty() && "Unable to find the template parameter!");
include/llvm/Support/VirtualFileSystem.h
  165     if (Impl->CurrentEntry.path().empty())
  176     if (Impl->CurrentEntry.path().empty())
include/llvm/Support/YAMLTraits.h
  546   if (S.empty() || S.equals("+") || S.equals("-"))
  595   if (S.empty())
  610     if (S.empty())
  622   if (S.empty())
  627     if (S.empty())
  631   return skipDigits(S).empty();
  650   if (S.empty())
 1001     if ( !Result.empty() ) {
 1021     if (!Result.empty())
 1045     if (!Result.empty()) {
 1060     if (!Err.empty()) {
 1062       assert(Err.empty() && "invalid struct trying to be written as yaml");
 1068     if (!Err.empty())
include/llvm/TableGen/Record.h
 1790       if (Rec.empty())
include/llvm/TextAPI/MachO/InterfaceFile.h
  387     if (String.empty())
include/llvm/Transforms/Instrumentation/AddressSanitizer.h
   31   bool empty() const { return Filename.empty(); }
lib/Analysis/ConstantFolding.cpp
  654   if (getConstantStringInfo(CE, Str) && !Str.empty()) {
lib/Analysis/ModuleDebugInfoPrinter.cpp
   58   if (Filename.empty())
   62   if (!Directory.empty())
   76     if (!Lang.empty())
   87     if (!S->getLinkageName().empty())
   96     if (!GV->getLinkageName().empty())
  103     if (!T->getName().empty())
  109       if (!Encoding.empty())
  116       if (!Tag.empty())
lib/Analysis/TargetLibraryInfo.cpp
  610   if (funcName.empty() || funcName.find('\0') != StringRef::npos)
  620   if (funcName.empty())
 1553   if (funcName.empty())
 1564   if (F.empty())
 1579   if (F.empty())
lib/Analysis/VFABIDemangling.cpp
   26   if (MangledName.empty())
  356   if (ScalarName.empty())
  368     if (VectorName.empty())
lib/AsmParser/LLParser.cpp
  386     if (DataLayoutStr.empty())
 3691     if (GlobalName.empty())
lib/AsmParser/LLParser.h
  176       if (!DataLayoutStr.empty())
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  505   if (Blob.empty())
lib/Bitcode/Reader/BitcodeReader.cpp
 6392           if (!I->Strtab.empty())
 6399         if (!F.Symtab.empty() && F.StrtabForSymtab.empty())
 6399         if (!F.Symtab.empty() && F.StrtabForSymtab.empty())
 6416         if (F.Symtab.empty())
lib/Bitcode/Writer/BitcodeWriter.cpp
  763         Record.push_back(Val.empty() ? 3 : 4);
  766         if (!Val.empty()) {
  933         if (!ST->getName().empty())
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  833     if (!Name.empty())
  923     if (!Name.empty())
 2330   assert(!Data.empty() && "Empty aggregates should be CAZ node");
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  113   assert(!Str.empty() && "Can't emit empty inline asm block");
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  290   if (!ScopeName.empty())
  313     if (!ScopeName.empty())
 1004   if (!SP->getName().empty())
 1466   if (Ty->getName().empty())
 2001   if (!Ty->getIdentifier().empty())
 2129   if (!DDTy->getName().empty()) {
 2202   return Ty->getName().empty() && Ty->getIdentifier().empty() &&
 2202   return Ty->getName().empty() && Ty->getIdentifier().empty() &&
 2542   if (!CTy->getName().empty() || !CTy->getIdentifier().empty()) {
 2542   if (!CTy->getName().empty() || !CTy->getIdentifier().empty()) {
lib/CodeGen/AsmPrinter/DIEHash.cpp
  111     if (!Name.empty())
  192     if (!Name.empty()) {
  367       if (!Name.empty()) {
  387   if (!DWOName.empty())
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  311   StringRef Name = CB->getName().empty() ? "_BLNK_" : CB->getName();
 1023   if (!Name.empty())
 1231   if (!Name.empty())
 1248   if (!Name.empty())
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  798   if (!Flags.empty() && !useAppleExtensionAttributes()) {
  817     if (!CompilationDir.empty())
  828     if (!Flags.empty())
  840     if (!DIUnit->getSplitDebugFilename().empty())
 2731   if (!Value.empty()) {
 2784   if (!CompilationDir.empty())
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  594   if (!LinkageName.empty())
  709   if (!Ty->getName().empty() && !Ty->isForwardDecl()) {
  755     if (Name.empty() && isa<DINamespace>(Ctx))
  757     if (!Name.empty()) {
  769   if (!Name.empty())
  800   if (!Name.empty())
  941         if (!GetterName.empty())
  944         if (!SetterName.empty())
  996   if (!Name.empty())
 1038   if (!TP->getName().empty())
 1050   if (!VP->getName().empty())
 1088   if (!Name.empty())
 1108   if (!M->getName().empty()) {
 1112   if (!M->getConfigurationMacros().empty())
 1115   if (!M->getIncludePath().empty())
 1117   if (!M->getISysRoot().empty())
 1181   assert(((LinkageName.empty() || DeclLinkageName.empty()) ||
 1181   assert(((LinkageName.empty() || DeclLinkageName.empty()) ||
 1184   if (DeclLinkageName.empty() &&
 1209   if (!SP->getName().empty())
 1451   if (!Name.empty())
 1720   if (!Name.empty())
lib/CodeGen/LiveDebugVariables.cpp
  515   if (!Res.empty())
lib/CodeGen/MIRParser/MIParser.cpp
  629   if (!Name.empty()) {
 1665   if (!Token.stringValue().empty() && Token.stringValue() != MBB->getName())
 1693   if (!Token.stringValue().empty() && Token.stringValue() != Name)
lib/CodeGen/MachineInstr.cpp
 1598       if (DIV && !DIV->getName().empty())
 1609       if (DIL && !DIL->getName().empty())
lib/CodeGen/MachineOperand.cpp
  599   if (!Name.empty())
  688     if (!CFI.getValues().empty()) {
  850     if (Name.empty()) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 6494     if (TrapFuncName.empty()) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4119   if (Constraint.empty() || Constraint[0] != '{')
lib/CodeGen/TargetLoweringBase.cpp
 1876   if (Override.empty())
 1936   if (Override.empty())
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  304   if (!Section.empty()) {
  426   if (Name.empty() || Name[0] != '.') return K;
  903   if (SectionVal.empty())
 1467   if (Section.empty())
lib/CodeGen/TargetPassConfig.cpp
  335   if (PassName.empty())
  357   if (!InstanceNumStr.empty() && InstanceNumStr.getAsInteger(10, InstanceNum))
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
  265     while (!S.empty()) {
lib/DebugInfo/CodeView/SymbolDumper.cpp
  207   if (!LinkageName.empty())
  304   if (!LinkageName.empty())
  446   if (!LinkageName.empty())
  541   if (!LinkageName.empty())
  582   if (!LinkageName.empty())
  619   if (!LinkageName.empty())
lib/DebugInfo/CodeView/TypeIndex.cpp
  102   if (!TypeName.empty())
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
   34   if (!Str.empty())
  191           if (!Str.empty())
lib/DebugInfo/DWARF/DWARFContext.cpp
  335     bool Should = (DumpType & Mask) && (Explicit || !Section.empty());
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  228     if (!OpcodeName.empty())
  496         if (!AugmentationString.empty()) {
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  164     if (S.empty())
  173     if (Name.empty())
 1070     if (!CompDir.empty() && !isPathAbsoluteOnWindowsOrPosix(IncludeDir))
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
  236     assert(!EncodingString.empty() && "Unknown loclist entry encoding");
lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
  193     assert(!EncodingString.empty() && "Unknown range entry encoding");
lib/DebugInfo/DWARF/DWARFDie.cpp
   47     if (!PropName.empty())
  113     if (!U->isDWOUnit() && !U->getLocSection()->Data.empty()) {
  125     if (!LoclistsSectionData.empty()) {
  300   if (!Name.empty())
lib/DebugInfo/DWARF/DWARFExpression.cpp
  246   assert(!Name.empty() && "DW_OP has no name!");
lib/DebugInfo/DWARF/DWARFFormValue.cpp
  356     if (!Str.empty()) {
lib/DebugInfo/DWARF/DWARFGdbIndex.cpp
  197   HasContent = !Data.getData().empty();
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  265   if (!DObj.getAbbrevSection().empty())
  267   if (!DObj.getAbbrevDWOSection().empty())
 1078   if (FormName.empty()) {
 1144     if (TagName.empty()) {
 1466   if (!D.getAppleNamesSection().Data.empty())
 1469   if (!D.getAppleTypesSection().Data.empty())
 1472   if (!D.getAppleNamespacesSection().Data.empty())
 1475   if (!D.getAppleObjCSection().Data.empty())
 1479   if (!D.getNamesSection().Data.empty())
lib/DebugInfo/GSYM/GsymCreator.cpp
  249   if (S.empty())
lib/DebugInfo/GSYM/GsymReader.cpp
  194     if (StrTab.Data.empty())
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
  265   assert(!Filename.empty());
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
  200   if (Module->isMachO() && !SymbolName.empty() && SymbolName[0] == '_')
lib/DebugInfo/Symbolize/Symbolize.cpp
  457     if (!EC && DebugInfo != nullptr && !PDBFileName.empty()) {
  486   char Front = SymbolName.empty() ? '\0' : SymbolName[0];
lib/ExecutionEngine/ExecutionEngine.cpp
  214   assert(!Name.empty() && "Empty GlobalMapping symbol name!");
  224     assert((!V.empty() || !Name.empty()) &&
  270     assert((!V.empty() || !Name.empty()) &&
lib/ExecutionEngine/JITLink/JITLink.cpp
  103   if (Sym.getName().empty())
  172         if (!EdgeName.empty())
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
  110       assert((!Name || !Name->empty()) && "Name must be none or non-empty");
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
  202     if ((*Name).empty())
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
 1148         if (!Name.empty() && !GlobalSymbolTable.count(Name) &&
 1226     assert(!Name.empty() && "Symbol has no name?");
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
  113     if (Expr.empty())
  154     if (Expr.empty())
  468     if (ValueStr.empty() || !isdigit(ValueStr[0]))
  551     if (Expr.empty())
lib/ExecutionEngine/TargetSelect.cpp
   49   if (!MArch.empty()) {
lib/FuzzMutate/FuzzerCLI.cpp
   42   if (NameAndArgs.second.empty())
   79   if (NameAndArgs.second.empty())
lib/IR/AsmWriter.cpp
  400   assert(!Name.empty() && "Cannot get empty name!");
  546     if (STy->getName().empty())
  597     if (!STy->getName().empty())
 1630   if (!Tag.empty())
 1639   if (!Type.empty())
 1653   if (ShouldSkipEmpty && Value.empty())
 1708     assert(!StringF.empty() && "Expected valid flag");
 1732     assert(!StringF.empty() && "Expected valid flag");
 1759   if (!S.empty())
 2144       assert(!OpStr.empty() && "Expected valid opcode");
 2613     } while (!Asm.empty());
 3119   if (!VI.name().empty())
 3133   if (!VI.name().empty())
 3140   if (Name.empty()) {
 3278   if (!UA.empty())
 3331   if (!UA.empty())
 3484   if (!UA.empty())
lib/IR/AttributeImpl.h
   96     if (!Values.empty()) ID.AddString(Values);
lib/IR/Attributes.cpp
  108   if (!Val.empty()) ID.AddString(Val);
lib/IR/DIBuilder.cpp
  222   assert(!Name.empty() && "Unable to create macro without name");
  246   assert(!Name.empty() && "Unable to create enumerator without name");
  251   assert(!Name.empty() && "Unable to create type without name");
  262   assert(!Name.empty() && "Unable to create type without name");
  634     assert(CT->getIdentifier().empty() &&
lib/IR/DataLayout.cpp
  199   assert(!Str.empty() && "parse error, string can't be empty here");
  201   if (Split.second.empty() && Split.first != Str)
  203   if (!Split.second.empty() && Split.first.empty())
  203   if (!Split.second.empty() && Split.first.empty())
  233   while (!Desc.empty()) {
  253       } while (!Rest.empty());
  274       unsigned AddrSpace = Tok.empty() ? 0 : getInt(Tok);
  279       if (Rest.empty())
  288       if (Rest.empty())
  303       if (!Rest.empty()) {
  311         if (!Rest.empty()) {
  337       unsigned Size = Tok.empty() ? 0 : getInt(Tok);
  344       if (Rest.empty())
  360       if (!Rest.empty()) {
  383         if (Rest.empty())
  423       if (!Tok.empty())
  425       if (Rest.empty())
lib/IR/DebugInfo.cpp
  428     StringRef LinkageName = MDS->getName().empty() ? MDS->getLinkageName() : "";
lib/IR/DebugInfoMetadata.cpp
  255   return !S || !S->getString().empty();
  412   assert(!Identifier.getString().empty() && "Expected valid identifier");
  447   assert(!Identifier.getString().empty() && "Expected valid identifier");
  461   assert(!Identifier.getString().empty() && "Expected valid identifier");
  663   if (Name.empty())
lib/IR/DiagnosticInfo.cpp
   91   if (!FileName.empty()) {
lib/IR/Globals.cpp
  152     if (FileName.empty())
  196   if (!hasPartition() && S.empty())
  201   if (!S.empty())
  207   HasPartition = !S.empty();
  217   if (!hasSection() && S.empty())
  222   if (!S.empty())
  228   setGlobalObjectFlag(HasSectionHashEntryBit, !S.empty());
lib/IR/InlineAsm.cpp
  259   if (Constraints.empty() && !ConstStr.empty()) return false;
lib/IR/MDBuilder.cpp
  160   if (!Name.empty())
lib/IR/Mangler.cpp
   37   assert(!Name.empty() && "getNameWithPrefix requires non-empty name");
lib/IR/ModuleSummaryIndex.cpp
  321   return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str();
lib/IR/PassTimingInfo.cpp
  141     T.reset(newPassTimer(PassArgument.empty() ? PassName : PassArgument, PassName));
lib/IR/RemarkStreamer.cpp
  154   if (RemarksFilename.empty())
  180   if (!RemarksPasses.empty())
  211   if (!RemarksPasses.empty())
lib/IR/Type.cpp
  403   if (Name.empty()) {
  443   if (!Name.empty())
lib/IR/Value.cpp
  254     if (NameRef.empty()) {
  277     if (NameRef.empty())
lib/IR/Verifier.cpp
 1002     AssertDI(N.getFile() && !N.getFile()->getFilename().empty(),
 1053   AssertDI(!N.getFile()->getFilename().empty(), "invalid filename", &N,
 1192   AssertDI(!N.getName().empty(), "anonymous macro", &N);
 1193   if (!N.getValue().empty()) {
 1214   AssertDI(!N.getName().empty(), "anonymous module", &N);
lib/IRReader/IRReader.cpp
   86     if (!DataLayoutString.empty())
lib/LTO/LTO.cpp
  818     if (!Sym.getIRName().empty()) {
 1181   if (!ParentPath.empty()) {
 1400   if (StatsFilename.empty())
lib/LTO/LTOCodeGenerator.cpp
  628   for (std::pair<StringRef, StringRef> o = getToken(Options); !o.first.empty();
lib/LTO/ThinLTOCodeGenerator.cpp
   89   if (TempDir.empty())
  320     if (CachePath.empty())
  870   if (!CacheEntryPath.empty()) {
 1106           if (!CacheEntryPath.empty()) {
lib/LineEditor/LineEditor.cpp
  202   if (HistoryPath.empty())
lib/MC/MCAsmInfo.cpp
  109   if (Name.empty())
lib/MC/MCAsmStreamer.cpp
  382   } while (!Comments.empty());
  438   if (!Comments.empty())
  918   if (Data.empty()) return;
 1216   if (!UseDwarfDirectory && !Directory.empty()) {
 1228   if (!Directory.empty()) {
 1562   if (!Values.empty()) {
 2001   if (!String.empty() && String.back() == '\n')
lib/MC/MCCodeView.cpp
   57   if (Filename.empty())
  163   if (S.empty())
lib/MC/MCContext.cpp
  133   assert(!NameRef.empty() && "Normal symbols cannot be unnamed!");
  441   if (!COMDATSymName.empty()) {
  638   assert(!FileName.empty());
lib/MC/MCDisassembler/Disassembler.cpp
  148   while (!Comments.empty()) {
  173   if (DC->getCPU().empty())
lib/MC/MCDwarf.cpp
  563   if (FileName.empty()) {
  567   assert(!FileName.empty());
  604   if (Directory.empty()) {
  607     if (!tFileName.empty()) {
  609       if (!Directory.empty())
  617   if (Directory.empty()) {
  820   if (!context.getCompilationDir().empty())
  823   if (!DwarfDebugFlags.empty())
 1031   if (!context.getCompilationDir().empty()) {
 1038   if (!DwarfDebugFlags.empty()){
 1045   if (!DwarfDebugProducer.empty())
lib/MC/MCExpr.cpp
   61         !InParens && !Sym.getName().empty() && Sym.getName()[0] == '$';
lib/MC/MCInst.cpp
   83   if (!Name.empty())
lib/MC/MCInstPrinter.cpp
   48   if (!Annot.empty()) {
lib/MC/MCParser/AsmParser.cpp
  837     if (!getTok().getString().empty() && getTok().getString().front() != '\n' &&
  874     if (!FirstCppHashFilename.empty())
 1143     if (SymbolName.empty())
 1149     if (!Split.second.empty()) {
 1694     if (getTok().getString().empty() || getTok().getString().front() == '\r' ||
 1831         assert(!RewrittenLabel.empty() &&
 2254     if (!CppHashInfo.Filename.empty()) {
 2323   if (FirstCppHashFilename.empty())
 2402   while (!Body.empty()) {
 2680     if (NamedParametersFound && FA.Name.empty())
 2714     if (!FA.Name.empty()) {
 4080   getStreamer().EmitCFIStartProc(!Simple.empty(), Lexer.getLoc());
 4519   while (!Body.empty()) {
 4963   if (Str.empty())
 5093     TheCondState.CondMet = ExpectBlank == Str.empty();
 5831       if (SymName.empty())
lib/MC/MCParser/DarwinAsmParser.cpp
 1098             (Arg.empty() ? Twine() : Twine(' ') + Arg) +
lib/MC/MCParser/ELFAsmParser.cpp
  555     if (TypeName.empty()) {
  584   if (TypeName.empty()) {
lib/MC/MCSectionMachO.cpp
  119   if (!SectionTypeDescriptors[SectionType].AssemblerName.empty()) {
  152     if (!SectionAttrDescriptors[i].AssemblerName.empty())
  203   if (Segment.empty() || Segment.size() > 16)
  208   if (Section.empty())
  219   if (SectionType.empty())
  238   if (Attrs.empty()) {
  263   if (StubSizeStr.empty()) {
lib/MC/MCSubtargetInfo.cpp
  170   else if (!CPU.empty()) {
  199   if (!CPU.empty())
lib/MC/StringTableBuilder.cpp
   68     if (!Data.empty())
lib/MC/SubtargetFeature.cpp
   41   if (!String.empty())
lib/MC/WasmObjectWriter.cpp
  498     if (SymA->getName().empty())
 1093   if (Sym.isTemporary() && Sym.getName().empty())
 1287     if (S.isTemporary() && S.getName().empty())
lib/Object/Archive.cpp
  286   if (User.empty())
  305   if (Group.empty())
  995 bool Archive::hasSymbolTable() const { return !SymbolTable.empty(); }
lib/Object/ArchiveWriter.cpp
  289   if (StringTable.empty() && !isDarwin(Kind))
lib/Object/COFFModuleDefinition.cpp
   94     if (Buf.empty())
  346     if (V2.empty())
lib/Object/COFFObjectFile.cpp
   75   while (!Str.empty()) {
lib/Object/IRSymtab.cpp
  301   if (!Base->getSection().empty())
  382   if (BFC.StrtabForSymtab.empty() ||
lib/Object/MachOObjectFile.cpp
 2454       if (shortName.empty())
lib/Object/ModuleSymbolTable.cpp
   74   if (InlineAsm.empty())
lib/Object/RecordStreamer.cpp
  213       if (!Split.second.empty() && !Split.second.startswith("@")) {
lib/Object/WasmObjectFile.cpp
  364         if (!isValidFunctionIndex(Index) || Name.empty())
  507         if (Function.SymbolName.empty())
  536         if (Global.SymbolName.empty())
  595         if (Event.SymbolName.empty())
  637     if (Name.empty() || !ComdatSet.insert(Name).second)
lib/ObjectYAML/COFFEmitter.cpp
  288     if (!i->File.empty())
  512         if (!R.SymbolName.empty())
  560     if (!i->File.empty()) {
lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
  698   assert(S.empty());
lib/ObjectYAML/DWARFYAML.cpp
  116   if (!FormValue.CStr.empty() || !IO.outputting())
  141   if (!LineTableOpcode.FileEntry.Name.empty() || !IO.outputting())
lib/ObjectYAML/ELFEmitter.cpp
  209     if (!D->Name.empty())
  215       if (!Doc.Symbols && D->Link.empty())
  307   assert(LocSec.empty() || LocSym.empty());
  307   assert(LocSec.empty() || LocSym.empty());
  308   if (!LocSym.empty())
  405     if (!Sec->Link.empty())
  505     else if (!Sym.Name.empty())
  509     if (!Sym.Section.empty())
  557   if (RawSec && !RawSec->Link.empty()) {
  745   if (Section.Link.empty())
  748   if (!Section.RelocatableSec.empty())
  852   if (Section.Link.empty() && SN2I.lookup(".dynsym", Link))
 1029   if (Section.Link.empty() && SN2I.lookup(".symtab", Link))
 1060     if (NE.Name.empty())
 1077     if (!NE.Name.empty()) {
 1097     if (Name.empty())
 1113       if (!Sym.Name.empty() && !Map.addName(Sym.Name, I + 1))
lib/ObjectYAML/ELFYAML.cpp
  983   if (Symbol.NameIndex && !Symbol.Name.empty())
lib/ObjectYAML/MachOEmitter.cpp
  336     if (!Opcode.Symbol.empty()) {
lib/ObjectYAML/ObjectYAML.cpp
   56       if (N->getRawTag().empty())
lib/Option/OptTable.cpp
  252   assert(!Option.empty());
  264     if (CandidateName.empty() || CandidateName.size() < MinimumLength)
  304       if (RHS.empty() && CandidateHasDelimiter) {
lib/Passes/PassBuilder.cpp
 1407   if (Name.empty())
 1439   if (Params.empty())
 1454   while (!Params.empty()) {
 1499   while (!Params.empty()) {
 1528   while (!Params.empty()) {
 1562   while (!Params.empty()) {
 1582   while (!Params.empty()) {
 1601   while (!Params.empty()) {
 1789     if (Text.empty())
 2374   while (!PipelineText.empty()) {
lib/ProfileData/Coverage/CoverageMapping.cpp
  190   while (Current != Records.end() && !Filename.empty() &&
  210   if (OrigFuncName.empty())
lib/ProfileData/Coverage/CoverageMappingReader.cpp
   59   if (Data.empty())
  435       if (FuncName.empty())
  628   if (Data.empty())
  635   if (Data.empty())
  649   if (CoverageMapping.empty())
  693     if (!Arch.empty() && OF->getArch() != Triple(Arch).getArch())
lib/ProfileData/GCOV.cpp
  631   bool empty() { return Remaining.empty(); }
lib/ProfileData/InstrProf.cpp
  277   if (FileName.empty())
 1089   if (F.getName().empty())
 1118   if (!MemOPSizeRange.empty()) {
 1152   if (InstrProfileOutput.empty())
lib/ProfileData/InstrProfReader.cpp
  248   while (!Line.is_at_end() && (Line->empty() || Line->startswith("#")))
  651       if (Parts.second.empty())
  687       if (!Remapped.empty()) {
lib/Remarks/RemarkParser.cpp
   27   while (!InBuffer.empty()) {
lib/Remarks/YAMLRemarkParser.cpp
  265   if (TheRemark.RemarkType == Type::Unknown || TheRemark.PassName.empty() ||
  266       TheRemark.RemarkName.empty() || TheRemark.FunctionName.empty())
  266       TheRemark.RemarkName.empty() || TheRemark.FunctionName.empty())
lib/Support/APFloat.cpp
 2613   assert(!str.empty() && "Invalid string length");
lib/Support/APInt.cpp
  494   assert(!str.empty() && "Invalid string length");
 2094   assert(!str.empty() && "Invalid string length");
lib/Support/APSInt.cpp
   21   assert(!Str.empty() && "Invalid string length");
lib/Support/ARMAttributeParser.cpp
  108     if (!TagName.empty())
  124     if (!TagName.empty())
  126     if (!ValueDesc.empty())
lib/Support/ARMTargetParser.cpp
  309   if (A.empty())
  594       CPU.empty() ? TT.getArchName() : getArchName(parseCPUArch(CPU));
lib/Support/BinaryStreamError.cpp
   43   if (!Context.empty()) {
lib/Support/CachePruning.cpp
   52   if (Duration.empty())
   80   while (!P.second.empty()) {
  147   if (Path.empty())
lib/Support/Chrono.cpp
   60   if (Style.empty()) Style = "%Y-%m-%d %H:%M:%S.%N";
lib/Support/CodeGenCoverage.cpp
   86   if (!CoveragePrefix.empty() && !RuleCoverage.empty()) {
lib/Support/CommandLine.cpp
  355                       return (!sub->getName().empty()) &&
  440   assert((S.empty() || S[0] != '-') && "Option can't start with '-");
  511   if (Arg.empty())
  544   if (Name.empty())
  549     if (S->getName().empty())
  566   if (Arg.empty())
  594         if (RHS.empty() || !PermitValue)
  755     if (MaybeValue.empty() || PGOpt->getFormattingFlag() == cl::AlwaysPrefix ||
 1408       if (!ArgName.empty() && ArgName[0] == '-') {
 1422       if (!ArgName.empty() && ArgName[0] == '-') {
 1466       if ((Handler->getMiscFlags() & PositionalEatsArgs) && !Value.empty()) {
 1601   if (ArgName.empty())
 1637   if (O.ValueStr.empty())
 1657   while (!Split.second.empty()) {
 1680   if (!ValName.empty()) {
 1698   if (!ValName.empty()) {
 1836   return O.getValueExpectedFlag() != ValueOptional || !Name.empty() ||
 1837          !Description.empty();
 1849       size_t NameSize = Name.empty() ? EmptyOption.size() : Name.size();
 1871         if (getOption(i).empty()) {
 1892       if (OptionName.empty()) {
 1897       if (!Description.empty())
 1902     if (!O.HelpStr.empty())
 2043     if (S->getName().empty())
 2068       if (!S.second->getDescription().empty()) {
 2102     if (!GlobalParser->ProgramOverview.empty())
 2111       if (!Sub->getDescription().empty()) {
 2230       if (!(*Category)->getDescription().empty())
lib/Support/ConvertUTFWrapper.cpp
  147   if (SrcUTF8.empty()) {
lib/Support/DJB.cpp
   30   assert(!Buffer.empty());
   76   while (!Buffer.empty()) {
lib/Support/DebugCounter.cpp
   73   if (CounterPair.second.empty()) {
lib/Support/FileCheck.cpp
   75   if (Str.empty())
  137   if (!Expr.empty())
  228   if (Expr.empty())
  250   if (Expr.empty())
  284   if (!Expr.empty()) {
  291     while (ParseResult && !Expr.empty()) {
  295       if (ParseResult && IsLegacyLineExpr && !Expr.empty())
  329     while (!PatternStr.empty() &&
  334   if (PatternStr.empty() && CheckTy != Check::CheckEmpty) {
  340   if (!PatternStr.empty() && CheckTy == Check::CheckEmpty) {
  373   while (!PatternStr.empty()) {
  542       if (!MatchRegexp.empty() && AddRegExToRegEx(MatchRegexp, CurParen, SM))
  621   if (!FixedStr.empty()) {
  712   if (ExampleString.empty())
  867   while (!Str.empty()) {
 1076   while (!Buffer.empty()) {
 1098     if (Skipped.empty() || !IsPartOfWord(Skipped.back())) {
 1175     if (UsedPrefix.empty())
 1189     Buffer = AfterSuffix.empty() ? Buffer.drop_front(UsedPrefix.size())
 1409     if (Range.empty())
 1820     if (CmdlineDef.empty()) {
 1873       if (ParseVarResult->IsPseudo || !CmdlineName.empty()) {
lib/Support/FormatVariadic.cpp
   31   if (Spec.empty())
   73   if (!RepString.empty() && RepString.front() == ',') {
   79   if (!RepString.empty() && RepString.front() == ':') {
   84   if (!RepString.empty()) {
  147   while (!Fmt.empty()) {
lib/Support/GlobPattern.cpp
  134   while (!S.empty()) {
  157       return S.empty();
  173     if (S.empty() || !Pats[0][(uint8_t)S[0]])
lib/Support/JSON.cpp
  714   if (!Options.empty() && Options.getAsInteger(/*Radix=*/10, IndentAmount))
lib/Support/MemoryBuffer.cpp
   60   if (!Data.empty())
lib/Support/Path.cpp
   66     if (path.empty())
  322   if (Position == Path.size() && !Path.empty() &&
  444         !component.empty() && is_separator(component[0], style);
  502   if (OldPrefix.empty() && NewPrefix.empty())
  502   if (OldPrefix.empty() && NewPrefix.empty())
  611   return !root_name(p, style).empty();
  618   return !root_directory(p, style).empty();
  625   return !root_path(p, style).empty();
  632   return !relative_path(p, style).empty();
  639   return !filename(p, style).empty();
  646   return !parent_path(p, style).empty();
  653   return !stem(p, style).empty();
  660   return !extension(p, style).empty();
  807   const char *Middle = Suffix.empty() ? "-%%%%%%" : "-%%%%%%.";
  930   if (Parent.empty())
lib/Support/Process.cpp
   49     if (Dir.empty())
lib/Support/Regex.cpp
  145   while (!Repl.empty()) {
  153     if (Split.second.empty()) {
lib/Support/ScopedPrinter.cpp
   30     if (!Str.empty())
   40     if (!Str.empty())
lib/Support/Signals.cpp
  120   if (!Argv0.empty()) {
  122     if (!Parent.empty())
  200       if (FunctionName.empty())
lib/Support/SpecialCaseList.cpp
  137     if (I->empty() || I->startswith("#"))
  165     if (SplitLine.second.empty()) {
lib/Support/StringExtras.cpp
   54   while (!S.first.empty()) {
lib/Support/StringRef.cpp
  336   if (KeepEmpty || !S.empty())
  362   if (KeepEmpty || !S.empty())
  384   if (Str.empty())
  417   if (Str.empty()) return true;
  422   while (!Str2.empty()) {
  463   if (Str.empty() || Str.front() != '-') {
  495   return !Str.empty();
  505   return !Str.empty();
  518   if (Str.empty()) return true;
  522   while (!Str.empty() && Str.front() == '0')
  526   if (Str.empty()) {
  551   while (!Str.empty()) {
lib/Support/StringSaver.cpp
   15   if (!S.empty())
lib/Support/SymbolRemappingReader.cpp
   39     if (Line.startswith("#") || Line.empty())
lib/Support/Triple.cpp
  365   if (ArchName.empty())
  569   if (ARMSubArch.empty())
  889         for (unsigned i = Pos; !CurrentComponent.empty(); ++i) {
  909             if (CurrentComponent.empty())
  916           if (!CurrentComponent.empty())
  933     if (Components[i].empty())
  942     if (AndroidVersion.empty()) {
 1016   assert(!Str.empty() && Str[0] >= '0' && Str[0] <= '9' && "Not a number");
 1025   } while (!Str.empty() && Str[0] >= '0' && Str[0] <= '9');
 1038     if (Name.empty() || Name[0] < '0' || Name[0] > '9')
 1596   if (MArch.empty())
 1604     if (!MArch.empty() && MArch == "v6")
 1621   if (MArch.empty())
 1625   if (!CPU.empty() && !CPU.equals("invalid"))
lib/Support/Unix/Path.inc
  583   if (PathStr.empty() || !PathStr.startswith("~"))
  591   if (Expr.empty()) {
lib/Support/Unix/Program.inc
   70   assert(!Name.empty() && "Must have a name!");
   84     if (Path.empty())
  100   if (Path->empty())
lib/Support/VersionTuple.cpp
   40   if (input.empty())
   49   while (!input.empty()) {
   67   if (input.empty()) {
   79   if (input.empty()) {
   91   if (input.empty()) {
  104   if (!input.empty())
lib/Support/VirtualFileSystem.cpp
 1266       if (!Name.empty())
 1464     if (Parent.empty())
 1602   if (!YAMLFilePath.empty()) {
 1673   if (!FromName.empty()) {
 1921   assert(!Parent.empty());
 2095     if (EC || CurrentEntry.path().empty())
 2117   assert(!State->Stack.top()->path().empty() && "non-canonical end iterator");
lib/Support/WithColor.cpp
   70   if (!Prefix.empty())
   78   if (!Prefix.empty())
   86   if (!Prefix.empty())
   93   if (!Prefix.empty())
lib/Support/YAMLParser.cpp
   63   if (Input.empty())
 1460   return Str.empty() ? 0 : 1;
 1810   if (!Raw.empty() && Raw != "!") {
 1924     assert(!UnquotedValue.empty() && "Can't be empty!");
lib/Support/YAMLTraits.cpp
  666   if (S.empty()) {
lib/TableGen/Record.cpp
  523   if (V.empty())
  789       return IntInit::get(LHSs->getValue().empty());
lib/TableGen/StringMatcher.cpp
   67     while (!Code.empty()) {
lib/TableGen/TGLexer.cpp
  683     if (MacroName.empty())
  783     if (MacroName.empty())
lib/Target/AArch64/AArch64AsmPrinter.cpp
  490   if (!getDataLayout().getLinkerPrivateGlobalPrefix().empty())
lib/Target/AArch64/AArch64Subtarget.cpp
   55   if (CPUString.empty())
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 2012     if (!Name.empty())
 2053     if (!Name.empty())
 3090   if (!Kind.empty())
 3185   if (!Kind.empty()) {
 3412   if (!Kind.empty()) {
 5128   if (!ExtensionString.empty())
 5216   if (!ExtensionString.empty())
 5393     if (ParseRes == MatchOperand_Success && !Kind.empty())
 5406     if (ParseRes == MatchOperand_Success && !Kind.empty())
 5419     if (ParseRes == MatchOperand_Success && !Kind.empty())
 5675   if (ParseSuffix && Kind.empty())
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
 1388   if (!Name.empty())
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
   53   if (CPU.empty())
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  297           if (!AttrName.empty() && (IsFunc || !NonKernelOnly)) {
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
   71   if (AccQual.empty())
  789   if (!Name.empty())
  791   if (!TypeName.empty())
lib/Target/AMDGPU/AMDGPULibCalls.cpp
 1387   if ((CPU.empty() || CPU.equals_lower("generic")) &&
 1388       (Features.empty() ||
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  487   while (!s.empty() && isDigit(s.front())) {
  582   if (param.empty()) return false;
  679   if (FuncName.empty()) {
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  337   if (!GPU.empty())
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 2090     if (!RegSuffix.empty()) {
 2197   if (!RegSuffix.empty()) {
lib/Target/AMDGPU/GCNRegBankReassign.cpp
  689             if (MBB.getName().empty()) dbgs() << "bb." << MBB.getNumber();
lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
 1321   if (!HwRegName.empty()) {
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  168   if (!S.empty())
  173   if (!S.empty())
  177   if (!S.empty())
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  592     if (!OnlyFirstRequired || !Strs.second.trim().empty()) {
 1308   if (!IEEEAttr.empty())
 1313   if (!DX10ClampAttr.empty())
lib/Target/ARM/ARMAsmPrinter.cpp
  605   if (!FS.empty()) {
lib/Target/ARM/ARMISelDAGToDAG.cpp
 4374   if (Flags.empty() || Flags == "all")
lib/Target/ARM/ARMSubtarget.cpp
  179   if (!FS.empty()) {
lib/Target/ARM/ARMTargetMachine.cpp
  117   if (ABIName.empty())
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 4980       if (!Flags.empty())
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  181     if (!Name.empty())
  197       if (!Name.empty())
  212     if (!StringValue.empty())
  758   assert(!Vendor.empty() && "Vendor cannot be empty.");
  763   if (!CurrentVendor.empty())
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
  140   if (ArchID != ARM::ArchKind::INVALID &&  (CPU.empty() || CPU == "generic"))
  167   if (!FS.empty()) {
lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
  166   if (!CPUString.empty() && !CPUString.startswith("generic")) {
lib/Target/AVR/AVRTargetMachine.cpp
   32   if (CPU.empty() || CPU == "generic") {
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  852     if (!HeadTail.first.empty())
  855     if (!HeadTail.second.empty())
  859   } while (!String.empty());
  992     if (DotSplit.second.empty()) {
lib/Target/Hexagon/HexagonConstExtenders.cpp
  738       assert(!V.GV->getName().empty() && !ER.V.GV->getName().empty());
  738       assert(!V.GV->getName().empty() && !ER.V.GV->getName().empty());
 1222     if (ER.V.GV->getName().empty())
lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
  473       if (!ModeError.empty()) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
  115   if (!ArchV.empty() && !CPU.empty()) {
  115   if (!ArchV.empty() && !CPU.empty()) {
  120   if (ArchV.empty()) {
  121     if (CPU.empty())
  155     while (!HeadTail.first.empty()) {
  158       if (!Duplex.second.empty()) {
  164       if (!InstTxt.empty())
  279   if (!FS.empty())
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 7158   if (ArchFeatureName.empty())
lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp
   66   assert(Options.getABIName().empty() && "Unknown ABI option for MIPS");
lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
   49   if (CPU.empty() || CPU == "generic") {
lib/Target/Mips/MipsAsmPrinter.cpp
  171       if (Callee && !Callee->getName().empty()) {
lib/Target/Mips/MipsISelLowering.cpp
 3003       if (Sym.empty())
lib/Target/Mips/MipsTargetMachine.cpp
  125       NoMips16Subtarget(TT, CPU, FS.empty() ? "-mips16" : FS.str() + ",-mips16",
  128       Mips16Subtarget(TT, CPU, FS.empty() ? "+mips16" : FS.str() + ",+mips16",
lib/Target/NVPTX/NVPTXSubtarget.cpp
   36   TargetName = CPU.empty() ? "sm_20" : CPU;
lib/Target/PowerPC/PPCMCInstLower.cpp
   48   if (!Suffix.empty())
lib/Target/PowerPC/PPCTargetMachine.cpp
  207   assert(Options.MCOptions.getABIName().empty() &&
lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
   28   if (!ABIName.empty() && TargetABI == ABI_Unknown) {
lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
   69   if (CPU.empty())
lib/Target/Sparc/SparcISelLowering.cpp
 3286   } else if (!Constraint.empty() && Constraint.size() <= 5
lib/Target/SystemZ/SystemZTargetMachine.cpp
   43   if (CPU.empty() || CPU == "generic" ||
lib/Target/TargetLoweringObjectFile.cpp
  118   assert(!Suffix.empty());
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  665       if (SymName.empty())
  671       if (TypeName.empty())
  693       if (SymName.empty())
  717       if (SymName.empty())
lib/Target/X86/AsmParser/X86AsmParser.cpp
 2201     if (!Id.empty()) {
 3200   if (Op.getToken().empty()) {
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
  293   if (!FS.empty()) {
lib/Target/X86/X86CallFrameOptimization.cpp
  166       !STI->getTargetLowering()->getStackProbeSymbolName(MF).empty();
lib/Target/X86/X86FrameLowering.cpp
 1018   bool UseStackProbe = !STI.getTargetLowering()->getStackProbeSymbolName(MF).empty();
lib/Target/X86/X86ISelLowering.cpp
22195   bool EmitStackProbe = !getStackProbeSymbolName(MF).empty();
45223   return S.empty();
lib/Target/X86/X86MCInstLower.cpp
  141   if (!Suffix.empty())
  150     assert(Suffix.empty());
lib/Target/X86/X86TargetMachine.cpp
  269     Key += FS.empty() ? "+soft-float" : ",+soft-float";
lib/Testing/Support/Annotations.cpp
   34   while (!Text.empty()) {
lib/TextAPI/MachO/PackedVersion.cpp
   26   if (Str.empty())
   61   if (Str.empty())
lib/TextAPI/MachO/TextStub.cpp
  723       if (String.empty())
lib/TextAPI/MachO/TextStubCommon.cpp
  213   if (UUID.empty())
lib/ToolDrivers/llvm-lib/LibDriver.cpp
   86   while (!Env.empty()) {
lib/Transforms/IPO/StripSymbols.cpp
  180     if (STy->isLiteral() || STy->getName().empty()) continue;
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1992     if (!InternalSuffix.empty() && G->hasLocalLinkage()) {
 2265         M, MD.Name.empty() ? NameForGlobal : MD.Name,
 2388     if (G->getName().empty()) continue;
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
   80       if (!Line.empty())
   95       if (!Line.empty())
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  180   if (!SP->getLinkageName().empty())
  457   while (!RegexesStr.empty()) {
  459     if (!HeadTail.first.empty()) {
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1687   if (!Node->getName().empty())
lib/Transforms/Scalar/LICM.cpp
 1393   if (!I.getName().empty())
lib/Transforms/Scalar/MergeICmps.cpp
  594       if (!BB->getName().empty()) {
lib/Transforms/Utils/CodeExtractor.cpp
  820           ? (header->getName().empty() ? "extracted" : header->getName().str())
lib/Transforms/Utils/EntryExitInstrumenter.cpp
   81   if (!EntryFunc.empty()) {
   91   if (!ExitFunc.empty()) {
lib/Transforms/Utils/MetaRenamer.cpp
   97         if (Name.startswith("llvm.") || (!Name.empty() && Name[0] == 1))
  106         if (Name.startswith("llvm.") || (!Name.empty() && Name[0] == 1))
  116         if (STy->isLiteral() || STy->getName().empty()) continue;
  129         if (Name.startswith("llvm.") || (!Name.empty() && Name[0] == 1) ||
lib/Transforms/Utils/ModuleUtils.cpp
  112   assert(!InitName.empty() && "Expected init function name");
  123   assert(!InitName.empty() && "Expected init function name");
  134   if (!VersionCheckName.empty()) {
  149   assert(!CtorName.empty() && "Expected ctor function name");
  167   assert(!Name.empty() && "Expected init function name");
lib/Transforms/Utils/SSAUpdater.cpp
  347   if (BaseName.empty())
lib/Transforms/Utils/SimplifyLibCalls.cpp
  425   if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x
  429   if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x
  500   if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x
  504   if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x
  760   if ((HasS1 && S1.empty()) || (HasS2 && S2.empty()))
  760   if ((HasS1 && S1.empty()) || (HasS2 && S2.empty()))
  798   if ((HasS1 && S1.empty()) || (HasS2 && S2.empty()))
  798   if ((HasS1 && S1.empty()) || (HasS2 && S2.empty()))
  818   if (HasS1 && S1.empty())
  830   if (HasS2 && S2.empty())
  866   if (HasStr2 && ToFindStr.empty())
  934   if (!CharC && !Str.empty() && isOnlyUsedInZeroEqualityComparison(CI)) {
 1284     if (!CallerName.empty() && CallerName.back() == 'f' &&
 2332   if (FormatStr.empty()) // Tolerate printf's declared void.
 2787   if (getConstantStringInfo(CI->getArgOperand(0), Str) && Str.empty())
lib/Transforms/Vectorize/LoopVectorize.cpp
 4306         assert(!VFnName.empty() && "Vector function name is empty.");
tools/clang/include/clang/AST/Decl.h
  511   bool isMSAsmLabel() const { return !MSAsmName.empty(); }
tools/clang/include/clang/AST/JSONNodeDumper.h
   66     std::string LabelStr = !Label.empty() ? Label : "inner";
tools/clang/include/clang/AST/OSLog.h
  135              !Item.getMaskType().empty();
tools/clang/include/clang/AST/Type.h
 2472     assert(!str.empty() && str.data()[str.size()] == '\0');
tools/clang/include/clang/Basic/CharInfo.h
  186   if (S.empty() || !isIdentifierHead(S[0], AllowDollar))
tools/clang/include/clang/Basic/JsonSupport.h
   28   if (RawSR.empty())
tools/clang/include/clang/Basic/OpenCLOptions.h
   79     assert(!Ext.empty() && "Extension is empty.");
tools/clang/include/clang/Frontend/CommandLineSourceLoc.h
   76     if (!RangeSplit.second.empty()) {
tools/clang/include/clang/Serialization/ASTReader.h
 2202     if (!ModuleFile.ModuleOffsetMap.empty())
tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
   59     assert(!Ret.empty() && "Checker name is not set properly.");
tools/clang/include/clang/Tooling/Refactoring/Rename/SymbolName.h
   35     assert(!Name.empty() && "Invalid symbol name!");
tools/clang/lib/ARCMigrate/ARCMT.cpp
  294   if (!plistOut.empty()) {
  375   if (outputDir.empty()) {
  396   assert(!outputDir.empty() && "Expected output directory path");
  405   assert(!outputDir.empty());
  512   if (!outputDir.empty()) {
tools/clang/lib/ARCMigrate/FileRemapper.cpp
   36   if (!outputDir.empty()) {
   43   assert(!outputDir.empty());
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  939   if (NSIntegerName.empty()) {
 2005   if (DirPath.empty() || !is_directory(DirPath))
tools/clang/lib/ARCMigrate/Transforms.cpp
  424       if (!toAttr.empty()) {
  444   if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
tools/clang/lib/AST/ASTDiagnostic.cpp
  342       assert(Modifier.empty() && Argument.empty() &&
  342       assert(Modifier.empty() && Argument.empty() &&
  384       assert(Modifier.empty() && Argument.empty() &&
  384       assert(Modifier.empty() && Argument.empty() &&
  393       if (Modifier == "objcclass" && Argument.empty())
  395       else if (Modifier == "objcinstance" && Argument.empty())
  398         assert(Modifier.empty() && Argument.empty() &&
  398         assert(Modifier.empty() && Argument.empty() &&
  406       if (Modifier == "q" && Argument.empty())
  409         assert(Modifier.empty() && Argument.empty() &&
  409         assert(Modifier.empty() && Argument.empty() &&
tools/clang/lib/AST/CommentLexer.cpp
  623   if (Resolved.empty()) {
tools/clang/lib/AST/CommentSema.cpp
  350   if (!CorrectedName.empty()) {
  701       if (!MacroName.empty())
tools/clang/lib/AST/Decl.cpp
 1074   if (name.empty()) return SFF_None;
tools/clang/lib/AST/DeclBase.cpp
  510   if (PrettyPlatformName.empty())
  514   if (!A->getMessage().empty()) {
tools/clang/lib/AST/DeclPrinter.cpp
 1055       else if (!TTP->getName().empty())
tools/clang/lib/AST/Expr.cpp
  807         if (Param.empty()) continue;
  823         if (Param.empty()) continue;
tools/clang/lib/AST/ExprConstant.cpp
12421   if (S->getString().empty())
tools/clang/lib/AST/ItaniumMangle.cpp
  182       if (Tag->getName().empty() && !Tag->getTypedefNameForAnonDecl())
  927   if (Parts.second.empty())
 2772   if (!CCQualifier.empty())
tools/clang/lib/AST/JSONNodeDumper.cpp
  149     JOS.attribute(Label.empty() ? "fromDecl" : Label, createBareDeclRef(From));
tools/clang/lib/AST/Mangle.cpp
  356     if (ClassName.empty())
tools/clang/lib/AST/NSAPI.cpp
  524     if (!NSIntegralResust.empty())
tools/clang/lib/AST/OSLog.cpp
  138       if (!Data.MaskType.empty()) {
tools/clang/lib/AST/RawCommentList.cpp
  114   if (SR.getBegin() == SR.getEnd() || getRawText(SourceMgr).empty()) {
  361   if (CommentText.empty())
tools/clang/lib/AST/StmtPrinter.cpp
  432     if (!Node->getOutputName(i).empty()) {
  453     if (!Node->getInputName(i).empty()) {
tools/clang/lib/AST/TextNodeDumper.cpp
  455     if (!Label.empty())
 1433   if (!Arg.empty())
tools/clang/lib/AST/TypePrinter.cpp
  183   SaveAndRestore<bool> PHVal(HasEmptyPlaceHolder, PlaceHolder.empty());
 1706     if (FirstArg && !ArgString.empty() && ArgString[0] == ':')
 1711     NeedSpace = (!ArgString.empty() && ArgString.back() == '>');
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  352     assert(!Name.empty());
  361   if (!Name.empty()) {
  431       if (P.P.empty() && (AllowFullyQualified || !P.IsFullyQualified))
  452     return consumeNameSuffix(Name, NodeName) && Name.empty();
tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp
  134   while (!FormatString.empty()) {
  137     if (Pieces.second.empty()) break;
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp
  105     if (Code.empty()) {
  280     while (!Code.empty() && isWhitespace(Code[0])) {
  609   if (BindID.empty()) {
tools/clang/lib/Analysis/BodyFarm.cpp
  678   if (Name.empty())
tools/clang/lib/Analysis/CloneDetection.cpp
  156   if (IgnoredFilesPattern.empty() || Group.empty() ||
tools/clang/lib/Analysis/CocoaConventions.cpp
   37   if (Name.empty())
tools/clang/lib/Basic/Attributes.cpp
   62        (NormalizedScopeName.empty() || NormalizedScopeName == "gnu" ||
tools/clang/lib/Basic/Diagnostic.cpp
  277     if (DiagName.empty())
  294       if (DiagName.empty())
  300         if (!DiagName.empty() && DiagName != Option)
  305         if (Option.empty())
  763   if (!StoredDiagMessage.empty()) {
tools/clang/lib/Basic/FileManager.cpp
   75   if (Filename.empty())
   83   if (DirName.empty())
   93   if (DirName.empty())
  177   if (UDE.getName().empty()) {
tools/clang/lib/Basic/IdentifierTable.cpp
  528   while (!name.empty() && name.front() == '_')
  531   if (name.empty()) return OMF_None;
  561   if (name.empty()) return OIT_None;
tools/clang/lib/Basic/TargetInfo.cpp
  458   if (Name.empty())
  463   if (Name.empty())
tools/clang/lib/Basic/Targets/AMDGPU.cpp
  197     if (CPU.empty())
tools/clang/lib/Basic/Targets/AMDGPU.h
  136     if (S.empty())
  145       if (!S.empty())
  154       if (!S.empty())
  162     if (!S.empty() && S.front() == '[') {
  167     if (S.empty() || consumeUnsignedInteger(S, 10, N))
  169     if (!S.empty() && S.front() == ':') {
  178       if (S.empty() || S.front() != ']')
  182     if (S.empty() || S.front() != '}')
  185     if (!S.empty())
tools/clang/lib/Basic/Targets/ARM.cpp
  602   if (!CPUAttr.empty())
  625   if (CPUProfile.empty() || ArchProfile != llvm::ARM::ProfileKind::M)
  644   if (!CPUProfile.empty())
tools/clang/lib/Basic/Targets/Mips.h
  179     if (CPU.empty())
tools/clang/lib/Basic/Version.cpp
   39   if (URL.empty()) {
tools/clang/lib/Basic/Warnings.cpp
   40     << !Suggestion.empty() << (Prefix.str() += Suggestion);
  145         if (Specifier.empty()) {
  173         if (Specifier.empty()) {
tools/clang/lib/CodeGen/CGBlocks.cpp
   42   if (!name.empty() && name[0] == '\01')
tools/clang/lib/CodeGen/CGBuiltin.cpp
 4137   if (!Prefix.empty()) {
 5924   if (SysReg.empty()) {
tools/clang/lib/CodeGen/CGCUDANV.cpp
  491   if (CudaGpuBinaryFileName.empty() && !IsHIP)
  517   if (!CudaGpuBinaryFileName.empty()) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  356       if (!Name.empty()) {
  415   if (PLoc.isInvalid() || FileName.empty())
  511   if (!CWDName.empty())
 1380   if (name.empty() && !type->isRecordType())
 1938     if (GVName.empty())
 1944   if (!Quals.empty())
 2099   if (!RD->isExternallyVisible() && RD->getName().empty())
 2410   if (CreateSkeletonCU && IsRootModule && Mod.getASTFile().empty() && M)
 2414   if (CreateSkeletonCU && IsRootModule && !Mod.getASTFile().empty()) {
 2529     if (FieldName.empty())
 3683   if (!Name.empty() && Name[0] == '\01')
 3963   if (!Name.empty()) {
 3995         if (FieldName.empty() && !isa<RecordType>(Field->getType()))
 4366     if (FieldName.empty()) {
 4411   if (T->isUnionType() && DeclName.empty()) {
tools/clang/lib/CodeGen/CGDebugInfo.h
  701     if (!A.empty())
  703     if (!B.empty())
tools/clang/lib/CodeGen/CGObjC.cpp
 2168     if (assembly.empty()) {
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1002     if (StringClass.empty()) StringClass = "NSConstantString";
 1429     if (TypeEncoding.empty())
 2463   if (StringClass.empty()) StringClass = "NSConstantString";
 3631       if (stringClass.empty()) stringClass = "NXConstantString";
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1851       (Section.empty() || Section.startswith("__DATA")))
 3998   if (!Section.empty())
 4015   if (!Section.empty())
 4925     if (MachOAttributes.empty())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 6465   assert(!ParentName.empty() && "Invalid target region parent name!");
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1863   assert(!ParentName.empty() && "Invalid target region parent name!");
tools/clang/lib/CodeGen/CGStmt.cpp
 1892   if (!StrVal.empty()) {
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 2253   if (!RO.Conditions.Architecture.empty())
tools/clang/lib/CodeGen/CodeGenModule.cpp
  380     if (MainFile.empty())
  972   if (!Info.Architecture.empty()) {
 2847   if (!RO.Conditions.Architecture.empty())
tools/clang/lib/CodeGen/CodeGenTypes.cpp
   76   if (!suffix.empty())
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  206     if (D->getName().empty())
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   45     if (!Name.empty())
tools/clang/lib/CodeGen/TargetInfo.cpp
 8935     FE.emplace_back(!Field->getName().empty(), Enc);
 8948   if (!TypeString.empty()) {
 9000   if (!TypeString.empty()) {
 9022       FE.push_back(FieldEncoding(!I->getName().empty(), EnumEnc));
tools/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
  327   if (Path.empty())
tools/clang/lib/Driver/Driver.cpp
  441     if (!DarwinArchName.empty()) {
  740     if (Dir.empty())
  944     while (!CompilerPath.empty()) {
 1400     if (!AdditionalInformation.empty())
 1746     if (! ProgName.empty())
 3350     if (Inputs.size() > 1 && !V.empty() &&
 3362     if (Inputs.size() > 1 && !V.empty() &&
 4019   if (!BoundArch.empty()) {
 4132     if (!ArchName.empty())
 4336   if (ArgValue.empty()) {
 4475       if (MultipleArchs && !BoundArch.empty()) {
 4494     if (MultipleArchs && !BoundArch.empty()) {
 4889   if (Str.empty())
 4894   if (Str.empty())
 4903   if (Str.empty())
 4911   if (!Str.empty())
 4924   if (Str.empty())
 4933     if (Str.empty())
tools/clang/lib/Driver/Job.cpp
  227   bool HaveCrashVFS = CrashInfo && !CrashInfo->VFSPath.empty();
tools/clang/lib/Driver/Multilib.cpp
   40   if (seg.empty() || seg == "/") {
tools/clang/lib/Driver/ToolChain.cpp
  520   } else if (UseLinker.empty() || UseLinker == "ld") {
  670       if (!MCPU.empty())
tools/clang/lib/Driver/ToolChains/Arch/AArch64.cpp
   62     if (!FeatureName.empty())
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
  149     if (StringRef(A->getValue()).empty())
  178       if (ABI == FloatABI::Invalid && !StringRef(A->getValue()).empty()) {
  379   } else if (!CPUName.empty()) {
  611   if (!Arch.empty())
  625       if (Suffix.empty())
  653   if (!CPU.empty()) {
  672   if (CPU == "generic" || CPU.empty()) {
tools/clang/lib/Driver/ToolChains/Arch/Mips.cpp
   74   if (CPUName.empty() && ABIName.empty()) {
   74   if (CPUName.empty() && ABIName.empty()) {
   89   if (ABIName.empty() && (Triple.getEnvironment() == llvm::Triple::GNUABIN32))
   92   if (ABIName.empty() &&
  116   if (ABIName.empty()) {
  121   if (CPUName.empty()) {
  167       if (ABI == mips::FloatABI::Invalid && !StringRef(A->getValue()).empty()) {
tools/clang/lib/Driver/ToolChains/Arch/PPC.cpp
  140       if (ABI == ppc::FloatABI::Invalid && !StringRef(A->getValue()).empty()) {
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  100   if (Exts.empty())
  115     if (Ext.empty()) {
  125     if (Type.empty()) {
  146     if (Name.empty()) {
tools/clang/lib/Driver/ToolChains/Arch/Sparc.cpp
   90           !StringRef(A->getValue()).empty()) {
tools/clang/lib/Driver/ToolChains/BareMetal.cpp
  105   if (SysRoot.empty())
tools/clang/lib/Driver/ToolChains/Clang.cpp
 1117             C, !ThroughHeader.empty()
 1122       if (ThroughHeader.empty()) {
 2182           if (Sym.empty() || SVal.empty()) {
 2182           if (Sym.empty() || SVal.empty()) {
 2363   if (!DenormalFPMath.empty())
 2367   if (!FPContract.empty())
 2536   if (TrivialAutoVarInit.empty())
 2548   if (!TrivialAutoVarInit.empty()) {
 4651     if (!Size.empty())
 4802     Val = Val.empty() ? "0" : Val; // Treat "" as 0 or disable.
 4834       if (LanguageStandard.empty())
 4839     if (LanguageStandard.empty()) {
 6394         !Dep.DependentBoundArch.empty()) {
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  102   if (Dirs.empty()) // Empty string should not add '.'.
  126   if (Dirs.empty()) { // Trailing colon.
  399     if (!OOpt.empty())
  496   if (!ABIName.empty())
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  337     assert(!GPUArchName.empty() && "Must have an architecture passed in.");
  523   assert(!GPUArch.empty() && "At least one GPU Arch required for ptxas.");
  608   assert(!GpuArch.empty() && "Must have an explicit GPU arch.");
  753     assert(!Arch.empty() && "Must have an explicit GPU arch.");
  787     if (Arch.empty())
  797       if (BoundArch.empty() || A->getValue(0) != BoundArch)
  828   if (!BoundArch.empty()) {
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  955   if (getXcodeDeveloperPath(P).empty()) {
  960       if (!XcodePathForSDK.empty()) {
 1857   if (!CIncludeDirs.empty()) {
 1887     if (!ArchDir.empty())
 1889     if (!BitDir.empty())
 2089             (!BoundArch.empty() &&
 2205   if (!BoundArch.empty()) {
 2347   if (BoundArch.empty())
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 1671     if (RHSPatchSuffix.empty())
 1697   if (First.second.empty())
 1700   if (Second.second.empty()) {
 1722   if (!PatchText.empty()) {
 1744   if (!SysRoot.empty())
 1908   if (SysRoot.empty() && TargetTriple.getOS() == llvm::Triple::Linux) {
 2647   if ((GCCMultiarchTriple.empty() && TargetMultiarchTriple.empty()) ||
 2647   if ((GCCMultiarchTriple.empty() && TargetMultiarchTriple.empty()) ||
tools/clang/lib/Driver/ToolChains/HIP.cpp
  274   assert(!GpuArch.empty() && "Must have an explicit GPU arch.");
  371       if (BoundArch.empty() || A->getValue(0) != BoundArch)
  402   if (!BoundArch.empty()) {
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
   88   if (!HVXLength.empty()) {
  501   if (S == "s" || S == "z" || S.empty())
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  101       if (PathEntry.empty())
  874   if (!SubdirParent.empty())
 1165   if (ArchName.empty())
 1351     if (ObjFmt.empty())
tools/clang/lib/Driver/ToolChains/WebAssembly.cpp
   39     if (!UseLinker.empty()) {
tools/clang/lib/Edit/Commit.cpp
   50   if (text.empty())
  117   if (text.empty())
  167   if (text.empty() || replacementText.empty())
  167   if (text.empty() || replacementText.empty())
  184   if (text.empty())
  325   assert(!text.empty());
tools/clang/lib/Edit/EditedSource.cpp
   50   if (!ArgName.empty())
  116   if (text.empty())
  128   if (FA.Text.empty()) {
  340   assert(len && text.empty());
  391   if (text.empty() && shouldAdjustRemovals)
  397   if (text.empty()) {
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp
  691   if (text.empty())
tools/clang/lib/Format/BreakableToken.cpp
  141   if (Text.empty())
  381   for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) {
  383     if (i + 1 == e && Content[i].empty())
  385     if (!Content[i].empty() && i + 1 != e && Decoration.startswith(Content[i]))
  394     if (Content[i].empty()) {
  401         if (e >= 2 && !Decoration.empty()) {
  404       } else if (Decoration.empty()) {
  522     if (Content[LineIndex].substr(Offset, StringRef::npos).empty()) {
  664   if (Content[LineIndex].empty()) {
  671     } else if (!Decoration.empty()) {
  703     if (!TrimmedLine.empty())
tools/clang/lib/Format/ContinuationIndenter.cpp
 1508   if (NewDelimiter.empty() || OldDelimiter.empty())
 1508   if (NewDelimiter.empty() || OldDelimiter.empty())
 1749   if (!RawStringStyle && Delimiter->empty())
tools/clang/lib/Format/Format.cpp
  353       if (!BasedOnStyle.empty()) {
 1151   if (Text.trim().empty())
 2015         Trimmed.empty() &&
 2555     if (Extension.empty() || Extension == ".h") {
 2556       auto NonEmptyFileName = FileName.empty() ? "guess.h" : FileName;
 2603   for (StringRef Directory = Path; !Directory.empty();
tools/clang/lib/Format/FormatTokenLexer.cpp
  836     if (!Tok.TokenText.empty() && Tok.TokenText[0] == '"') {
tools/clang/lib/Format/NamespaceEndCommentsFixer.cpp
   74   else if (!NamespaceName.empty())
  118   if (NamespaceName.empty() && !NamespaceNameInComment.empty())
  118   if (NamespaceName.empty() && !NamespaceNameInComment.empty())
  122   if (!NamespaceName.empty() && !AnonymousInComment.empty())
  122   if (!NamespaceName.empty() && !AnonymousInComment.empty())
tools/clang/lib/Format/SortJavaScriptImports.cpp
  104   if (LHS.URL.empty() != RHS.URL.empty())
  104   if (LHS.URL.empty() != RHS.URL.empty())
  105     return LHS.URL.empty() < RHS.URL.empty();
  105     return LHS.URL.empty() < RHS.URL.empty();
  109   if (LHS.Prefix.empty() != RHS.Prefix.empty())
  109   if (LHS.Prefix.empty() != RHS.Prefix.empty())
  110     return LHS.Prefix.empty() < RHS.Prefix.empty();
  110     return LHS.Prefix.empty() < RHS.Prefix.empty();
tools/clang/lib/Frontend/ASTUnit.cpp
 1533   if (!ResourceFilesPath.empty()) {
tools/clang/lib/Frontend/CompilerInstance.cpp
  519       Sysroot.empty() ? "" : Sysroot.data(), DisablePCHValidation,
  715   if (!OutputPath.empty()) {
  719   } else if (!Extension.empty()) {
 1007   if (!StatsFile.empty()) {
 1482         !getPreprocessor().getHeaderSearchInfo().getModuleCachePath().empty() &&
 2057   if (getPreprocessor().getHeaderSearchInfo().getModuleCachePath().empty())
tools/clang/lib/Frontend/CompilerInvocation.cpp
  138     if (S == "s" || S == "z" || S.empty())
  352       if (val.empty()) {
  470   if (!AnOpts.RawSilencedCheckersAndPackages.empty()) {
  503   if (!AnOpts.CTUDir.empty() && !llvm::sys::fs::is_directory(AnOpts.CTUDir))
  507   if (!AnOpts.ModelPath.empty() &&
 1387       if (!SignScope.empty() && !SignKey.empty()) {
 1387       if (!SignScope.empty() && !SignKey.empty()) {
 3337     if (Split.second.empty()) {
tools/clang/lib/Frontend/DiagnosticRenderer.cpp
  204   if (!Imported.second.empty()) {
  233   if (ModuleName.empty()) {
  443   if (MacroName.empty())
tools/clang/lib/Frontend/FrontendAction.cpp
  484   if (!OriginalModuleMapName.empty()) {
  943     if (!Cache.empty()) {
tools/clang/lib/Frontend/FrontendActions.cpp
  205     if (ModuleMapFile.empty())
  702   if (!OutputFileName.empty() && OutputFileName != "-") {
tools/clang/lib/Frontend/HeaderIncludeGen.cpp
  100   if (!OutputPath.empty()) {
tools/clang/lib/Frontend/InitHeaderSearch.cpp
   53       HasSysroot(!(sysroot.empty() || sysroot == "/")) {
tools/clang/lib/Frontend/InitPreprocessor.cpp
   31   while (!MacroBody.empty() && isWhitespace(MacroBody.back()))
   33   return !MacroBody.empty() && MacroBody.back() == '\\';
tools/clang/lib/Frontend/LayoutOverrideSource.cpp
   19   if (S.empty() || !isIdentifierHead(S[0]))
  131     while (!LineStr.empty() && isDigit(LineStr[0])) {
  144       while (!LineStr.empty() && isWhitespace(LineStr[0]))
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp
  207   if (Dst.empty()) {
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
  452   if (!Namespace.empty())
  563   if (!Str.empty())
tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp
  135     if (!Extra.empty())
  323     while (!Rest.empty()) {
  328       if (!Rest.empty())
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
  547   if (FlagName.empty())
tools/clang/lib/Frontend/TextDiagnostic.cpp
  201   if (SourceLine.empty()) {
  235   if (SourceLine.empty()) {
 1207     while (!Line.empty() && Line.back() == '\0' &&
 1286   if (line.empty())
tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp
   80     if (!Opt.empty()) {
   84       if (!OptValue.empty())
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  184       if (!S.empty()) {
  555       if (ExpectedLoc.isInvalid() && !MatchAnyLine && Marker.empty()) {
  633     if (Marker.empty())
  759   if (C.empty())
 1126   while (!S.empty()) {
tools/clang/lib/Index/CommentToXML.cpp
  204       if (!Attr.Value.empty())
  271   if (Arg0.empty())
  616   if (Arg0.empty())
  683   if (ParagraphKind.empty())
  989           if (DA->getMessage().empty())
  998           if (UA->getMessage().empty())
 1015         if (Distribution.empty())
 1038       if (!DeprecationSummary.empty()) {
 1095   if (S.empty())
 1099   while (!S.empty()) {
tools/clang/lib/Index/USRGeneration.cpp
  326   if (s.empty())
  595   if (!Container.empty())
 1010   if (ClsSymDefinedIn.empty() && CatSymDefinedIn.empty())
 1010   if (ClsSymDefinedIn.empty() && CatSymDefinedIn.empty())
 1012   if (CatSymDefinedIn.empty()) {
 1055   if (!ExtSymDefinedIn.empty())
 1062   if (!ExtSymDefinedIn.empty())
 1099   if (MacroName.empty() || Loc.isInvalid())
tools/clang/lib/Lex/HeaderMap.cpp
  204   if (Dest.empty())
tools/clang/lib/Lex/HeaderSearch.cpp
  171   if (getModuleCachePath().empty())
  389   if (Dest.empty())
  460     if (DirName.empty())
  604       if (FrameworkPath.empty())
  648   assert(!Str.empty());
 1156   if (HFI.Framework.empty())
 1355     if (DirName.empty())
 1485     if (!OriginalModuleMapFile.empty()) {
 1746     if (!WorkingDir.empty() && !path::is_absolute(Dir))
tools/clang/lib/Lex/LiteralSupport.cpp
  800   if (!LangOpts.CPlusPlus11 || Suffix.empty())
 1624       while (!RemainingTokenSpan.empty()) {
tools/clang/lib/Lex/ModuleMap.cpp
  337   if (Name.empty())
  429     if (DirName.empty())
  757     if (DirName.empty())
 1061         if (SubframeworkDirName.empty())
tools/clang/lib/Lex/PPDirectives.cpp
  517       if (Sub.empty() ||   // "if"
 1501   assert(!Buffer.empty() && "Can't have tokens with empty spellings!");
 1782       while (!Filename.empty() && !isAlphanumeric(Filename.back())) {
 1869   if (Filename.empty())
 1898     if (!NewName.empty())
 2092       !IsMapped && !File->getFileEntry().tryGetRealPathName().empty();
tools/clang/lib/Lex/PPLexerChange.cpp
  208   while (!Path.empty()) {
tools/clang/lib/Lex/PPMacroExpansion.cpp
 1208   if (Filename.empty())
 1415   if (VendorName.empty())
tools/clang/lib/Lex/Pragma.cpp
  511   if (Filename.empty())
  723   if (!SourceFileName.empty() && !ReplaceFileName.empty() &&
  723   if (!SourceFileName.empty() && !ReplaceFileName.empty() &&
  894   if (!Namespace.empty()) {
  925   if (!Namespace.empty()) {
 1597         << Current.empty() << Current;
tools/clang/lib/Lex/Preprocessor.cpp
  698   assert(!Identifier.getRawIdentifier().empty() && "No raw identifier data!");
tools/clang/lib/Parse/ParseExpr.cpp
 3185     if (AvailabilityAttr::getPrettyPlatformName(Platform).empty()) {
tools/clang/lib/Parse/ParseExprCXX.cpp
 2567     if (!Literal.getUDSuffix().empty()) {
 2583     if (!Literal.GetString().empty() || Literal.Pascal) {
tools/clang/lib/Parse/ParseOpenMP.cpp
  870         if (!VendorName.empty())
  880             << (VendorName.empty() ? "vendor name" : VendorName);
tools/clang/lib/Parse/ParsePragma.cpp
  902       unsigned DiagID = Action != Sema::PSK_Reset ? !SlotLabel.empty() ?
  960     if (!Section.empty()) {
 1223     if (Name.empty()) {
 1256     if (SubRuleName.empty()) {
 1268       if (SubRuleName.empty()) {
tools/clang/lib/Parse/ParseStmtAsm.cpp
  735     if (!SL->getString().trim().empty())
tools/clang/lib/Parse/Parser.cpp
  809       if (!SL->getString().trim().empty())
tools/clang/lib/Rewrite/HTMLRewrite.cpp
  289   if (!title.empty())
tools/clang/lib/Rewrite/Rewriter.cpp
  118   if (Str.empty()) return;
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
 1237   if (MacroName.empty())
 1239   if (MacroName.empty() && !PreferClangAttr)
 1241   if (MacroName.empty()) {
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  364   if (!CachedParentName.empty())
  548     if (!Filter.empty() && isResultFilteredOut(Filter, Results[I]))
tools/clang/lib/Sema/DelayedDiagnostic.cpp
   42   if (!Msg.empty()) {
tools/clang/lib/Sema/Sema.cpp
 2187   if (ExtStr.empty())
tools/clang/lib/Sema/SemaAttr.cpp
  326     if (Alignment && !SlotLabel.empty())
  440     if (!StackSlotLabel.empty()) {
tools/clang/lib/Sema/SemaCast.cpp
 1956   if (!AttrSpelling.empty())
tools/clang/lib/Sema/SemaChecking.cpp
 2778     if (!CPU.empty()) {
13651   while (!str.empty() && str.front() == '_') str = str.substr(1);
13663   if (str.empty()) return true;
14637     if (ND->getName().empty()) {
tools/clang/lib/Sema/SemaCodeComplete.cpp
 2900   if (srcText.empty() || srcText == "=") {
tools/clang/lib/Sema/SemaDecl.cpp
 4306     if (!Tag->getName().empty() || Tag->getTypedefNameForAnonDecl())
 9672   if (!ParseInfo.Architecture.empty() &&
tools/clang/lib/Sema/SemaDeclAttr.cpp
  976   if (Msg.empty())
 2145   if (PlatformName.empty())
 2356   if (AvailabilityAttr::getPrettyPlatformName(II->getName()).empty())
 2978   if (!ParsedAttrs.Architecture.empty() &&
 7736   if (!Name.empty() && (Name.front() == '-' || Name.front() == '+'))
 7738   if (Name.empty())
 7755     if (S.empty())
 7981     if (!Replacement.empty())
 7993             if (!Sel.getNameForSlot(I).empty()) {
 8009   if (!Message.empty()) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9518         assert(!Name.empty());
tools/clang/lib/Sema/SemaDeclObjC.cpp
  294       if (RealizedPlatform.empty())
tools/clang/lib/Sema/SemaExpr.cpp
 1699   if (Literal.getUDSuffix().empty())
 3307   if (Literal.getUDSuffix().empty())
12394       if (MD->getParent()->getName().empty())
tools/clang/lib/Sema/SemaExprObjC.cpp
 3538   if (name.empty())
tools/clang/lib/Sema/SemaLookup.cpp
 3778           for (StringRef Name = Iter->Next(); !Name.empty();
 4911         if (Name.empty())
tools/clang/lib/Sema/SemaObjCProperty.cpp
 2248         if (!macroName.empty())
tools/clang/lib/Sema/SemaStmt.cpp
  206   if (Msg.empty()) {
 1005                 << (PrevString.empty() ? StringRef(CaseValStr) : PrevString);
 1009                 << (PrevString.empty() ? StringRef(CaseValStr) : PrevString)
 1010                 << (CurrString.empty() ? StringRef(CaseValStr) : CurrString)
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  616       if (!Parm->getName().empty())
tools/clang/lib/Serialization/ASTReader.cpp
  548   assert(!ModuleName.empty() && "diagnostic options read before module name");
 1236       !PP.getHeaderSearchInfo().getModuleCachePath().empty()) {
 1799   if (!M.ModuleOffsetMap.empty())
 3776   assert(!F.ModuleOffsetMap.empty() && "no module offset map to read");
 5960     if (!FullFileName.empty())
 7525   if (!F.ModuleOffsetMap.empty())
 7734   if (!F.ModuleOffsetMap.empty())
 8484     if (!result.empty())
 8916   if (!M.ModuleOffsetMap.empty())
 8957   if (!M.ModuleOffsetMap.empty())
 8972   if (!M.ModuleOffsetMap.empty())
 9104   if (!M.ModuleOffsetMap.empty())
 9684   if (!BaseDirectory.empty())
tools/clang/lib/Serialization/ASTWriter.cpp
 1364   if (BaseDir.empty())
 1482   assert((!WritingModule || isysroot.empty()) &&
 1491         !isysroot.empty(),
 1532   } else if (!isysroot.empty()) {
 2062       if (!Data.HFI.Framework.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
  781     if (!TypeName.empty())
tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
  230       if (!DstName.empty()) {
  256       if (!DstName.empty())
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  475   if (Name.empty())
  543   if (Name.empty())
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
  812   assert(!SelectorName.empty());
  870         stringValue.empty())
 1178       Comment.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
  259   if (funName.empty())
tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
  155   if (Name.empty())
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
 3330   if (Msg.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
   98   if (Name.empty())
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
   89   if (Name.empty() || CE->getNumArgs() < 1)
  112   if (Name.empty() || CE->getNumArgs() < 2)
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp
  186   if (Desc.empty())
tools/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
  112   if (FName.empty())
tools/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
  450   if (Name.empty() || !C.isCLibraryFunction(FD, Name))
tools/clang/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
  108   if (OS.str().empty())
tools/clang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
  116   if (FName.empty())
  472   if (FName.empty())
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
  277           new BugType(CheckNames[CK_Unterminated].getName().empty()
  395   if (Msg.empty())
tools/clang/lib/StaticAnalyzer/Checkers/Yaml.h
   29   if (ConfigFile.trim().empty())
tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
  120   assert(!CheckerName.empty() &&
  135   } while (!CheckerName.empty() && SearchInParents);
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 1294         if (!str.empty()) {
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  738     if (Sep.empty())
  754   if (Sep.empty())
 1501   if (os.str().empty())
 1580     if (os.str().empty())
tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
   51     if (Name.empty())
   75   if (Name.empty())
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  533     if (!BugDesc.empty())
  537     if (!BugType.empty())
  548     if (!BugCategory.empty())
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  214   assert(!Message.empty());
  298   if (!s.empty()) {
  718         if (!declKind.empty()) {
  769             if (!lastName.empty()) {
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
   55   if (Filename.empty())
   80   } else if (!Root.empty()) {
  194   if (!Message.empty())
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  416   while (!LeafName.empty()) {
  476     if (SuppliedOption.empty())
  600          (Option.DefaultValStr.empty() ? "\"\"" : Option.DefaultValStr) + ")")
tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
   55   if (!modelPath.empty())
tools/clang/lib/Tooling/CompilationDatabase.cpp
   86   while (!Directory.empty()) {
tools/clang/lib/Tooling/Core/Replacement.cpp
  556       if (!R.getReplacementText().empty())
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
  132   if (Ext.empty())
  146   if (Ext.empty())
tools/clang/lib/Tooling/FileMatchTrie.cpp
  121       if (!Result.empty() || IsAmbiguous)
  129         if (Result.empty()) {
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  218         if (!Flag.empty())
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp
  234   if (Match.empty())
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp
  121     if (!R.getReplacementText().empty() &&
  265   if (Text.empty())
tools/clang/lib/Tooling/Tooling.cpp
  246   if (!CommandLine.empty() && !InvokedAs.empty()) {
tools/clang/lib/Tooling/Transformer/SourceCodeBuilders.cpp
   66   if (Text.empty())
   80       if (Text.empty())
   86   if (Text.empty())
  101       if (Text.empty())
  107   if (Text.empty())
  122       if (DerefText.empty())
  131   if (Text.empty())
  146       if (DerefText.empty())
  155   if (Text.empty())
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  757     assert(!CurTriple.empty());
  877     bool KindIsValid = !Kind.empty();
  884     bool TripleIsValid = !Triple.empty();
tools/clang/tools/clang-refactor/TestSupport.cpp
  346     if (!Matches[2].empty()) {
  354     if (!Matches[3].empty()) {
tools/clang/tools/diagtool/FindDiagnosticID.cpp
   63     if (!Name.empty()) {
tools/clang/tools/diagtool/ListWarnings.cpp
   43     if (!E.Flag.empty())
   64     if (entry.Flag.empty())
tools/clang/tools/diagtool/ShowEnabledWarnings.cpp
  139     if (!PD.Flag.empty())
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
   85     if (Value.empty())
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
   76   if (!InnerNs || PartialNsName.empty())
  297   if (SymbolSplitted.size() >= 1 && !Namespace.empty()) {
tools/clang/tools/extra/clang-doc/BitcodeWriter.cpp
  100     return Abbrev != nullptr && Name.data() != nullptr && !Name.empty();
  319   if (!prepRecordData(ID, !Str.empty()))
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  232   if (Origin.empty())
tools/clang/tools/extra/clang-doc/Mapper.cpp
  100   if (RootDir.empty() || !File.startswith(RootDir))
tools/clang/tools/extra/clang-doc/Representation.cpp
  286   if (SourceRoot.empty())
  290   if (!RepositoryUrl.empty()) {
  292     if (!RepositoryUrl.empty() && RepositoryUrl.find("http://") != 0 &&
tools/clang/tools/extra/clang-doc/Representation.h
  121       : Name(Name), Path(Path), IsInGlobalNamespace(Path.empty()) {}
  128         IsInGlobalNamespace(Path.empty()) {}
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  221         if (!ND->getName().empty())
  344   assert(!Query.empty() && "Empty query!");
tools/clang/tools/extra/clang-include-fixer/YamlSymbolIndex.cpp
   38   for (llvm::SmallString<128> PathStorage = Directory; !Directory.empty();
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp
   87     if (ND->getName().empty())
   95     if (ND->getName().empty())
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/PathConfig.cpp
   24     if (FilePath.empty())
tools/clang/tools/extra/clang-include-fixer/plugin/IncludeFixerPlugin.cpp
   68         if (!Input.empty()) {
tools/clang/tools/extra/clang-move/Move.cpp
   74   if (Path.empty())
  338   if (OldHeader.empty())
  859   if (!NewFile.empty()) {
tools/clang/tools/extra/clang-query/QueryParser.cpp
   31   if (Line.empty())
  129   if (!lexWord().empty())
  207     if (Name.empty())
  245     if (VarStr.empty())
  274     if (VarStr.empty())
  293     if (Name.empty())
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  238     if (FilePath.empty())
tools/clang/tools/extra/clang-tidy/ClangTidyCheck.cpp
   18   assert(!CheckName.empty());
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
  243   for (StringRef CurrentPath = Path; !CurrentPath.empty();
  274   assert(!Directory.empty());
  304     if ((*Text)->getBuffer().empty())
tools/clang/tools/extra/clang-tidy/GlobList.cpp
   51   } while (!Globs.empty());
tools/clang/tools/extra/clang-tidy/bugprone/AssertSideEffectCheck.cpp
  117   if (AssertMacroName.empty())
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp
  123     if (LHSString.empty() || RHSString.empty())
  123     if (LHSString.empty() || RHSString.empty())
tools/clang/tools/extra/clang-tidy/cert/StrToNumCheck.cpp
  211     if (FmtStr.empty())
tools/clang/tools/extra/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.cpp
   40       D->getName().empty() ? D->getBeginLoc() : D->getLocation();
tools/clang/tools/extra/clang-tidy/google/NonConstReferences.cpp
  137   if (Parameter->getName().empty()) {
tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.cpp
   36     if (!Username.empty())
tools/clang/tools/extra/clang-tidy/modernize/UseNoexceptCheck.cpp
  108       << ReplacementStr.empty() << ReplacementStr << FixIt;
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
  464       CharAfterReturnType.empty() || !std::isspace(CharAfterReturnType[0]);
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
   29   return (Name.empty() ? llvm::Twine('#') + llvm::Twine(Index + 1)
tools/clang/tools/extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp
  139   if (!New.empty()) {
tools/clang/tools/extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp
   88   if (Param->getName().empty()) {
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  297     while (!Substr.empty()) {
  389   if (Mid.empty())
  398   assert(D && D->getIdentifier() && !D->getName().empty() && !D->isImplicit() &&
  810     if (!Decl->getIdentifier() || Decl->getName().empty() || Decl->isImplicit())
tools/clang/tools/extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
  368   if (!EquivalentLiteral.empty()) {
tools/clang/tools/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
   94     return L.empty() || R.empty() || L == R;
   94     return L.empty() || R.empty() || L == R;
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.cpp
  165   return BufferIdentifier.empty();
tools/clang/tools/extra/clang-tidy/readability/NamedParameterCheck.cpp
   50     if (!Parm->getName().empty())
  102         if (!Name.empty())
  110         if (!Name.empty())
tools/clang/tools/extra/clang-tidy/readability/NamespaceCommentCheck.cpp
  150                   NamespaceNameInComment.empty()) ||
  152                   Anonymous.empty())) {
tools/clang/tools/extra/clang-tidy/readability/RedundantStringCStrCheck.cpp
   55   if (Text.empty())
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
  234     if (!NegatedOperator.empty() && LHS && RHS)
tools/clang/tools/extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
  140   if (!LiteralType::SkipFirst.empty()) {
  164   assert(!ReplacementDsc.OldSuffix.empty() &&
tools/clang/tools/extra/clang-tidy/utils/HeaderFileExtensionsUtils.cpp
   62   if (extension.empty())
tools/clang/tools/extra/clang-tidy/utils/OptionsUtils.cpp
   24     if (!Name.empty())
tools/clang/tools/extra/clangd/CodeComplete.cpp
  562     if (!HeuristicPrefix.Qualifier.empty()) {
  861         if (!S.Documentation.empty())
 1376     if (HeuristicPrefix.Qualifier.empty())
 1620         if (!Candidate.IndexResult->Type.empty())
 1716   while (!Rest.empty() && isIdentifierBody(Rest.back()))
 1722     while (!Rest.empty() && isIdentifierBody(Rest.back()))
tools/clang/tools/extra/clangd/CodeCompletionStrings.cpp
  227   if (!DocComment.empty()) {
tools/clang/tools/extra/clangd/Diagnostics.cpp
  406       if (!Warning.empty()) {
  561         if (!Remove.empty() && !Insert.empty()) {
  561         if (!Remove.empty() && !Insert.empty()) {
  567         } else if (!Remove.empty()) {
  571         } else if (!Insert.empty()) {
tools/clang/tools/extra/clangd/FileDistance.cpp
   72     for (unsigned I = 0; !Rest.empty(); ++I) {
  123   for (llvm::StringRef Rest = Canonical; !Rest.empty();
  202     else if (Preferred.startswith(S) && !S.empty())
tools/clang/tools/extra/clangd/FindSymbols.cpp
   70   if (Query.empty() || !Index)
   82   if (IsGlobalQuery || !Names.first.empty())
tools/clang/tools/extra/clangd/Format.cpp
   78   while (!Rest.empty() && Rest.back() != '\n')
  150   bool NewLineIsComment = !commentMarker(Indentation).empty();
  151   if (!CommentMarker.empty() &&
  152       (NewLineIsComment || !commentMarker(NextLine).empty() ||
  153        (!TrailingTrim.empty() && !TrailingTrim.startswith("//")))) {
  170   if (CommentMarker.empty() && Leading.endswith("{") &&
  187   Result.CursorPlaceholder = !CommentMarker.empty() ? "ident" : "//==\nident";
  293       if (R.getReplacementText().empty()) // Deletions are easy to handle.
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp
   45   if (!ResourceDir.empty())
   59        !Path.empty() && !Action(Path);
   83   if (FileExtension.empty() || FileExtension == ".h")
tools/clang/tools/extra/clangd/Headers.cpp
  122   if (!IncludedRealName.empty() && RealPathNames[Child].empty())
tools/clang/tools/extra/clangd/JSONTransport.cpp
  222     } else if (!LineRef.trim().empty()) {
tools/clang/tools/extra/clangd/Protocol.h
 1255     assert(Style.empty() && "style modifiers for this type are not supported");
tools/clang/tools/extra/clangd/Quality.cpp
  321   if (!D || SymbolURI.empty())
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  228     if (Lang.empty()) {
tools/clang/tools/extra/clangd/RIFF.cpp
   32   if (Len % 2 & !Stream.empty()) { // Skip padding byte.
   61   for (llvm::StringRef Body = RIFF->Data.drop_front(4); !Body.empty();)
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
   35   return II && !II->getName().empty();
tools/clang/tools/extra/clangd/SourceCode.cpp
  912           if (Enclosing.empty())
 1038     if (!LHSIt->empty())
 1043     if (!RHSIt->empty())
tools/clang/tools/extra/clangd/URI.cpp
  128   if (Scheme.empty())
  142   assert(!Scheme.empty());
  143   assert((Authority.empty() || Body.startswith("/")) &&
tools/clang/tools/extra/clangd/XRefs.cpp
  530       if (!TTP->getName().empty())
  556       if (!TTPD->getName().empty())
  667       if (!PVD->getName().empty())
tools/clang/tools/extra/clangd/index/Background.cpp
  492     assert(!TUForFile.empty() && "File without a TU!");
tools/clang/tools/extra/clangd/index/BackgroundIndexStorage.cpp
  128     if (CDBDirectory.empty()) {
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp
   34   assert(!Header.empty());
tools/clang/tools/extra/clangd/index/IndexAction.cpp
   36   if (AbsolutePath.empty())
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
  157   if (Path.empty())
  651   if (!FE || FE->getName().empty())
  721   for (unsigned I = 0; I < 100 && !Content.empty(); ++I) {
tools/clang/tools/extra/clangd/index/SymbolLocation.h
   55   explicit operator bool() const { return !llvm::StringRef(FileURI).empty(); }
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
   54   if (!llvm::StringRef(Sym.CanonicalDeclaration.FileURI).empty())
   60   if (!Sym.Type.empty())
  316   while (!Body.empty() && --Limit > 0) {
  320     if (!Body.empty())
tools/clang/tools/extra/clangd/index/dex/Trigram.cpp
   87   if (Query.empty())
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
   57   if (IsGlobalScope || !Names.first.empty())
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
   28   return !StringRef(arg.CanonicalDeclaration.FileURI).empty();
   30 MATCHER(Defined, "") { return !StringRef(arg.Definition.FileURI).empty(); }
   38   return arg.Flags == IncludeGraphNode::SourceFlag::None && !arg.URI.empty() &&
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
   85     if (Preferred.empty())
tools/clang/tools/extra/clangd/unittests/TestFS.cpp
   58   if (RelPathPrefix.empty()) {
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
  162     if (Line.empty() || (Line[0] == '#'))
  235     if (Line.empty() || (Line[0] == '#'))
tools/clang/tools/extra/unittests/clang-move/ClangMoveTests.cpp
  217     if (!Name.empty()) {
tools/clang/tools/libclang/CIndex.cpp
 7456   if (Buffer.empty() || Invalid)
 7906           if (LHS->getMessage().empty())
 7908           if (LHS->getReplacement().empty())
 7914           if (LHS->getMessage().empty())
 7916           if (LHS->getReplacement().empty())
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
  981   if (Old.empty()) {
 1025       if (XText.empty() || YText.empty())
 1025       if (XText.empty() || YText.empty())
 1026         return !XText.empty();
tools/clang/tools/libclang/CIndexer.cpp
  156   if (Path.empty())
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  397   if (Str.empty())
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp
  110   if (DiagOption.empty())
tools/clang/tools/libclang/CXStoredDiagnostic.cpp
   55   if (!Option.empty()) {
tools/clang/tools/libclang/CXString.cpp
   87   if (!String.empty() && String.data()[String.size()] != 0)
tools/clang/tools/libclang/Indexing.cpp
  700   if (Unit->getOriginalSourceFileName().empty())
tools/clang/unittests/AST/CommentParser.cpp
  211   if (!ParamName.empty() && !PCC->hasParamName())
  245   if (!ParamName.empty() && !TPCC->hasParamName())
tools/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
  119           (MatcherDecl.empty() || I->MatcherDecl == MatcherDecl)) {
tools/clang/unittests/Tooling/ASTSelectionTest.cpp
  122   if (!Name.empty())
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp
  252   EXPECT_TRUE(find("//net/aa/file.cc").empty());
  264   EXPECT_TRUE(find("//net/some/path").empty());
tools/clang/unittests/Tooling/RefactoringTest.cpp
   97   EXPECT_TRUE(Replace1.getFilePath().empty());
  100   EXPECT_TRUE(Replace2.getFilePath().empty());
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 1949     if (!Code.empty()) {
 2950   if (!Code.empty()) {
 3318   if (!CustomDiag.empty())
 4053     if (!Replacement.empty())
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  878     while (!T.empty() && T.front() == ' ') {
  884     while (!T.empty() && T.back() == ' ') {
  889     if (!T.empty()) {
  992   if (Text.empty() || !isdigit(Text[0]))
  999   } while (!Text.empty() && isdigit(Text[0]));
 1007   while (!Text.empty()) {
 1018       if (Text.empty())
 1053         assert(!Text.empty() && "malformed %select");
 1069         assert(!Text.empty());
 1074         assert(!Text.empty() && "malformed %select");
 1091       if (!Text.empty()) {
 1096           if (Text.empty() || Text[0] != ',')
 1099           assert(!Text.empty() && isdigit(Text[0]) &&
 1297   if (name.empty())
 1783     if (!Doc.empty())
tools/clang/utils/TableGen/ClangOpcodesEmitter.cpp
   92     if (N.empty())
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
  222       if (!Value.empty())
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp
   40   assert(!R->getValueAsString("PackageName").empty());
   49   assert(!R->getValueAsString("CheckerName").empty());
   86   if (LandingPage.empty())
tools/clang/utils/TableGen/ClangTypeNodesEmitter.cpp
  151 		if (id.empty()) continue;
  156 			if (!macroName.empty())
  171 		if (macroName.empty())
tools/clang/utils/TableGen/MveEmitter.cpp
  804       if (!IA.ExtraCheckType.empty()) {
  806         if (!IA.ExtraCheckArgs.empty())
  999       if (!ArgName.empty())
 1054   if (!Name.empty()) {
 1141     if (!ArgName.empty())
 1193       if (Name.empty()) {
tools/clang/utils/TableGen/NeonEmitter.cpp
 1627     if (!DI->getArgNameStr(ArgIdx).empty()) {
tools/dsymutil/DeclContext.cpp
  104       Tag != dwarf::DW_TAG_enumeration_type && NameRef.empty())
  137             if (!ResolvedPath.empty()) {
  158   if (!Line && NameRef.empty())
tools/dsymutil/DwarfLinker.cpp
  212     if (!Split.second.empty())
 2014   if (FrameData.empty())
 2059     if (CIEData.empty())
 2434       (!DwarfObj.getAppleNamesSection().Data.empty() ||
 2435        !DwarfObj.getAppleTypesSection().Data.empty() ||
 2436        !DwarfObj.getAppleNamespacesSection().Data.empty() ||
 2437        !DwarfObj.getAppleObjCSection().Data.empty())) {
 2442       !DwarfObj.getNamesSection().Data.empty()) {
tools/dsymutil/DwarfStreamer.cpp
  132   if (DM.getTriple().isOSDarwin() && !DM.getBinaryPath().empty() &&
tools/dsymutil/MachODebugMapParser.cpp
  112       if (!File.empty())
tools/dsymutil/MachOUtils.cpp
  169         (NList.n_type != MachO::N_SO) || (!Name.empty() && Name[0] != '\0');
tools/dsymutil/NonRelocatableStringpool.cpp
   15   if (S.empty() && !Strings.empty())
tools/dsymutil/SymbolMap.cpp
  152   while (!Data.empty()) {
tools/dsymutil/dsymutil.cpp
  324   if (!Toolchain.empty()) {
tools/gold/gold-plugin.cpp
  693   return !S.empty() && (isAlpha(S[0]) || S[0] == '_') &&
  831   assert(PrefixReplace.empty() || PrefixReplace.find(";") != StringRef::npos);
tools/lld/COFF/DLL.cpp
  576       if (s->getExternalName().empty()) {
  642       if (extName.empty()) {
  716     if (e.forwardTo.empty())
tools/lld/COFF/DebugTypes.cpp
  137       !file->parentName.empty() ? file->parentName : file->getName();
tools/lld/COFF/Driver.cpp
  100   if (ret.second.empty())
  117   return !s.empty() && s.drop_back().endswith("crtend");
  327   if (s.empty())
  351       if (!exp.extName.empty() && !isDecorated(exp.extName))
  499   while (!env.empty()) {
  711   if (!config->implib.empty())
  961   if (!binaryExtension.empty())
 1663       if (!e.extName.empty() && !isDecorated(e.extName))
 1703       if (s.empty())
 1793       if (!e.forwardTo.empty())
 1910     if (!config->mingw || !config->implib.empty())
tools/lld/COFF/DriverUtils.cpp
   81   if (size && !s2.empty() && s2.getAsInteger(0, *size))
   93   if (!s2.empty() && s2.getAsInteger(0, *minor))
  132   if (!ver.empty())
  141   if (from.empty() || to.empty())
  141   if (from.empty() || to.empty())
  154   if (from.empty() || to.empty())
  154   if (from.empty() || to.empty())
  205   if (name.empty() || attrs.empty())
  205   if (name.empty() || attrs.empty())
  214   if (name.empty() || align.empty()) {
  214   if (name.empty() || align.empty()) {
  229   if (!arg.empty()) {
  258   if (arg.empty())
  276     if (arg.empty())
  302     else if (swaprun.empty())
  307     if (newArg.empty() && arg.endswith(","))
  310   } while (!arg.empty());
  323     if (!contents.empty()) {
  378   if (!config->manifestDependency.empty()) {
  528   if (e.name.empty())
  544     if (e.name.empty())
  549   while (!rest.empty()) {
  602   if (sym.empty())
  632     if (!e.forwardTo.empty()) {
  635       e.exportName = undecorate(e.extName.empty() ? e.name : e.extName);
  687   if (k.empty() || v.empty())
  687   if (k.empty() || v.empty())
  690   if (!existing.first.empty() && v != existing.first) {
tools/lld/COFF/InputFiles.cpp
   60   if (file->parentName.empty() || file->kind() == coff::InputFile::ImportKind)
  142   if (mb.getBuffer().empty())
  824   if (!s.empty() && strchr(chars, s[0]))
  896                  (archiveName.empty() ? "" : utostr(offsetInArchive))));
tools/lld/COFF/LTO.cpp
   94   if (!config->thinLTOIndexOnlyArg.empty())
  155   if (!config->ltoCache.empty())
  180     if (!config->ltoObjPath.empty())
  187   if (!config->ltoCache.empty())
tools/lld/COFF/MinGW.cpp
  143   if (!libName.empty())
tools/lld/COFF/PDB.cpp
 1230     bool inArchive = !file->parentName.empty();
tools/lld/COFF/SymbolTable.cpp
  105   if (!source.empty())
  170     if (!loc.fileLine.first.empty())
  524   if (!source.empty())
tools/lld/COFF/Symbols.h
   93         nameData(n.empty() ? nullptr : n.data()) {}
tools/lld/COFF/Writer.cpp
  663         (!curName.empty() && !curName.startswith("$")))
tools/lld/Common/Args.cpp
   72     if (!s.empty() && s[0] != '#')
tools/lld/Common/DWARF.cpp
   64       if (!name.empty())
tools/lld/Common/Filesystem.cpp
   94   if (path.empty())
tools/lld/Common/Strings.cpp
   54   while (!s.empty()) {
   69   return !s.empty() && (isAlpha(s[0]) || s[0] == '_') &&
tools/lld/ELF/Arch/MipsArchTree.cpp
  263   if (mach.empty())
  305     if (config->emulation.empty() || config->is64)
tools/lld/ELF/CallGraphSort.cpp
  235   if (!config->printSymbolOrder.empty()) {
tools/lld/ELF/Driver.cpp
  650   if (!s.empty())
  789   if (ret.second.empty())
 1164       if (from.empty() || to.empty())
 1164       if (from.empty() || to.empty())
 1709   if (config->outputFile.empty())
 1726       (!config->entry.empty() || (!config->shared && !config->relocatable));
 1727   if (config->entry.empty() && !config->relocatable)
tools/lld/ELF/InputFiles.cpp
   72     if (archiveName.empty())
  106   if (!config->chroot.empty() && path.startswith("/"))
  140   if (!config->emulation.empty()) {
  412   if (signature.empty() && sym.getType() == STT_SECTION)
 1374   StringRef name = archiveName.empty()
 1486   if (mb.getBuffer().empty())
 1551       if (mb.getBuffer().empty())
tools/lld/ELF/InputSection.cpp
 1232   while (!s.empty()) {
tools/lld/ELF/LTO.cpp
  130   if (!config->thinLTOIndexOnlyArg.empty())
  244   if (!config->thinLTOCacheDir.empty())
  270     if (!config->ltoObjPath.empty())
  281   if (!config->thinLTOCacheDir.empty())
  284   if (!config->ltoObjPath.empty()) {
tools/lld/ELF/MapFile.cpp
  142   if (config->mapFile.empty())
tools/lld/ELF/Relocations.cpp
 1147           (sym.getName().empty() ? "local symbol"
 1155           (sym.getName().empty() ? "local symbol" : "symbol " + toString(sym)) +
tools/lld/ELF/ScriptLexer.cpp
   94     if (s.empty())
  181   while (!s.empty()) {
tools/lld/ELF/ScriptParser.cpp
   51     for (; !path.empty(); path = sys::path::parent_path(path)) {
  291     if (config->sysroot.empty())
  321   if (config->entry.empty())
  371   if (config->outputFile.empty())
tools/lld/ELF/Symbols.cpp
  211   if (verstr.empty())
tools/lld/ELF/SyntheticSections.cpp
   73   if (s.empty())
 1277   bool isMain = part.name.empty();
 1293     if (!config->soName.empty())
 1296     if (!config->soName.empty())
 2857   if (!getPartition().name.empty())
 2859   if (!config->soName.empty())
tools/lld/ELF/Writer.cpp
  138   return !sharedFiles.empty() && !config->dynamicLinker.empty() &&
  374     if (!part.name.empty()) {
  641   bool isLocal = name.startswith(".L") || name.empty();
tools/lld/MinGW/Driver.cpp
  229     StringRef sep = minor.empty() ? "" : ".";
  258     if (!v.empty())
tools/lld/include/lld/Core/LinkingContext.h
   70     assert(!symbolName.empty() && "Empty symbol cannot be a dead strip root");
tools/lld/include/lld/Core/Simple.h
  249     assert(!name.empty() && "UndefinedAtoms must have a name");
tools/lld/lib/Core/LinkingContext.cpp
   36   if (entrySymbolName().empty())
tools/lld/lib/Core/Reader.cpp
   82     for (const KindStrings *pair = entry.array; !pair->name.empty(); ++pair) {
  103     for (const KindStrings *pair = entry.array; !pair->name.empty(); ++pair) {
tools/lld/lib/Core/Resolver.cpp
   56       if (undefName.empty())
tools/lld/lib/Core/SymbolTable.cpp
   37   if (!atom.name().empty() &&
   46     assert(atom.name().empty());
  116   assert(!name.empty());
tools/lld/lib/Driver/DarwinLdDriver.cpp
  177   while (!buffer.empty()) {
  184     if (!sym.empty())
  207   while (!buffer.empty()) {
  214     if (symAndComment.first.empty())
  217     if (sym.empty())
  222     if (!prefixAndSym.second.empty()) {
  233     if (!sym.empty()) {
  265   while (!buffer.empty()) {
  270     if (!dirName.empty()) {
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
  566     bool targetUnnamed = target->name().empty();
  842     if (ref.target()->name().empty())
tools/lld/lib/ReaderWriter/MachO/ExecutableAtoms.h
  109     if (!machHeaderSymbolName.empty())
  116     if (!dsoHandleName.empty())
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp
   59   if (definedAtom->name().empty())
   64   if (definedAtom->customSectionName().empty())
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
   43   if (str.empty())
   78   if (str.empty())
  117   for (ArchInfo *info = _s_archInfos; !info->archName.empty(); ++info) {
  126   for (ArchInfo *info = _s_archInfos; !info->archName.empty(); ++info) {
  134   for (ArchInfo *info = _s_archInfos; !info->archName.empty(); ++info) {
  143   for (ArchInfo *info = _s_archInfos; !info->archName.empty(); ++info) {
  152   for (ArchInfo *info = _s_archInfos; !info->archName.empty(); ++info) {
  283   for (ArchInfo *info = _s_archInfos; !info->archName.empty(); ++info) {
  294   for (ArchInfo *info = _s_archInfos; !info->archName.empty(); ++info) {
  304   for (ArchInfo *info = _s_archInfos; !info->archName.empty(); ++info) {
  601   if (!_bundleLoader.empty() && outputMachOType() != MH_BUNDLE) {
  929   if (!filename.empty())
  943   if (!dirAndLeaf.second.empty())
  946     if (info.fileFilter.empty()) {
  970   if (leftName.empty() || rightName.empty())
  970   if (leftName.empty() || rightName.empty())
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  521         if (!trieExport.otherName().empty())
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
 1313   if ((entry.flags & EXPORT_SYMBOL_FLAGS_REEXPORT) && !entry.otherName.empty())
 1372       if (!_importedName.empty()) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
 1059       if (!atom->name().empty()) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  113     if (!p->segmentName.equals(section.segmentName) && !p->segmentName.empty())
  115     if (!p->sectionName.equals(section.sectionName) && !p->sectionName.empty())
  117     customSectionName = p->segmentName.empty() && p->sectionName.empty();
  117     customSectionName = p->segmentName.empty() && p->sectionName.empty();
 1602     if (p->segmentName.empty() || p->sectionName.empty())
 1602     if (p->segmentName.empty() || p->sectionName.empty())
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
   80       if (!atom->name().empty())
   87         if ((target != nullptr) && target->name().empty()) {
  108       if (!absAtom->name().empty())
  114     assert(!atom.name().empty());
  761       if (!_targetName.empty())
  842       if (!_name.empty())
  844       if (!_refName.empty())
  846       if (!_sectionName.empty())
 1013       if (!_name.empty())
 1079       if (!_name.empty())
 1081       if (!_loadName.empty())
 1155       if (!_name.empty())
 1225     if (!na->_refName.empty())
 1227     else if (!na->_name.empty())
 1240     if (na->_refName.empty())
tools/lld/wasm/Driver.cpp
  404   if (config->outputFile.empty())
  411     if (!config->entry.empty())
  728   if (!config->relocatable && !config->entry.empty()) {
tools/lld/wasm/LTO.cpp
  131   if (!config->thinLTOCacheDir.empty())
  145   if (!config->thinLTOCacheDir.empty())
tools/lld/wasm/MarkLive.cpp
   81   if (!config->entry.empty())
tools/lld/wasm/SymbolTable.cpp
  405   if (!importName.empty()) {
  406     if (existing->importName.empty())
  415   if (!importModule.empty()) {
  416     if (existing->importModule.empty())
tools/lld/wasm/SyntheticSections.cpp
  457     if (!comdat.empty())
  470     if (!comdat.empty())
  498     if (!f->getName().empty() || !f->getDebugName().empty())
  498     if (!f->getName().empty() || !f->getDebugName().empty())
  519     if (!f->getName().empty()) {
  521       if (!f->getDebugName().empty()) {
tools/lldb/include/lldb/Core/MappedHash.h
  207       if (name.empty())
tools/lldb/include/lldb/Core/StructuredDataImpl.h
  141     if (result.empty())
tools/lldb/include/lldb/Expression/ExpressionVariable.h
  175     if (name.empty())
tools/lldb/include/lldb/Interpreter/CommandObject.h
   40   const bool add_all = cmd_str.empty();
tools/lldb/include/lldb/Utility/AnsiTerminal.h
  110   while (!format.empty()) {
  116     if (left == format && right.empty()) {
tools/lldb/include/lldb/Utility/ArchSpec.h
  338     return !m_triple.getVendorName().empty();
  341   bool TripleOSWasSpecified() const { return !m_triple.getOSName().empty(); }
tools/lldb/include/lldb/Utility/StructuredData.h
  381       if (!key.empty()) {
tools/lldb/source/API/SBCommandInterpreter.cpp
  654       assert(command_name_str.empty());
tools/lldb/source/Breakpoint/BreakpointID.cpp
   75   if (input.empty())
   89   if (!input.empty())
   97   if (str.empty())
tools/lldb/source/Breakpoint/BreakpointIDList.cpp
  138     if (!range_from.empty() && !range_to.empty()) {
  138     if (!range_from.empty() && !range_to.empty()) {
tools/lldb/source/Commands/CommandCompletions.cpp
  147     if (!RemainderDir.empty()) {
  167   if (SearchDir.empty()) {
  424   if (!m_request.GetCursorArgumentPrefix().empty()) {
tools/lldb/source/Commands/CommandObjectApropos.cpp
   48     if (!search_word.empty()) {
tools/lldb/source/Commands/CommandObjectCommands.cpp
  522     if (raw_command_line.empty()) {
  690       assert(!sub_command.empty());
 1253         if (result.GetOutputData().empty())
 1339         if (result.GetOutputData().empty())
 1541         if (!option_arg.empty())
 1545         if (!option_arg.empty())
 1549         if (!option_arg.empty())
 1803     if (cmd_name.empty() || !m_interpreter.HasUserCommands() ||
tools/lldb/source/Commands/CommandObjectExpression.cpp
  133     if (option_arg.empty()) {
  578   if (command.empty()) {
  649     else if (expr.empty()) {
tools/lldb/source/Commands/CommandObjectHelp.cpp
   24   if (!s || command.empty())
tools/lldb/source/Commands/CommandObjectMemory.cpp
 1500         if (entry.ref().empty())
 1574     if (!buffer.GetString().empty()) {
tools/lldb/source/Commands/CommandObjectMultiword.cpp
   97   if (sub_command.empty()) {
tools/lldb/source/Commands/CommandObjectPlatform.cpp
 1612     if (raw_command_line.empty()) {
tools/lldb/source/Commands/CommandObjectProcess.cpp
  200     if (!target_settings_argv0.empty()) {
  232         if (!data.empty())
  882         if (!option_arg.empty())
tools/lldb/source/Commands/CommandObjectTarget.cpp
  174     if (option_value.empty()) {
 2548         if (entry.ref().empty())
 4323           if (!entry.ref().empty()) {
tools/lldb/source/Commands/CommandObjectThread.cpp
 1647     if (!command.empty()) {
tools/lldb/source/Commands/CommandObjectType.cpp
  682       if (arg_entry.ref().empty()) {
 1331       if (entry.ref().empty()) {
 1431     if (arg_entry.ref().empty()) {
 1822         if (!option_arg.empty()) {
 1989         if (!option_arg.empty()) {
 2231     if (entry.ref().empty()) {
 2296     if (arg_entry.ref().empty()) {
 2597       if (arg_entry.ref().empty()) {
 2724     if (raw_command_line.empty()) {
tools/lldb/source/Commands/CommandObjectWatchpoint.cpp
   98     if (!first.empty())
  101     if (!second.empty())
  996     if (raw_command.trim().empty()) {
tools/lldb/source/Core/Debugger.cpp
 1169   } else if (log_file.empty()) {
 1340             if (!content_stream.GetString().empty()) {
tools/lldb/source/Core/FormatEntity.cpp
  971       if (special_directions.empty()) {
 1058   if (!format_str.empty()) {
 1711               if (!ss.GetString().empty())
 1716                 if (!var_representation.empty())
 1910       if (value.empty()) {
 1969       if (p.second.empty()) {
 1992   while (!format.empty() && error.Success()) {
 2032       if (format.empty()) {
 2145           if (!variable_format.empty()) {
 2311   if (variable_name.empty() || variable_name.equals(".fullpath")) {
 2339       if (match_prefix.empty())
 2376   if (partial_variable.empty()) {
 2393   if (remainder.empty()) {
tools/lldb/source/Core/IOHandler.cpp
 3963     if (!m_title.GetString().empty()) {
tools/lldb/source/Core/Mangled.cpp
   82       if (!cxx_method.GetBasename().empty()) {
   84         if (!cxx_method.GetContext().empty())
  108   if (!name.empty())
tools/lldb/source/Core/Module.cpp
  653       if (basename.empty()) {
  673         if (!cpp_method.GetQualifiers().empty()) {
  699     if (basename.empty()) {
  704         if (basename.empty())
  711   if (!basename.empty()) {
  762           if (cpp_method.GetContext().empty()) {
  986     if (type_class != eTypeClassAny && !type_basename.empty()) {
tools/lldb/source/Core/PluginManager.cpp
 1346   if (name.empty())
tools/lldb/source/Core/UserSettingsController.cpp
  107   if (setting.empty())
tools/lldb/source/Core/ValueObject.cpp
 1460     if (str.empty()) {
 1473     if (!str.empty())
 2256     if (temp_expression.empty()) {
 2513       assert(!bracket_expr.empty());
 3148   if (expression.empty())
 3152   if (retval_sp && !name.empty())
 3174         if (ptr_result_valobj_sp && !name.empty())
 3191   if (new_value_sp && !name.empty())
tools/lldb/source/DataFormatters/TypeFormat.cpp
  193   if (!sstr.GetString().empty())
tools/lldb/source/Expression/DiagnosticManager.cpp
   75   if (str.empty())
tools/lldb/source/Expression/IRExecutionUnit.cpp
  515   if (!name.empty()) {
tools/lldb/source/Expression/REPL.cpp
  209       if (!llvm::StringRef(code).trim().empty()) {
  461   if (request.GetRawLine().trim().empty()) {
  546       assert(command_name_str.empty());
tools/lldb/source/Expression/UserExpression.cpp
  203   if (!prefix.empty() && !option_prefix.empty()) {
  203   if (!prefix.empty() && !option_prefix.empty()) {
  207   } else if (!prefix.empty())
tools/lldb/source/Host/common/FileSystem.cpp
  335   if (parent.empty() || parent == ".")
tools/lldb/source/Host/common/Host.cpp
  655   assert(Options.empty());
tools/lldb/source/Host/common/HostInfoBase.cpp
  195   if (triple.empty())
  206   if (normalized_triple.getVendorName().empty())
  208   if (normalized_triple.getOSName().empty())
  210   if (normalized_triple.getEnvironmentName().empty())
  231   if (parent_path.empty()) {
tools/lldb/source/Host/common/NativeRegisterContext.cpp
   56   if (reg_name.empty())
tools/lldb/source/Host/linux/Host.cpp
   58   while(!Rest.empty()) {
  156   while (!Rest.empty()) {
  184   if (!PathRef.empty()) {
  198   while (!Rest.empty()) {
tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
  158   if (!path.empty()) {
tools/lldb/source/Interpreter/CommandAlias.cpp
   67         if (!entry.ref().empty())
   93     if (!help.empty()) {
tools/lldb/source/Interpreter/CommandInterpreter.cpp
  954   if (name.empty())
  976   if (!name.empty()) {
 1004   if (cmd_str.empty())
 1169   if (!help_prologue.empty()) {
 1810   if (!first_arg.empty()) {
 2018   if (!suffix.empty()) {
 2241       if (error_msg.empty())
 2494   while (!help_text.empty()) {
 2558   while (!text.empty()) {
 2711   if (command.empty())
tools/lldb/source/Interpreter/CommandObject.cpp
  853   if (!long_help.empty()) {
  970       if (!entry.value().ref().empty() && entry.value().ref().front() == '`') {
tools/lldb/source/Interpreter/CommandObjectRegexCommand.cpp
   62   if (!GetSyntax().empty())
tools/lldb/source/Interpreter/CommandObjectScript.cpp
   65   if (command.empty()) {
tools/lldb/source/Interpreter/CommandReturnObject.cpp
   82   if (in_string.empty())
   88   if (in_string.empty())
   97   if (in_string.empty())
  103   if (in_string.empty())
  117   if (error_str.empty())
  128   if (in_string.empty())
tools/lldb/source/Interpreter/OptionArgParser.cpp
   56   if (s.empty()) {
  145   if (s.empty()) {
tools/lldb/source/Interpreter/OptionGroupFormat.cpp
   96     while (!gdb_format_str.empty() &&
  106     if (!gdb_format_str.empty() ||
tools/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
  131     if (option_arg.empty())
tools/lldb/source/Interpreter/OptionValueArgs.cpp
   20     if (!string_value.empty())
tools/lldb/source/Interpreter/OptionValueArray.cpp
   91   if (name.empty() || name.front() != '[') {
  123       if (!sub_value.empty())
  151     if (!string_value.empty())
tools/lldb/source/Interpreter/OptionValueBoolean.cpp
   82   if (request.GetCursorArgumentPrefix().empty())
tools/lldb/source/Interpreter/OptionValueDictionary.cpp
  114       if (entry.ref().empty()) {
  127       if (key.empty()) {
  216   if (name.empty())
  229   assert(!temp.empty());
  241   if (!key.consume_back(quote_char) || key.empty()) {
  257   if (sub_name.empty())
tools/lldb/source/Interpreter/OptionValueEnumeration.cpp
  108   if (!request.GetCursorArgumentPrefix().empty()) {
tools/lldb/source/Interpreter/OptionValueFormatEntity.cpp
   83     if (!trimmed_value_str.empty()) {
tools/lldb/source/Interpreter/OptionValueProperties.cpp
  115   if (name.empty())
  128   if (sub_name.empty() || !value_sp)
  167           if (!rest.empty()) {
  595   if (name.empty())
  608   if (sub_name.empty() || !property)
tools/lldb/source/Interpreter/OptionValueUUID.cpp
   73   if (!UUID::DecodeUUIDBytesFromString(prefix, uuid_bytes).empty())
tools/lldb/source/Interpreter/Property.cpp
  253       if (!desc.empty())
  271   if (desc.empty())
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
 1413         if (!ss.GetString().empty()) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  806   return name_string_ref.empty() ||
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  654     if (cmd.empty())
  665     while (!to_remove.empty() && !IsTokenSeparator(to_remove.back())) {
  675     while (!cmd.empty() && IsIdChar(cmd.back())) {
  771       if (!Filter.empty() && isResultFilteredOut(Filter, Results[I]))
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
  231   if (m_context.empty())
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp
  643   if (m_text.empty())
tools/lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp
  209     if (tok_str.empty())
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp
   65   if (class_name.empty())
  113   if (class_name.empty())
  158   if (class_name.empty())
  203   if (class_name.empty())
  249   if (class_name.empty())
  438   if (class_name.empty())
  957   if (class_name.empty())
tools/lldb/source/Plugins/Language/ObjC/NSString.cpp
   83   if (class_name.empty())
tools/lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
   83   if (name.empty())
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
  347       if (entry.ref().empty())
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
  207   if (Line.trim().empty()) {
  208     if (Str.empty() || ID.SetFromStringRef(Str, Str.size() / 2) != Str.size())
  231   if (Name.empty())
  274   if (Name.empty())
tools/lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
  149   while (!text.empty()) {
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
 2227       if (!mangled_name.empty())
 2233       if (!demangled_name.empty())
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 4960         if (!os_env.environment.empty())
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
 1494       build_str.empty()) {
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp
   88   if (rest.empty() || rest.trim().getAsInteger(10, intel_pt_type)) {
  186   while (!Rest.empty()) {
tools/lldb/source/Plugins/Process/Utility/LinuxProcMaps.cpp
  105   while (!lines.empty()) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 1935         while (!encoded_args.empty()) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
   55   assert(!data.empty() && "Empty packet?");
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  421     if (!value_pair.first.empty()) {
  427   } while (!value_pair.second.empty());
  975   if (!connect_url.empty()) {
 2221         while (!value.empty()) {
 2233         while (!value.empty()) {
 2297         if (!addr_str.empty() && !bytes_str.empty()) {
 2297         if (!addr_str.empty() && !bytes_str.empty()) {
 4523           if (!href.empty())
 4564             if (!href.empty())
 4672     if (!main_lm.empty()) {
 5326     if (command.empty()) {
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  787         if (label.empty())
  796         if (label.empty())
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
  789   if (callable_name.empty()) {
  865   if (!command.empty()) {
 2543     if (!return_data.empty()) {
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  641     if (rule_text.empty()) {
 1031   if (!enable_options.empty()) {
 1719         !activity_chain.empty()) {
 1734         !subsystem.empty()) {
 1746         !category.empty()) {
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  475   if (unwind_rules.empty())
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp
   24   if (llvmstr.empty()) {
   34   if (llvmstr.empty()) {
   44   if (llvmstr.empty()) {
   54   if (llvmstr.empty()) {
  379   if (llvmstr.empty()) {
  389   if (llvmstr.empty()) {
  399   if (llvmstr.empty()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  690   if (!comp_dir.empty()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp
  520   if (name.empty())
  574   if (name.empty())
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
  326         if (Record.Name.empty()) {
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
 1233         if (!basename.empty())
 1247         if (!basename.empty())
 1521   if (name.empty())
tools/lldb/source/Symbol/ClangASTContext.cpp
  527   if (!target_triple.empty())
 7175           if (field_name.empty()) {
 7877   if (!name.empty())
 7903     if (name.empty()) {
 8095   if (!name.empty())
 8986     if (!symbol_name.empty())
tools/lldb/source/Symbol/ObjectFile.cpp
  581   if (archive.empty())
  622   if (!name.empty()) {
tools/lldb/source/Symbol/PostfixExpression.cpp
   49   while (std::tie(token, expr) = getToken(expr), !token.empty()) {
   91   if (exprs.empty() || !exprs.back().trim().empty())
tools/lldb/source/Symbol/Symtab.cpp
  351   if (base_name.empty())
  361   if (decl_context.empty()) {
tools/lldb/source/Symbol/Type.cpp
  665   if (name.empty())
  691       while (template_depth > 0 && !template_arg.empty()) {
  700       if (template_arg.empty())
tools/lldb/source/Symbol/Variable.cpp
  337   if (!callback || variable_expr_path.empty()) {
  420       if (!variable_sub_expr_path.empty()) {
  567   if (partial_path.empty()) {
tools/lldb/source/Target/PathMappingList.cpp
  159   if (m_pairs.empty() || path.empty())
tools/lldb/source/Target/Platform.cpp
  933   if (triple.empty())
  951   if (normalized_triple.getVendorName().empty())
  953   if (normalized_triple.getOSName().empty())
  955   if (normalized_triple.getEnvironmentName().empty())
tools/lldb/source/Target/Process.cpp
  329           option_arg.empty() ? "<null>" : option_arg.str().c_str());
  343           option_arg.empty() ? "<null>" : option_arg.str().c_str());
  348     if (!option_arg.empty())
  427   if (!plugin_name.empty()) {
tools/lldb/source/Target/RegisterContext.cpp
   54   if (reg_name.empty())
tools/lldb/source/Target/StackFrame.cpp
  501   if (var_expr.empty()) {
  776       if (index_expr.empty()) {
 1056     if (var_expr.empty())
 1853   if (!m_disassembly.GetString().empty()) {
 1889   if (!m_disassembly.GetString().empty())
tools/lldb/source/Target/Target.cpp
 2339   if (expr.empty())
tools/lldb/source/Target/TargetList.cpp
   84   if (!triple_str.empty()) {
  113   if (!user_exe_path.empty()) {
  363     if (file.IsRelative() && !user_exe_path.empty()) {
  412     if (!user_exe_path.empty()) {
tools/lldb/source/Utility/ArchSpec.cpp
  802   if (triple_str.empty())
  811   if (cpu_str.empty() || remainder.empty())
  811   if (cpu_str.empty() || remainder.empty())
  827   if (!vendor.empty() && !os.empty()) {
  827   if (!vendor.empty() && !os.empty()) {
  836   if (triple.empty()) {
  849   return !normalized_triple.getArchName().empty() &&
  850          normalized_triple.getOSName().empty() &&
  851          normalized_triple.getVendorName().empty() &&
  852          normalized_triple.getEnvironmentName().empty();
 1465   s.Printf("%s-%s-%s", arch_str.empty() ? "*" : arch_str.str().c_str(),
 1466            vendor_str.empty() ? "*" : vendor_str.str().c_str(),
 1467            os_str.empty() ? "*" : os_str.str().c_str());
 1469   if (!environ_str.empty())
tools/lldb/source/Utility/Args.cpp
   35     if (quoted.empty() || quoted.front() == '"')
   41     if (quoted.empty()) {
  102     if (command.empty())
  109       if (command.empty()) {
  150       if (!command.empty())
  245   while (!command.empty()) {
  426   if (s.empty())
  644   while (!arg_string.empty()) {
tools/lldb/source/Utility/FileSpec.cpp
  123   if (path.empty())
  199   if (pathname.empty())
  223   if(!filename.empty())
  227   if(!directory.empty())
  526       (Style.empty() || Style.equals_lower("F") || Style.equals_lower("D")) &&
  532   if (dir.empty() && file.empty()) {
  532   if (dir.empty() && file.empty()) {
  538     Stream << (file.empty() ? "(empty)" : file);
  543   if (!dir.empty()) {
  555     if (dir.empty())
  560   if (!file.empty())
tools/lldb/source/Utility/Log.cpp
  314       (!file.empty() || !function.empty())) {
  314       (!file.empty() || !function.empty())) {
tools/lldb/source/Utility/RegisterValue.cpp
  342   if (value_str.empty()) {
tools/lldb/source/Utility/ReproducerInstrumentation.cpp
   92   return (result + (result.empty() ? "" : " ") + scope + "::" + name + args)
tools/lldb/source/Utility/Status.cpp
  240   if (!err_str.empty()) {
tools/lldb/source/Utility/StringExtractor.cpp
  343   if (view.empty())
  349   if (a.empty() || b.empty())
  349   if (a.empty() || b.empty())
  352   if (b == c && d.empty())
  357   if (d.empty())
tools/lldb/source/Utility/StructuredData.cpp
  106       if (match.second.empty()) {
  117     if (match.second.empty()) {
tools/lldb/source/Utility/TildeExpressionResolver.cpp
   37   assert(Expr.empty() || Expr[0] == '~');
   47   assert(Expr.empty() || Expr[0] == '~');
   53   if (Expr.empty())
tools/lldb/source/Utility/UUID.cpp
   67   while (!p.empty()) {
tools/lldb/source/Utility/UriParser.cpp
   43   if (!host_port.empty() && host_port[0] == '[') {
   51     if (!host_port.empty() && !host_port.consume_front(":"))
   58   if (!host_port.empty()) {
tools/lldb/tools/lldb-instr/Instrument.cpp
   77   OS << GetRecordMethodMacroName(Static, Const, Values.empty());
   80   if (!Values.empty()) {
   94   if (!Values.empty()) {
  106   assert(!Values.empty());
tools/lldb/tools/lldb-server/LLDBServerUtilities.cpp
   24   if (!log_file.empty()) {
tools/lldb/tools/lldb-test/lldb-test.cpp
  264     if (value.empty()) {
  343   while (!Cmd.empty()) {
  346       if (Cmd.consume_front("%p") && (Cmd.empty() || !isalnum(Cmd[0]))) {
  368   while (!Rest.empty()) {
  372     if (Line.empty() || Line[0] == '#')
  919   if (Line.empty())
 1043   while (!Rest.empty()) {
 1048     if (Line.empty() || Line[0] == '#')
tools/lldb/tools/lldb-vscode/IOStream.cpp
   73   while (!str.empty()) {
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
  139   if (!value.empty()) {
  141     if (!summary.empty())
  143   } else if (!summary.empty()) {
  145   } else if (!type_name.empty()) {
tools/lldb/tools/lldb-vscode/LLDBUtils.cpp
   20   if (!prefix.empty())
tools/lldb/tools/lldb-vscode/VSCode.cpp
  193   if (output.empty())
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
  446     if (sourcePath.empty())
  508   if (!debuggerRoot.empty()) {
  518   if (!program.empty()) {
  933   if (!expression.empty() && expression[0] == '`') {
 1194   if (!debuggerRoot.empty()) {
 1206   if (!cwd.empty())
 1212   if (!program.empty()) {
tools/lldb/unittests/Core/RichManglingContextTest.cpp
   80     EXPECT_TRUE(CxxMethodRMC.GetBufferRef().empty());
tools/lldb/unittests/TestingSupport/MockTildeExpressionResolver.cpp
   43   assert(Expr.empty() || Expr[0] == '~');
   45   if (Expr.empty()) {
   66   assert(Expr.empty() || Expr[0] == '~');
tools/lldb/unittests/tools/lldb-server/tests/TestClient.cpp
   72   if (!Log.empty()) {
tools/llvm-ar/llvm-ar.cpp
  491       if (!ParentDir.empty())
 1011     if (Line.empty())
 1016     if (!Rest.empty() && Rest.front() == '"' && Rest.back() == '"')
tools/llvm-cov/CodeCoverage.cpp
  168   if (!Whence.empty())
  391     if (Path.empty())
  689     if (!(EquivPair.first.empty() && EquivPair.second.empty()))
  689     if (!(EquivPair.first.empty() && EquivPair.second.empty()))
tools/llvm-cov/SourceCoverageView.cpp
   33   assert(!Extension.empty() && "The file extension may not be empty");
tools/llvm-cxxdump/llvm-cxxdump.cpp
  454            << "[CopyCtor]: " << (CT.Symbols[1].empty() ? "null" : CT.Symbols[1])
tools/llvm-cxxmap/llvm-cxxmap.cpp
  117     if (NewSymbol.empty()) {
tools/llvm-diff/DifferenceEngine.cpp
  694     if (Name.empty()) {
  710     if (Name.empty()) {
tools/llvm-dwarfdump/Statistics.cpp
  394       if (Name.empty())
tools/llvm-dwp/llvm-dwp.cpp
   70   if (CurStrSection.empty() || CurStrOffsetSection.empty())
   70   if (CurStrSection.empty() || CurStrOffsetSection.empty())
  351   if (!DWPName.empty()) {
  353     if (!DWOName.empty()) {
  562     if (InfoSection.empty())
  568     if (CurCUIndexSection.empty()) {
tools/llvm-exegesis/lib/BenchmarkResult.cpp
   95     if (RegName.empty())
  145     assert(!String.empty());
  161     if (InstrName.empty())
tools/llvm-lipo/llvm-lipo.cpp
  549   assert(!ThinArchType.empty() && "The architecture type should be non-empty");
  551   assert(!OutputFileName.empty() && "Thin expects a single output file");
  730   assert(!OutputFileName.empty() && "Create expects a single output file");
  774   assert(!OutputFileName.empty() && "Replace expects a single output file");
tools/llvm-lto/llvm-lto.cpp
  452   if (!ParentPath.empty()) {
tools/llvm-lto2/llvm-lto2.cpp
  185     if (Rest.empty()) {
  420       if (!Sym.getSectionName().empty())
tools/llvm-mc/Disassembler.cpp
   82     if (Str.empty())
tools/llvm-mc/llvm-mc.cpp
  265     if (Sym.empty() || Val.empty()) {
  265     if (Sym.empty() || Val.empty()) {
tools/llvm-mca/CodeRegion.cpp
   46       if (Description.empty()) {
   70   if (Description.empty()) {
  100   if (!Description.empty()) {
tools/llvm-mca/CodeRegionGenerator.cpp
   78   if (Comment.empty())
tools/llvm-mca/llvm-mca.cpp
  458       if (!Desc.empty())
tools/llvm-nm/llvm-nm.cpp
  255   if (!ArchitectureName.empty())
  274   if (!ArchitectureName.empty())
  689   if (StripUnderscore && !Name.empty() && Name[0] == '_')
 1404             if (Entry.otherName().empty())
 1416             if (Entry.otherName().empty())
 1436             if (Entry.otherName().empty())
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  191   if (!Config.AddGnuDebugLink.empty())
  194   if (Config.AllowBrokenLinks || !Config.BuildIdLinkDir.empty() ||
  196       !Config.SplitDWO.empty() || !Config.SymbolsPrefix.empty() ||
  196       !Config.SplitDWO.empty() || !Config.SymbolsPrefix.empty() ||
  197       !Config.AllocSectionsPrefix.empty() || !Config.DumpSection.empty() ||
tools/llvm-objcopy/COFF/Writer.cpp
  149     if (!S.AuxFile.empty())
  324     if (!S.AuxFile.empty()) {
tools/llvm-objcopy/CopyConfig.cpp
  165   if (Split.first.empty())
  278     if (!TrimmedLine.empty())
  335     if (TrimmedLine.empty())
  340     if (NewName.empty())
  458     if (OutputFormat.empty()) {
  500   if (!Config.AddGnuDebugLink.empty()) {
  601     if (ArgValue.split("=").second.empty())
tools/llvm-objcopy/ELF/ELFConfig.cpp
   45   if (Value.empty())
   53     if (SI.SectionName.empty() || Value.empty())
   53     if (SI.SectionName.empty() || Value.empty())
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  392     if (!Config.SymbolsPrefix.empty() && Sym.Type != STT_SECTION)
  449   if (Config.StripDWO || !Config.SplitDWO.empty())
  596   if (!Config.SplitDWO.empty())
  631   if (!Config.AllocSectionsPrefix.empty()) {
  717   if (!Config.AddGnuDebugLink.empty())
  780   if (!Config.BuildIdLinkDir.empty()) {
  793   if (!Config.BuildIdLinkDir.empty() && Config.BuildIdLinkInput)
  804   if (!Config.BuildIdLinkDir.empty() && Config.BuildIdLinkOutput)
tools/llvm-objcopy/ELF/Object.cpp
  182   while (!S.empty()) {
  259   assert(!Line.empty());
  272   assert(!Line.empty());
  464   while (!HexData.empty()) {
 1194       if (R.HexData.empty())
 1642     if (Line.empty())
tools/llvm-objcopy/MachO/MachOObjcopy.cpp
   36   if (Config.AllowBrokenLinks || !Config.BuildIdLinkDir.empty() ||
   38       !Config.SplitDWO.empty() || !Config.SymbolsPrefix.empty() ||
   38       !Config.SplitDWO.empty() || !Config.SymbolsPrefix.empty() ||
   39       !Config.AllocSectionsPrefix.empty() || !Config.AddSection.empty() ||
tools/llvm-objcopy/llvm-objcopy.cpp
  306   if (!Config.SplitDWO.empty()) {
tools/llvm-objdump/COFFDump.cpp
  433     if (!Name.empty())
tools/llvm-objdump/MachODump.cpp
 1298     if (!name.empty())
 1742     if (!DumpSegSectName.second.empty()) {
 1759       if ((DumpSegName.empty() || SegName == DumpSegName) &&
 1925       if (!ArchiveMemberName.empty())
 1927       if (!ArchitectureName.empty())
 1936   if (!ArchiveMemberName.empty()) {
 3363     if (!Name.empty()) {
 7166   while (!Comments.empty()) {
10303       if (Entry.otherName().empty())
10456       if (!name.empty())
10463   return !name.empty() ? name.data() : nullptr;
tools/llvm-objdump/llvm-objdump.cpp
  372   if (!SecName.empty())
  430   if (!ArchitectureName.empty())
  455     if (!S.empty())
  771     while (!HeadTail.first.empty()) {
  781       if (!Duplex.second.empty()) {
  790       if (HeadTail.first.empty())
  846     if (!Annot.empty())
  918     if (Name.empty())
  967       if (!Name.empty())
 1141     if (Name.empty())
 1177       if (Name.empty())
 1307         if (!SegmentName.empty())
tools/llvm-pdbutil/BytesOutputStyle.cpp
   58   if (!Str.empty())
tools/llvm-pdbutil/DumpOutputStyle.cpp
  729   if (S.empty())
  814     if (Scope.empty() || !isValidNamespaceIdentifier(Scope))
 1197         } else if (!ES->empty()) {
 1250           if (Str.empty())
tools/llvm-pdbutil/LinePrinter.cpp
   34   if (Item.empty())
tools/llvm-pdbutil/MinimalTypeDumper.cpp
  369   if (AT.Name.empty()) {
tools/llvm-pdbutil/YAMLOutputStyle.cpp
  120     if (S->empty())
tools/llvm-pdbutil/llvm-pdbutil.cpp
 1397   if (Str.empty())
 1409   if (!Matches[3].empty()) {
tools/llvm-profdata/llvm-profdata.cpp
  103   if (!WhenceFile.empty())
  105   if (!WhenceFunction.empty())
  131     if (!Hint.empty())
  156       if (Parts.first.empty() || Parts.second.empty() ||
  156       if (Parts.first.empty() || Parts.second.empty() ||
  172     return New.empty() ? Name : New;
tools/llvm-readobj/ARMWinEHPrinter.cpp
  100   if (!Name.empty())
  105   else if (!Name.empty())
tools/llvm-readobj/COFFDumper.cpp
  968   while (!Data.empty()) {
 1089           while (!FrameFunc.empty()) {
 1413     W.printString("Symbol", SymbolName.empty() ? "-" : SymbolName);
 1419        << " " << (SymbolName.empty() ? "-" : SymbolName)
tools/llvm-readobj/ELFDumper.cpp
  829   if (!Version.empty()) {
 2144   if (DynamicStringTable.empty())
 2950   if (Sym && (!SymbolName.empty() || Sym->getValue() != 0))
 2960     if (!SymbolName.empty()) {
 3254   if (!Name.empty())
 3402   if (this->dumper()->getDynamicStringTable().empty())
 4626       if (!NoteType.empty())
 5871       if (!NoteType.empty())
tools/llvm-readobj/MachODumper.cpp
  567   if (TargetName.empty())
tools/llvm-readobj/WasmDumper.cpp
  112     if (!SymName.empty())
  121     if (!SymName.empty())
  190         if (!Seg.Name.empty())
tools/llvm-size/llvm-size.cpp
  133   if (!ArchitectureName.empty())
  151   if (!ArchitectureName.empty())
tools/llvm-undname/llvm-undname.cpp
  103       if (Line.empty() || Line.startswith("#") || Line.startswith(";"))
tools/obj2yaml/dwarf2yaml.cpp
  232   if (File.Name.empty())
  273         if (!Dir.empty())
tools/obj2yaml/elf2yaml.cpp
  123   if (Name.empty() && Sym->getType() == ELF::STT_SECTION) {
  564     if (!SymbolName || SymbolName->empty()) {
tools/obj2yaml/wasm2yaml.cpp
   91       if (!Segment.Data.Name.empty()) {
tools/opt/BreakpointPrinter.cpp
   32       if (!NS->getName().empty()) {
   37       if (!TY->getName().empty()) {
tools/opt/Debugify.cpp
  232   if (StatsMap && !NameOfWrappedPass.empty())
  293   if (!NameOfWrappedPass.empty())
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp
  414   std::string Name = BaseName.empty() ? "UNKNOWN" : BaseName;
  441   std::string Name = BaseName.empty() ? "UNKNOWN" : BaseName;
  626     if (V->getName().empty())
unittests/ADT/StringRefTest.cpp
   66   EXPECT_TRUE(S.empty());
   69   EXPECT_TRUE(S.empty());
   82   EXPECT_TRUE(StringRef().empty());
  968   EXPECT_TRUE(Dropped.empty());
  971   EXPECT_TRUE(Dropped.empty());
  990   EXPECT_TRUE(Taken.empty());
  993   EXPECT_TRUE(Taken.empty());
unittests/AsmParser/AsmParserTest.cpp
   29   EXPECT_TRUE(Error.getMessage().empty());
   56   EXPECT_TRUE(Error.getMessage().empty());
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 1099       DwarfContext->getDWARFObj().getStrOffsetsSection().Data.empty());
unittests/IR/TimePassesTest.cpp
  107   EXPECT_FALSE(TimePassesStr.str().empty());
  163   EXPECT_FALSE(TimePassesStr.str().empty());
unittests/IR/TypesTest.cpp
   25   EXPECT_TRUE(Struct->getName().empty());
unittests/LineEditor/LineEditor.cpp
   50     EXPECT_TRUE(Buffer.empty());
unittests/Support/FileCheckTest.cpp
  151   EXPECT_TRUE(VarName.empty());
  158   EXPECT_TRUE(VarName.empty());
  165   EXPECT_TRUE(VarName.empty());
unittests/Support/Path.cpp
  140       EXPECT_FALSE(ci->empty());
  149       EXPECT_FALSE(ci->empty());
utils/TableGen/AsmMatcherEmitter.cpp
  893   if (RegisterPrefix.empty()) {
  928   assert(!AsmOperands[0].Token.empty());
 1065   if (!CommentDelimiter.empty() &&
 1087     if (!IsAlias && TheDef->getValueAsString("AsmMatchConverter").empty() &&
 1516       if (!V.empty() && V != Variant.Name)
 1547       if (!V.empty() && V != Variant.Name)
 2042     if (!AsmMatchConverter.empty() && II->UseInstAsmMatchConverter) {
 2601     if (Reg.TheDef->getValueAsString("AsmName").empty())
 2633       if (AltName.empty())
 3858   if (!InsnCleanupFn.empty())
utils/TableGen/AsmWriterEmitter.cpp
  586       if (!Namespace.empty())
  597         if (!Namespace.empty())
  963           assert(!Op.empty() && "Empty operator");
utils/TableGen/AsmWriterInst.cpp
  168       if (VarName.empty() && Modifier.empty())
  173       if (VarName.empty()) {
utils/TableGen/CodeEmitterGen.cpp
  322   if (!PostEmitter.empty()) {
utils/TableGen/CodeGenDAGPatterns.cpp
  859          !PatFragRec->getRecord()->getValueAsString("PredicateCode").empty();
 1094   return !PatFragRec->getRecord()->getValueAsString("ImmediateCode").empty();
 1212               .empty();
 2714     if (R->getName() == "node" && !OpName.empty()) {
 2715       if (OpName.empty())
 2726     if (OpName.empty())
 2735     if (!OpName.empty())
 2773     if (!OpName.empty())
utils/TableGen/CodeGenInstruction.cpp
  123     if (ArgName.empty())
  164   assert(!Name.empty() && "Cannot search for operand with no name!");
utils/TableGen/CodeGenRegisters.cpp
  932   if (Namespace.empty())
utils/TableGen/CodeGenSchedule.cpp
  107       if (!PatStr.empty()) {
utils/TableGen/DFAEmitter.cpp
  355     if (!TypeOverride.empty())
utils/TableGen/ExegesisEmitter.cpp
   71     if (!Counter.empty())
   81       if (ResourceName.empty())
  121   if (CycleCounter.empty())
  128   if (UopsCounter.empty())
utils/TableGen/FastISelEmitter.cpp
  887   assert(!InstNS.empty() && "Can't determine target-specific namespace!");
utils/TableGen/FixedLenDecoderEmitter.cpp
 1207     if (P.empty())
 1214     while (!pairs.second.empty()) {
 1235     if (P.empty())
 2465       if (!NumberedEncodings[i].HwModeName.empty())
utils/TableGen/GICombinerEmitter.cpp
  305         !Rule->getMatchingFixupCode()->getValue().empty()) {
utils/TableGen/GlobalISel/CodeExpander.cpp
   24   while (!Current.empty()) {
   60       if (EndVar.empty()) {
utils/TableGen/GlobalISelEmitter.cpp
 2349     assert(!SymbolicName.empty() && "Cannot copy from an unspecified source");
 2416     assert(!SymbolicName.empty() && "Cannot copy from an unspecified source");
 3706         if (!PredType.empty()) {
 3774   if (SrcChildName.empty() && SrcChild->isLeaf()) {
 4818                  return !Record->getValueAsString(CodeFieldName).empty() &&
 4839   if (!AdditionalDeclarations.empty())
 4939     assert(!Opcode.empty() && "Didn't expect an undefined opcode");
utils/TableGen/InstrDocsEmitter.cpp
  172           if (SubOpName.empty())
  187     if (!Constraints.empty()) {
utils/TableGen/InstrInfoEmitter.cpp
  770   if (Namespace.empty())
utils/TableGen/PredicateExpander.cpp
   24   if (!FunctionMapper.empty())
   28   if (!FunctionMapper.empty())
   36   if (ImmVal.empty())
   39   if (!FunctionMapper.empty())
   43   if (!FunctionMapper.empty())
   53   if (!FunctionMapper.empty())
   57   if (!FunctionMapper.empty())
   66   if (!FunctionMapper.empty())
   70   if (!FunctionMapper.empty())
   74   if (!Str.empty())
   85   if (!FunctionMapper.empty())
   89   if (!FunctionMapper.empty())
utils/TableGen/RISCVCompressInstEmitter.cpp
  479       assert(!Op.empty() && "Empty operator");
utils/TableGen/RegisterInfoEmitter.cpp
  122   if (!Namespace.empty())
  132   if (!Namespace.empty())
  143     if (!Namespace.empty())
  150     if (!Namespace.empty())
  159     if (!Namespace.empty())
  166     if (!Namespace.empty())
 1365       if (!RC.AltOrderSelect.empty()) {
 1415       if (RC.AltOrderSelect.empty())
utils/TableGen/SearchableTableEmitter.cpp
  571     if (NameField.empty())
  577     if (!ValueField.empty())
  584   if (ValueField.empty()) {
utils/TableGen/SubtargetEmitter.cpp
  227     if (CommandLineName.empty()) continue;
utils/TableGen/SubtargetFeatureInfo.cpp
   38     if (Pred->getName().empty())
   42     if (Pred->getValueAsString("CondString").empty())
   96   if (!ExtraParams.empty())
  103     assert(!CondStr.empty() && "true predicate should have been filtered");
  143       if (Comma.second.empty())
utils/yaml-bench/YAMLBench.cpp
   92   if (!Anchor.empty())