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

References

include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
   44     OS << (ResourceDescription.empty()
include/llvm/ExecutionEngine/Orc/RPCSerialization.h
  342     assert(!Name.empty() &&
  396     if (Key.empty()) {
include/llvm/IR/DataLayout.h
  245   bool isDefault() const { return StringRepresentation.empty(); }
include/llvm/IR/Module.h
  290     if (!GlobalScopeAsm.empty() && GlobalScopeAsm.back() != '\n')
  298     if (!GlobalScopeAsm.empty() && GlobalScopeAsm.back() != '\n')
include/llvm/IR/ModuleSummaryIndexYAML.h
   87         if (!Key.empty())
include/llvm/LTO/LTO.h
  367     bool isPrevailingIRSymbol() const { return Prevailing && !IRName.empty(); }
include/llvm/MC/MCDwarf.h
  285     if (!Header.RootFile.Name.empty())
  339   bool hasRootFile() const { return !Header.RootFile.Name.empty(); }
include/llvm/Passes/PassBuilder.h
   51     assert(this->CSAction != CSIRInstr || !this->CSProfileGenFile.empty());
include/llvm/Support/AMDGPUMetadata.h
  142            !mVecTypeHint.empty() || !mRuntimeHandle.empty();
  142            !mVecTypeHint.empty() || !mRuntimeHandle.empty();
include/llvm/Support/Error.h
 1228     assert(Err && !FileName.empty() && "Trying to log after takeError().");
include/llvm/Support/GraphWriter.h
   92       if (label.empty())
  131     if (!Title.empty())
  133     else if (!GraphName.empty())
  141     if (!Title.empty())
  143     else if (!GraphName.empty())
  169     if (!NodeAttributes.empty()) O << NodeAttributes << ",";
  177       if (!Id.empty())
  181       if (!NodeDesc.empty())
  202       if (!Id.empty())
  206       if (!NodeDesc.empty())
  250       if (DTraits.getEdgeSourceLabel(Node, EI).empty())
  264     if (!Attr.empty())
  296     if (!Attrs.empty())
  336   if (Filename.empty()) {
  371   if (Filename.empty())
lib/Analysis/BlockFrequencyInfo.cpp
  190       (ViewBlockFreqFuncName.empty() ||
  195       (PrintBlockFreqFuncName.empty() ||
lib/Analysis/BranchProbabilityInfo.cpp
 1010       (PrintBranchProbFuncName.empty() ||
lib/Analysis/CFGPrinter.cpp
   95   if (!CFGFuncName.empty() && !F.getName().contains(CFGFuncName))
  177   if (!CFGFuncName.empty() && !getName().contains(CFGFuncName))
  188   if (!CFGFuncName.empty() && !getName().contains(CFGFuncName))
lib/Analysis/ModuleSummaryAnalysis.cpp
  669   if (!M.getModuleInlineAsm().empty()) {
  814   if (!ModuleSummaryDotFile.empty()) {
lib/AsmParser/LLLexer.cpp
  115   if (Str.empty()) return;
lib/AsmParser/LLParser.cpp
  939   if (!Name.empty()) {
  984   if (Name.empty())
 1065   if (!Name.empty()) {
 1095   if (Name.empty())
 2657     if (!ArgList[i].Name.empty())
 2950     if (NameID != -1 || !NameStr.empty())
 2957   if (NameStr.empty()) {
 3023   if (Name.empty()) {
 3048   if (Name.empty()) {
 4302   if (!Result.AllowEmpty && S.empty())
 4305   Result.assign(S.empty() ? nullptr : MDString::get(Context, S));
 5440   if (!FunctionName.empty()) {
 5486   if (FunctionName.empty())
 5501   if (!GC.empty()) Fn->setGC(GC);
 5510     if (ArgList[i].Name.empty()) continue;
 5525   if (FunctionName.empty()) {
 7920     assert(Name.empty());
 7923     assert(!Name.empty());
 7930           (!GlobalValue::isLocalLinkage(Linkage) || !SourceFileName.empty()) &&
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
   37     if (!Info->Name.empty())
lib/Bitcode/Reader/BitcodeReader.cpp
  454   if (!ProducerIdentification.empty())
 3146   if (!Section.empty())
 5449       assert(!SourceFileName.empty());
 5463       assert(!SourceFileName.empty());
 5533         if (!SourceFileName.empty())
lib/Bitcode/Writer/BitcodeWriter.cpp
 1153   if (!M.getTargetTriple().empty())
 1157   if (!DL.empty())
 1159   if (!M.getModuleInlineAsm().empty())
 4385     if (M->getModuleInlineAsm().empty())
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  295   if (!M.getModuleInlineAsm().empty()) {
 1570       if (!Flags.empty()) {
 1596           if (!Flags.empty()) {
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  176   if (!Filepath.empty())
 1008   if (FuncName.empty())
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  371   HasSplitDwarf = !Asm->TM.Options.MCOptions.SplitDwarfFile.empty();
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1528   if (!IA.getConstraintString().empty())
lib/CodeGen/MIRParser/MIRParser.cpp
  531     if (!VReg.PreferredRegister.Value.empty()) {
  548     if (!LiveIn.VirtualRegister.Value.empty()) {
  650   if (!YamlMFI.SavePoint.Value.empty()) {
  656   if (!YamlMFI.RestorePoint.Value.empty()) {
  696     if (!Name.Value.empty()) {
  736   if (!YamlMFI.StackProtector.Value.empty()) {
  749   if (RegisterSource.Value.empty())
  801   if (Source.Value.empty())
lib/CodeGen/MachineBlockFrequencyInfo.cpp
  198       (ViewBlockFreqFuncName.empty() ||
  203       (PrintBlockFreqFuncName.empty() ||
lib/CodeGen/MachineBlockPlacement.cpp
 3078       (ViewBlockFreqFuncName.empty() ||
lib/CodeGen/SelectionDAG/FastISel.cpp
 1298     if (!IA->getConstraintString().empty())
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  791   MatchFilterBB = (FilterDAGBasicBlockName.empty() ||
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
  121       if (!Attrs.empty()) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4162   assert(!ConstraintCode.empty() && "No known constraint!");
 4169   assert(!ConstraintCode.empty() && "No known constraint!");
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  912   if (!ErrorCode.empty())
  949   if (!ErrorCode.empty()) {
 1667     if (!COMDATSymName.empty())
lib/CodeGen/TargetPassConfig.cpp
  459   return StopBeforeOpt.empty() && StopAfterOpt.empty();
  459   return StopBeforeOpt.empty() && StopAfterOpt.empty();
  463   return !StartBeforeOpt.empty() || !StartAfterOpt.empty() ||
  463   return !StartBeforeOpt.empty() || !StartAfterOpt.empty() ||
  478     if (!PassNames[Idx]->empty()) {
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
  130     if (!TypeNameStr.empty())
lib/DebugInfo/CodeView/TypeRecordMapping.cpp
   73   if (!FlagLabel.empty()) {
lib/DebugInfo/DWARF/DWARFContext.cpp
 1242           this->DWPName.empty()
 1841   if (!TargetLookupError.empty())
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
  287     if (NSE.second.empty())
lib/DebugInfo/PDB/PDBSymbolCompiland.cpp
   44   if (RecordedResult.empty()) {
   62       if (!EnvWorkingDir.empty() && !EnvSrc.empty()) {
   62       if (!EnvWorkingDir.empty() && !EnvSrc.empty()) {
   75   if (!RecordedResult.empty()) {
lib/DebugInfo/PDB/PDBSymbolFunc.cpp
   89   if (Name.empty())
lib/DebugInfo/Symbolize/DIPrinter.cpp
  123   if (Local.DeclFile.empty())
lib/DebugInfo/Symbolize/Symbolize.cpp
  222   if (!FallbackDebugPath.empty()) {
  524   if (!Name.empty() && Name.front() == '?') {
lib/ExecutionEngine/ExecutionEngine.cpp
  224     assert((!V.empty() || !Name.empty()) &&
  270     assert((!V.empty() || !Name.empty()) &&
lib/ExecutionEngine/TargetSelect.cpp
   44   if (TheTriple.getTriple().empty())
lib/IR/AsmWriter.cpp
 2581   if (!M->getModuleIdentifier().empty() &&
 2587   if (!M->getSourceFileName().empty()) {
 2594   if (!DL.empty())
 2596   if (!M->getTargetTriple().empty())
 2599   if (!M->getModuleInlineAsm().empty()) {
 3414         if (!AttrStr.empty()) AttrStr += ' ';
 3419     if (!AttrStr.empty())
lib/IR/Attributes.cpp
  470     if (AttrVal.empty()) return Result;
lib/IR/AutoUpgrade.cpp
 3642     if (!Name.empty()) {
 3717   if (!Name.empty()) {
lib/IR/DiagnosticHandler.cpp
   29     if (!Val.empty()) {
lib/IR/Function.cpp
  484   setValueSubclassDataBit(14, !Str.empty());
lib/IR/IRPrintingPasses.cpp
   30     if (!Banner.empty())
   38         if (!BannerPrinted && !Banner.empty()) {
lib/IR/ModuleSummaryIndex.cpp
  247     if (Comments.empty())
  331   if (!Attrs.empty())
lib/LTO/LTO.cpp
  285   if (!Conf.SampleProfile.empty()) {
  290       if (!Conf.ProfileRemapping.empty()) {
  515     } else if (!GlobalRes.Prevailing && GlobalRes.IRName.empty()) {
  575   if (RegularLTO.CombinedModule->getTargetTriple().empty())
  904     if (Res.second.IRName.empty())
 1176   if (OldPrefix.empty() && NewPrefix.empty())
 1176   if (OldPrefix.empty() && NewPrefix.empty())
 1383   if (!Filename.empty() && Count != -1)
lib/LTO/LTOBackend.cpp
  158   if (!Conf.SampleProfile.empty())
  164   } else if (!Conf.CSIRProfile.empty()) {
  234   if (!AAPipelineDesc.empty())
  289   if (!Conf.RunCSIRInstr && !Conf.CSIRProfile.empty()) {
  304   if (!Conf.OptPipeline.empty())
  322   if (!Conf.DwoDir.empty()) {
  402   if (!C.OverrideTriple.empty())
  404   else if (Mod.getTargetTriple().empty())
lib/LTO/LTOCodeGenerator.cpp
  343   if (TripleStr.empty()) {
  363   if (MCpu.empty() && Triple.isOSDarwin()) {
lib/LTO/LTOModule.cpp
  202   if (TripleStr.empty())
lib/LTO/ThinLTOCodeGenerator.cpp
  494   if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) {
  898   if (SavedObjectsDirectoryPath.empty())
  924         if (SavedObjectsDirectoryPath.empty())
  939   if (!SaveTempsDir.empty()) {
 1065             if (SavedObjectsDirectoryPath.empty())
 1104         if (SavedObjectsDirectoryPath.empty()) {
lib/LineEditor/LineEditor.cpp
   70   if (CommonPrefix.empty()) {
  126     if (!Data->ContinuationOutput.empty()) {
  243   if (!HistoryPath.empty()) {
  250   if (!HistoryPath.empty()) {
lib/Linker/IRMover.cpp
 1400   if (DstM.getTargetTriple().empty() && !SrcM->getTargetTriple().empty())
 1400   if (DstM.getTargetTriple().empty() && !SrcM->getTargetTriple().empty())
 1405   if (!SrcM->getTargetTriple().empty()&&
 1416   if (!IsPerformingImport && !SrcM->getModuleInlineAsm().empty()) {
 1419     if (DstM.getModuleInlineAsm().empty())
lib/MC/MCContext.cpp
  390   if (!Group.isTriviallyEmpty() && !Group.str().empty())
  499   if (!Group.isTriviallyEmpty() && !Group.str().empty()) {
  630   if (!getMainFileName().empty() && FileNameBuf != getMainFileName()) {
  667   return !LineTable.getMCDwarfFiles()[FileNumber].Name.empty();
lib/MC/MCDwarf.cpp
  342     assert(!MCDwarfFiles[i].Name.empty());
  355   assert(!DwarfFile.Name.empty());
  391   const StringRef CompDir = CompilationDir.empty()
  439   assert((!RootFile.Name.empty() || MCDwarfFiles.size() >= 1) &&
  441   emitOneV5FileEntry(MCOS, RootFile.Name.empty() ? MCDwarfFiles[1] : RootFile,
  549   if (RootFile.Name.empty() || RootFile.Name != FileName.data())
  595   if (!File.Name.empty())
lib/MC/MCParser/AsmParser.cpp
  952       if (File.Name.empty() && Index != 0)
lib/MC/MCParser/DarwinAsmParser.cpp
  696   if (!ErrorStr.empty())
lib/Object/COFFImportFile.cpp
  597     StringRef SymbolName = E.SymbolName.empty() ? E.Name : E.SymbolName;
  602     Expected<std::string> Name = E.ExtName.empty()
  609     if (!E.AliasTarget.empty() && *Name != E.AliasTarget) {
lib/Object/COFFModuleDefinition.cpp
  214       if (Info.OutputFile.empty()) {
  247       if (!E.ExtName.empty() && !isDecorated(E.ExtName, MingwDef))
lib/Object/IRSymtab.cpp
  118   if (M->getDataLayoutStr().empty())
lib/ObjectYAML/DWARFEmitter.cpp
  305   if (!Data.empty())
lib/ObjectYAML/MachOEmitter.cpp
  147   if (!LC.PayloadString.empty()) {
lib/Passes/PassBuilder.cpp
  592     assert(!ProfileFile.empty() && "Profile use expecting a profile file!");
  610   if (!ProfileFile.empty())
  623     assert(!ProfileFile.empty() && "Profile use expecting a profile file!");
  635   if (!ProfileFile.empty())
lib/ProfileData/InstrProfReader.cpp
  101   if (!RemappingPathStr.empty()) {
lib/ProfileData/InstrProfWriter.cpp
  217   if (!FuncFilter.NameFilter.empty() &&
lib/ProfileData/SampleProfReader.cpp
 1349   if (!RemapFilename.empty()) {
lib/Remarks/YAMLRemarkParser.cpp
   28   assert(Message.empty() && "Expected an empty string.");
  183   if (LastErrorMessage.empty())
lib/Support/ConvertUTFWrapper.cpp
   87   assert(Out.empty());
lib/Support/Debug.cpp
  102     if (Val.empty())
lib/Support/DebugCounter.cpp
   69   if (Val.empty())
lib/Support/Error.cpp
  126     if (!Msg.empty())
lib/Support/LockFileManager.cpp
  274     if (!ErrCodeMsg.empty())
lib/Support/Path.cpp
 1149   if (!TmpName.empty()) {
lib/Support/Regex.cpp
   85   if (Error && !Error->empty())
  155           Error && Error->empty())
  192       else if (Error && Error->empty())
lib/Support/SourceMgr.cpp
  376     if (!Filename.empty()) {
  477   if (FixItInsertionLine.empty())
lib/Support/SpecialCaseList.cpp
   31   if (Regexp.empty()) {
lib/Support/TargetRegistry.cpp
   31   if (!ArchName.empty()) {
lib/Support/Timer.cpp
   60   if (OutputFilename.empty())
lib/Support/Unix/Program.inc
  130   if (Path->empty())
lib/Support/VirtualFileSystem.cpp
  214   return RealName.empty() ? S.getName().str() : RealName;
  971   if (!CWD || CWD->empty())
lib/Support/YAMLTraits.cpp
  122   if (foundTag.empty()) {
  727   if (Tag.empty())
lib/TableGen/Main.cpp
  115   if (!DependFilename.empty()) {
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  557       if (!HexLines[i].empty()) {
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  508                UseNative.begin()->empty());
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  713   if (!Name.empty()) {
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  426   if (Blob.empty())
lib/Target/ARM/ARMAsmPrinter.cpp
  486   if (!M.getModuleInlineAsm().empty() && TT.isThumb())
  606     if (!ArchFS.empty())
lib/Target/ARM/ARMSubtarget.cpp
  159   if (CPUString.empty()) {
  180     if (!ArchFS.empty())
lib/Target/ARM/ARMTargetMachine.cpp
  273     FS += FS.empty() ? "+soft-float" : ",+soft-float";
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
  144     if (!ARMArchFeature.empty())
  150     if (!ARMArchFeature.empty())
  156     if (!ARMArchFeature.empty())
  168     if (!ArchFS.empty())
lib/Target/Hexagon/HexagonHardwareLoops.cpp
 1862   if ((!PHFn.empty()) && (PHFn != MF->getName()))
lib/Target/Lanai/LanaiSubtarget.cpp
   27   if (CPUName.empty())
lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.cpp
   56   if (CPUName.empty())
lib/Target/MSP430/MSP430Subtarget.cpp
   47   if (CPUName.empty())
lib/Target/Mips/MipsTargetMachine.cpp
  186     FS += FS.empty() ? "+mips16" : ",+mips16";
  188     FS += FS.empty() ? "-mips16" : ",-mips16";
  190     FS += FS.empty() ? "+micromips" : ",+micromips";
  192     FS += FS.empty() ? "-micromips" : ",-micromips";
  194     FS += FS.empty() ? "+soft-float" : ",+soft-float";
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  798   if (!M.getModuleInlineAsm().empty()) {
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 1576   if (!NewOpcode.empty()) // Underlying memory for Name is volatile.
 1584     if (!NewOpcode.empty()) // Underlying memory for Name is volatile.
lib/Target/PowerPC/PPCSubtarget.cpp
  125   if (CPUName.empty() || CPU == "generic") {
lib/Target/PowerPC/PPCTargetMachine.cpp
  164     if (!FullFS.empty())
  171     if (!FullFS.empty())
  178     if (!FullFS.empty())
  333     FS += FS.empty() ? "-hard-float" : ",-hard-float";
lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
   68   if (CPUName.empty())
lib/Target/RISCV/RISCVSubtarget.cpp
   37   if (CPUName.empty())
lib/Target/Sparc/SparcSubtarget.cpp
   54   if (CPUName.empty())
lib/Target/Sparc/SparcTargetMachine.cpp
  128     FS += FS.empty() ? "+soft-float" : ",+soft-float";
lib/Target/SystemZ/SystemZHazardRecognizer.cpp
  212   if (CurGroupDbg.empty())
lib/Target/SystemZ/SystemZSubtarget.cpp
   32   if (CPUName.empty())
lib/Target/WebAssembly/WebAssemblySubtarget.cpp
   31   if (CPUString.empty())
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
  294     if (!ArchFS.empty())
  301   if (CPUName.empty())
lib/Target/X86/X86AsmPrinter.cpp
  629   if (M.getModuleInlineAsm().empty() && is16)
lib/Target/X86/X86InsertPrefetch.cpp
  157   if (Filename.empty())
lib/Target/X86/X86Subtarget.cpp
  231   if (CPUName.empty())
  238     if (!FullFS.empty())
  245       if (!FullFS.empty())
  254     if (!FullFS.empty())
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
  144   if (Def->OutputFile.empty()) {
  157     if (!E.ExtName.empty()) {
  165       if (!E.AliasTarget.empty() || (!E.Name.empty() && E.Name[0] == '?'))
  165       if (!E.AliasTarget.empty() || (!E.Name.empty() && E.Name[0] == '?'))
  180   if (!Path.empty() &&
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  326     if (Path.empty()) {
lib/Transforms/IPO/BlockExtractor.cpp
   55     if (!BlockExtractorFile.empty())
lib/Transforms/IPO/FunctionImport.cpp
 1212   if (SummaryFile.empty())
lib/Transforms/IPO/Internalize.cpp
   60     if (!APIFile.empty())
lib/Transforms/IPO/LowerTypeTests.cpp
 1671   if (!ClReadSummary.empty()) {
 1688   if (!ClWriteSummary.empty()) {
lib/Transforms/IPO/PassManagerBuilder.cpp
  274   } else if (!EnablePGOInstrGen && PGOInstrUse.empty() && PGOSampleUse.empty())
  274   } else if (!EnablePGOInstrGen && PGOInstrUse.empty() && PGOSampleUse.empty())
  281       PGOSampleUse.empty() && !IsCS) {
  303     if (!PGOInstrGen.empty())
  310   if (!PGOInstrUse.empty())
  317         createPGOIndirectCallPromotionLegacyPass(false, !PGOSampleUse.empty()));
  422       (!PGOInstrUse.empty() || !PGOSampleUse.empty() || EnablePGOCSInstrGen))
  422       (!PGOInstrUse.empty() || !PGOSampleUse.empty() || EnablePGOCSInstrGen))
  432   if (!PGOSampleUse.empty()) {
  499                                                      !PGOSampleUse.empty()));
  505       PrepareForThinLTO && !PGOSampleUse.empty();
  791   if (!PGOSampleUse.empty()) {
  818         createPGOIndirectCallPromotionLegacyPass(true, !PGOSampleUse.empty()));
lib/Transforms/IPO/SampleProfile.cpp
 1843       ProfileFileName.empty() ? SampleProfileFile : ProfileFileName,
 1844       ProfileRemappingFileName.empty() ? SampleProfileRemappingFile
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  203   if (ModuleId.empty()) {
  458     if (!ModuleId.empty()) {
lib/Transforms/IPO/WholeProgramDevirt.cpp
  746   if (!ClReadSummary.empty()) {
  764   if (!ClWriteSummary.empty()) {
 1024   assert(!Res->SingleImplName.empty());
 1692     assert(!Res.SingleImplName.empty());
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1882       assert(ErrorCode.empty() && "Invalid section specifier.");
 2397   if (!ELFUniqueModuleId.empty()) {
 2614   if (!ClDebugFunc.empty() && ClDebugFunc == F.getName()) return false;
lib/Transforms/Instrumentation/CFGMST.h
  235     if (!Message.str().empty())
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
   69   if (!CHRModuleList.empty()) {
   84   if (!CHRFunctionList.empty()) {
  445   if (!CHRModuleList.empty() || !CHRFunctionList.empty()) {
  445   if (!CHRModuleList.empty() || !CHRFunctionList.empty()) {
lib/Transforms/Instrumentation/InstrOrderFile.cpp
  100     if (!ClOrderFileWriteMapping.empty()) {
lib/Transforms/Instrumentation/Instrumentation.cpp
   89     if (ModuleId.empty())
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  388     if (!PGOTestProfileFile.empty())
 1592         (ViewBlockFreqFuncName.empty() ||
 1607         (ViewBlockFreqFuncName.empty() ||
 1610         if (ViewBlockFreqFuncName.empty())
 1643   if (!PGOTestProfileFile.empty())
 1645   if (!PGOTestProfileRemappingFile.empty())
 1716     if (BrCondStr.empty())
lib/Transforms/Utils/BasicBlockUtils.cpp
  410       SplitIt, Name.empty() ? Old->getName() + ".split" : Name);
lib/Transforms/Utils/CodeExtractor.cpp
  819       Suffix.empty()
lib/Transforms/Utils/NameAnonGlobals.cpp
   35     if (!TheHash.empty())
lib/Transforms/Utils/SymbolRewriter.cpp
  183     if (!Error.empty())
  374   if (Transform.empty() == Target.empty()) {
  374   if (Transform.empty() == Target.empty()) {
  382   if (!Target.empty())
  438   if (Transform.empty() == Target.empty()) {
  438   if (Transform.empty() == Target.empty()) {
  444   if (!Target.empty())
  501   if (Transform.empty() == Target.empty()) {
  501   if (Transform.empty() == Target.empty()) {
  507   if (!Target.empty())
lib/Transforms/Vectorize/VPlan.cpp
  497   if (!Name.empty())
  507   if (!Plan.getName().empty())
tools/bugpoint/BugDriver.cpp
  108   if (TargetTriple.getTriple().empty()) {
  111     if (TheTriple.getTriple().empty())
  199   if (ReferenceOutputFile.empty()) {
tools/bugpoint/ExecutionDriver.cpp
  149   if (CCBinary.empty()) {
  209   if (Path.empty())
  303   if (BitcodeFile.empty()) {
  328   if (OutputFile.empty())
  343   if (!SharedObj.empty())
tools/bugpoint/FindBugs.cpp
   32   if (ReferenceOutputFile.empty()) {
tools/bugpoint/OptimizerDriver.cpp
  167   if (OptCmd.empty()) {
  174   if (tool.empty()) {
  191   if (Prog.empty()) {
tools/bugpoint/ToolRunner.cpp
  371       if (Token.empty())
  408   if (CmdPath.empty())
  424   if (CmdPath.empty())
  700   if (RemoteClientPath.empty())
  705     if (!RemoteUser.empty()) {
  709     if (!RemotePort.empty()) {
  713     if (!RemoteExtra.empty()) {
  742   if (RemoteClientPath.empty()) {
  853   if (!RemoteClient.empty()) {
tools/bugpoint/bugpoint.cpp
  183   if (!OverrideTriple.empty()) {
tools/clang/examples/clang-interpreter/main.cpp
  198       Clang.getHeaderSearchOpts().ResourceDir.empty())
tools/clang/include/clang/AST/TextNodeDumper.h
   89         if (!LabelStr.empty())
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 2571   assert(!RegExp.empty());
 2654   if (BaseName.empty())
 2687   if (BaseName.empty())
 2739   if (BaseName.empty())
 3160   assert(!RegExp.empty());
tools/clang/include/clang/Analysis/PathDiagnostic.h
  563   bool hasCallStackMessage() { return !CallStackMessage.empty(); }
  790     if (!ShortDesc.empty())
  798     return ShortDesc.empty() ? VerboseDesc : ShortDesc;
tools/clang/include/clang/Basic/Diagnostic.h
 1457   explicit operator bool() const { return !Message.empty(); }
tools/clang/include/clang/Driver/Driver.h
  327     if (!InstalledDir.empty())
tools/clang/include/clang/Driver/Multilib.h
   46     assert(GCCSuffix.empty() ||
   57     assert(OSSuffix.empty() ||
   68     assert(IncludeSuffix.empty() ||
  107   { return GCCSuffix.empty() && OSSuffix.empty() && IncludeSuffix.empty(); }
  107   { return GCCSuffix.empty() && OSSuffix.empty() && IncludeSuffix.empty(); }
  107   { return GCCSuffix.empty() && OSSuffix.empty() && IncludeSuffix.empty(); }
tools/clang/include/clang/Driver/ToolChain.h
   83     return TargetPrefix.empty() && ModeSuffix.empty() && DriverMode == nullptr;
   83     return TargetPrefix.empty() && ModeSuffix.empty() && DriverMode == nullptr;
  228     assert(!EffectiveTriple.getTriple().empty() && "No effective triple");
tools/clang/include/clang/Frontend/CommandLineSourceLoc.h
   88     if (Begin.FileName.empty())
  121       if (Val.FileName.empty()) {
tools/clang/include/clang/Frontend/FrontendOptions.h
  210   bool isEmpty() const { return File.empty() && Buffer == nullptr; }
tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
  164     if (ShortDescription.empty() && UseFallback)
  744     if (Msg.empty())
tools/clang/include/clang/Tooling/Refactoring/AtomicChange.h
   76   bool hasError() const { return !Error.empty(); }
tools/clang/lib/ARCMigrate/ARCMT.cpp
  178   if (!PPOpts.ImplicitPCHInclude.empty()) {
  188     if (!OriginalFile.empty())
tools/clang/lib/ARCMigrate/ARCMTActions.cpp
   57   if (MigrateDir.empty())
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  200   if (MigrateDir.empty())
 2197     } else if (Entry.Text.empty()) {
 2275     if (TempFile.empty()) {
tools/clang/lib/AST/ASTContext.cpp
 7205       if (recname.empty()) recname = "?";
tools/clang/lib/AST/ASTDiagnostic.cpp
  347       if (S.empty()) {
tools/clang/lib/AST/CommentBriefParser.cpp
  143   if (!FirstParagraphOrBrief.empty())
tools/clang/lib/AST/Expr.cpp
  831     if (!TemplateParams.empty()) {
tools/clang/lib/AST/FormatString.cpp
  557   if (!Alias.empty())
tools/clang/lib/AST/JSONNodeDumper.cpp
  567   if (!Str.empty())
tools/clang/lib/AST/Stmt.cpp
  571       if (!CurStringPiece.empty())
  612     if (!CurStringPiece.empty()) {
tools/clang/lib/Analysis/CloneDetection.cpp
  440   if (!ParentMacroStack.empty() && MacroStack == ParentMacroStack) {
tools/clang/lib/Analysis/PathDiagnostic.cpp
 1035   if (!CallStackMessage.empty()) {
tools/clang/lib/Basic/FileManager.cpp
  424   if (FileSystemOpts.WorkingDir.empty()
  481   if (FileSystemOpts.WorkingDir.empty())
  501   if (FileSystemOpts.WorkingDir.empty())
tools/clang/lib/Basic/Module.cpp
  513   if (!ExportAsModule.empty()) {
tools/clang/lib/Basic/Targets.cpp
  626   if (!Opts->CPU.empty() && !Target->setCPU(Opts->CPU)) {
  636   if (!Opts->ABI.empty() && !Target->setABI(Opts->ABI)) {
  642   if (!Opts->FPMath.empty() && !Target->setFPMath(Opts->FPMath)) {
tools/clang/lib/Basic/Targets/AVR.cpp
  304   if (!this->CPU.empty()) {
tools/clang/lib/Basic/Targets/Mips.cpp
   98   if (!ISARev.empty())
tools/clang/lib/Basic/Targets/Sparc.cpp
  216     if (!MyriadArchValue.empty()) {
tools/clang/lib/Basic/Version.cpp
   94   if (!Path.empty() || !Revision.empty()) {
   94   if (!Path.empty() || !Revision.empty()) {
   96     if (!Path.empty())
   98     if (!Revision.empty()) {
   99       if (!Path.empty())
  107   if (!LLVMRev.empty() && LLVMRev != Revision) {
  110     if (!LLVMRepo.empty())
tools/clang/lib/CodeGen/BackendUtil.cpp
  433           CodeGenOpts.FloatABI == "hard" || CodeGenOpts.FloatABI.empty()) &&
  574         (!CodeGenOpts.SampleProfileFile.empty() &&
  598       !CodeGenOpts.SampleProfileFile.empty())
  722     if (!CodeGenOpts.InstrProfileOutput.empty())
  732   if (!CodeGenOpts.SampleProfileFile.empty())
  742   if (!CodeGenOpts.DebugPass.empty()) {
  746   if (!CodeGenOpts.LimitFloatPrecision.empty()) {
  845       if (!CodeGenOpts.ThinLinkBitcodeFile.empty()) {
  880     if (!CodeGenOpts.SplitDwarfOutput.empty()) {
 1019     PGOOpt = PGOOptions(CodeGenOpts.InstrProfileOutput.empty()
 1031   } else if (!CodeGenOpts.SampleProfileFile.empty())
 1052       PGOOpt->CSProfileGenFile = CodeGenOpts.InstrProfileOutput.empty()
 1058                           CodeGenOpts.InstrProfileOutput.empty()
 1268       if (!CodeGenOpts.ThinLinkBitcodeFile.empty()) {
 1306     if (!CodeGenOpts.SplitDwarfOutput.empty()) {
 1504   if (!CGOpts.ThinLTOIndexFile.empty()) {
tools/clang/lib/CodeGen/CGBlocks.cpp
  261   if (descName.empty()) {
tools/clang/lib/CodeGen/CGCUDANV.cpp
   89     if (!SectionName.empty()) {
tools/clang/lib/CodeGen/CGCall.cpp
 1713     if (!CodeGenOpts.TrapFuncName.empty())
 1735     if (!CodeGenOpts.FPDenormalMode.empty())
 1774     if (!CodeGenOpts.PreferVectorWidth.empty() &&
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  508   if (!CGM.getCodeGenOpts().DebugCompilationDir.empty())
  533   if (MainFileName.empty())
tools/clang/lib/CodeGen/CGExpr.cpp
 2766     if (!Name.empty()) {
 3305   if (!CGM.getCodeGenOpts().TrapFuncName.empty()) {
tools/clang/lib/CodeGen/CGExprScalar.cpp
 3095   if (handlerName->empty()) {
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 3515   if (!SuperClassName.empty()) {
 3675         if (!sel.first.empty())
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1954     StringClass.empty() ? "_NSConstantStringClassReference"
 1970     StringClass.empty() ? "OBJC_CLASS_$_NSConstantString"
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4229   if (CGM.getLangOpts().OMPHostIRFile.empty())
tools/clang/lib/CodeGen/CGStmt.cpp
 2032     if (!Constraints.empty())
 2146     if (!Constraints.empty())
 2228         if (!Constraints.empty())
 2246     if (!Constraints.empty())
 2256   if (!MachineClobbers.empty()) {
 2257     if (!Constraints.empty())
tools/clang/lib/CodeGen/CodeGenAction.cpp
  986   if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
  623   if (!getCodeGenOpts().RecordCommandLine.empty())
 1335           typeQuals += typeQuals.empty() ? "const" : " const";
 1337           typeQuals += typeQuals.empty() ? "volatile" : " volatile";
 5682   if (getCodeGenOpts().CoverageDataFile.empty() &&
 5683       getCodeGenOpts().CoverageNotesFile.empty())
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  840   if (CoverageMapping.empty())
  861   if (CoverageMapping.empty())
tools/clang/lib/CodeGen/ModuleBuilder.cpp
   70       if (ModuleName == "-" && !CGO.MainFileName.empty())
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  154         LangOpts.CurrentModule.empty() ? MainFileName : LangOpts.CurrentModule;
tools/clang/lib/CodeGen/TargetInfo.cpp
 1212   if (!Constraints.empty())
 8096     if (!Name.empty())
 8771   assert( (E.Str.empty() || E.State == Recursive) &&
 8773   assert(!StubEnc.empty() && "Passing an empty string to addIncomplete()");
 8799   if (E.Swapped.empty())
 8818   if (IsRecursive && !E.Str.empty()) {
 8826   assert(E.Str.empty() && "Entry already present");
tools/clang/lib/Driver/Compilation.cpp
  183   if (!Error.empty()) {
tools/clang/lib/Driver/Driver.cpp
  827       assert(!CfgFileName.empty());
  850   if (CfgFileName.empty() && !ClangNameParts.TargetPrefix.empty())
  850   if (CfgFileName.empty() && !ClangNameParts.TargetPrefix.empty())
  853   if (CfgFileName.empty())
  914   if (!ClangNameParts.ModeSuffix.empty() &&
  915       !ClangNameParts.TargetPrefix.empty()) {
  927       if (!SearchDir.empty())
 1555   if (!ConfigFile.empty())
 1690     if (!SystemConfigDir.empty())
 1693     if (!UserConfigDir.empty())
 1782     if (Multilib.gccSuffix().empty())
 1883     if (!S.empty()) {
 4558       if (Dir.empty())
tools/clang/lib/Driver/Multilib.cpp
   85   assert(GCCSuffix.empty() || (StringRef(GCCSuffix).front() == '/'));
   86   if (GCCSuffix.empty())
tools/clang/lib/Driver/SanitizerArgs.cpp
 1030   if (!HwasanAbi.empty()) {
 1152       if (!Sanitizers.empty())
 1158   assert(!Sanitizers.empty() && "arg didn't provide expected value");
tools/clang/lib/Driver/ToolChains/AVR.cpp
   58     if (CPU.empty()) {
  127     assert(!CPU.empty() && "CPU name must be known in order to link stdlibs");
tools/clang/lib/Driver/ToolChains/Ananas.cpp
   62   if (!D.SysRoot.empty())
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
  640   if (MArch.empty())
tools/clang/lib/Driver/ToolChains/Arch/PPC.cpp
   30       if (!CPU.empty() && CPU != "generic")
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
   60   if (Major.empty())
   68     if (Minor.empty()) {
   79   if (!Minor.empty())
tools/clang/lib/Driver/ToolChains/Arch/X86.cpp
   35     if (!CPU.empty() && CPU != "generic")
tools/clang/lib/Driver/ToolChains/Clang.cpp
 1945   if (!D.SysRoot.empty() && !Args.hasArg(options::OPT__sysroot_EQ)) {
 4105   if (!CPU.empty()) {
 6106   if (!CPU.empty()) {
tools/clang/lib/Driver/ToolChains/CloudABI.cpp
   42   if (!D.SysRoot.empty())
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  300     if (TargetCPUName.empty() && !T.isOSDarwin()) {
  387   if (!CPU.empty())
tools/clang/lib/Driver/ToolChains/CrossWindows.cpp
   83   if (!D.SysRoot.empty())
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  128     if (InstallPath.empty() || !D.getVFS().exists(InstallPath))
  634   if (LibDeviceFile.empty()) {
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  239     if (!TmpPathName.empty()) {
 1484   if (!Targets[Darwin::MacOS].empty() &&
 1485       (!Targets[Darwin::IPhoneOS].empty() ||
 1486        !Targets[Darwin::WatchOS].empty() || !Targets[Darwin::TvOS].empty())) {
 1486        !Targets[Darwin::WatchOS].empty() || !Targets[Darwin::TvOS].empty())) {
 1498       if (Targets[I].empty())
 1509     if (!Target.value().empty())
 1543   if (Version.empty())
 1823   if (!getDriver().SysRoot.empty())
tools/clang/lib/Driver/ToolChains/DragonFly.cpp
   59   if (!D.SysRoot.empty())
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp
  140   if (!D.SysRoot.empty())
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp
   58   if (!D.SysRoot.empty())
  171   if (!D.SysRoot.empty()) {
  295   if (!D.SysRoot.empty()) {
tools/clang/lib/Driver/ToolChains/Gnu.cpp
  184   if (!customGCCName.empty())
  375   if (!D.SysRoot.empty())
  412     if (CPU.empty() || CPU == "generic" || CPU == "cortex-a53")
  489       if (P.empty()) {
  609         if (P.empty()) {
 1673     if (PatchSuffix.empty())
 1786     if (!D.SysRoot.empty()) {
 1796     if (D.SysRoot.empty()) {
 1857   if (!GCCInstallPath.empty())
tools/clang/lib/Driver/ToolChains/Hurd.cpp
  108   if (!getDriver().SysRoot.empty())
tools/clang/lib/Driver/ToolChains/Linux.cpp
  281   if (IsMips && !SysRoot.empty())
  472   if (!getDriver().SysRoot.empty())
  899     if (IncludePath.empty() || !getVFS().exists(IncludePath))
tools/clang/lib/Driver/ToolChains/MSP430.cpp
  136   if (!getDriver().SysRoot.empty())
  193   if (!D.SysRoot.empty())
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  280     if (!VSInstallPath.empty()) {
 1052   return !SDKVersion.empty();
 1065   if (Path.empty() || RegistrySDKVersion.empty())
 1065   if (Path.empty() || RegistrySDKVersion.empty())
 1087     return !WindowsSDKLibVersion.empty();
 1259   if (!VCToolChainPath.empty()) {
tools/clang/lib/Driver/ToolChains/MSVC.h
  142   bool FoundMSVCInstall() const { return !VCToolChainPath.empty(); }
tools/clang/lib/Driver/ToolChains/MinGW.cpp
  111   if (!D.SysRoot.empty())
  325   if (Arch.empty())
tools/clang/lib/Driver/ToolChains/MipsLinux.cpp
   70   if (!getDriver().SysRoot.empty())
tools/clang/lib/Driver/ToolChains/NaCl.cpp
   72   if (!D.SysRoot.empty())
tools/clang/lib/Driver/ToolChains/NetBSD.cpp
  119   if (!D.SysRoot.empty())
tools/clang/lib/Driver/ToolChains/PS4CPU.cpp
  105   if (!D.SysRoot.empty())
  165   if (!D.SysRoot.empty())
tools/clang/lib/Driver/ToolChains/RISCVToolchain.cpp
   74   if (!getDriver().SysRoot.empty())
   99   if (!D.SysRoot.empty())
tools/clang/lib/Format/Format.cpp
 1943     if (!result.empty()) {
 2110     if (!result.empty()) {
tools/clang/lib/Format/UsingDeclarationsSorter.cpp
  203     if (Label.empty()) {
tools/clang/lib/Frontend/ASTConsumers.cpp
   47       if (FilterString.empty())
tools/clang/lib/Frontend/ASTUnit.cpp
 1270   if (OutDiag.Filename.empty())
 2366     if (SD.Filename.empty())
tools/clang/lib/Frontend/CompilerInstance.cpp
  168   if (PPOpts.ImplicitPCHInclude.empty())
  295   if (!Opts->DiagnosticLogFile.empty())
  298   if (!Opts->DiagnosticSerializationFile.empty())
  426   if (!DepOpts.OutputFile.empty())
  428   if (!DepOpts.DOTOutputFile.empty())
  434   if (!ModuleDepCollector && !DepOpts.ModuleDependencyOutputDir.empty()) {
  454   if (!DepOpts.HeaderIncludeOutputFile.empty()) {
  641     if (!OF.TempFilename.empty()) {
  658     } else if (!OF.Filename.empty() && EraseFiles)
  922       !getFrontendOpts().AuxTriple.empty()) {
  954   if (getFrontendOpts().ShowStats || !getFrontendOpts().StatsFile.empty())
 1499         Sysroot.empty() ? "" : Sysroot.c_str(), PPOpts.DisablePCHValidation,
 1685       if (!ModuleFileName.empty())
 1703     if (ModuleFileName.empty()) {
tools/clang/lib/Frontend/CompilerInvocation.cpp
  838   if (!Opts.ProfileInstrumentUsePath.empty())
  842   if (!Opts.ProfileRemappingFile.empty() && !Opts.ExperimentalNewPassManager) {
 1288   if (!Opts.OptRecordFile.empty())
 1321   bool UsingSampleProfile = !Opts.SampleProfileFile.empty();
 1831     if (Opts.CodeCompletionAt.FileName.empty())
 2052     if (WorkingDir.empty())
 3409   if (Opts.Triple.empty())
 3461   if (!Res.getDependencyOutputOpts().OutputFile.empty() &&
tools/clang/lib/Frontend/DiagnosticRenderer.cpp
   64     if (Hint.CodeToInsert.empty()) {
tools/clang/lib/Frontend/FrontendAction.cpp
  449   if (CI.getLangOpts().CurrentModule.empty()) {
  708   if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) {
  841                !CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) {
  859       if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) {
  906   if (!CI.getFrontendOpts().OverrideRecordLayoutsFile.empty() &&
 1031       !CI.getFrontendOpts().CodeCompletionAt.FileName.empty())
tools/clang/lib/Frontend/FrontendActions.cpp
   43       !CI.getFrontendOpts().CodeCompletionAt.FileName.empty())
  126   if (CI.getFrontendOpts().RelocatablePCH && Sysroot.empty()) {
  203   if (CI.getFrontendOpts().OutputFile.empty()) {
  337       Sysroot.empty() ? "" : Sysroot.c_str(),
  630       if (!Metadata.UserInfo.empty()) {
tools/clang/lib/Frontend/HeaderIncludeGen.cpp
  148       if (!DepOpts.ShowIncludesPretendHeader.empty()) {
  167   else if (!DepOpts.ShowIncludesPretendHeader.empty())
tools/clang/lib/Frontend/InitPreprocessor.cpp
   86   if (OriginalFile.empty())
 1180   if (!InitOpts.ImplicitPCHInclude.empty())
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
  267              << (Symbol.ParentName.empty() || Instance.getLangOpts().CPlusPlus
tools/clang/lib/Frontend/LayoutOverrideSource.cpp
   48       if (!CurrentType.empty())
  150   if (!CurrentType.empty())
tools/clang/lib/Frontend/LogDiagnosticPrinter.cpp
   45   if (!DE.Filename.empty()) {
   60   if (!DE.Message.empty()) {
   68   if (!DE.WarningOption.empty()) {
   91   if (!MainFilename.empty()) {
   96   if (!DwarfDebugFlags.empty()) {
  117   if (MainFilename.empty() && Info.hasSourceManager()) {
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
  342     assert(!TokenText.empty());
tools/clang/lib/Frontend/Rewrite/FixItRewriter.cpp
  157     if (Hint.CodeToInsert.empty()) {
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp
   98   if (!FEOpts.FixItSuffix.empty()) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 5071     if (!HF.empty())
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 4228     if (!HF.empty())
tools/clang/lib/Frontend/TextDiagnostic.cpp
  354   if (!FixItInsertionLine.empty()) {
  503     if (!FixItInsertionLine.empty())
 1080     if (!I->CodeToInsert.empty()) {
 1255     while (!CaretLine.empty() && CaretLine[CaretLine.size() - 1] == ' ')
 1261     if (!CaretLine.empty()) {
 1269     if (!FixItInsertionLine.empty()) {
tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp
  128   if (!Prefix.empty())
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  624     if (D.Text.empty())
  794   if (!C2.empty())
  827     if (Comment.empty()) continue;
tools/clang/lib/Lex/HeaderSearch.cpp
  188     if (Parent.empty())
tools/clang/lib/Lex/ModuleMap.cpp
 2518   if (!ActiveModule->ExportAsModule.empty()) {
tools/clang/lib/Lex/PPDirectives.cpp
  643   return getLangOpts().CurrentModule.empty()
tools/clang/lib/Lex/PPMacroExpansion.cpp
  386   if (!LangOpts.CurrentModule.empty())
tools/clang/lib/Lex/Pragma.cpp
  538     if (!Message.empty())
tools/clang/lib/Lex/Preprocessor.cpp
  155   if (!this->PPOpts->PCHThroughHeader.empty() &&
  156       !this->PPOpts->ImplicitPCHInclude.empty())
  567   if (!PPOpts->PCHThroughHeader.empty()) {
  605   return TUKind == TU_Prefix && !PPOpts->PCHThroughHeader.empty() &&
  610   return TUKind != TU_Prefix && !PPOpts->PCHThroughHeader.empty() &&
 1256       if (!FlatModuleName.empty())
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  776   if (Init.empty())
tools/clang/lib/Sema/Sema.cpp
 2206   if (CurrOpenCLExtension.empty())
 2212   if (CurrOpenCLExtension.empty())
tools/clang/lib/Sema/SemaCodeComplete.cpp
 2803       if (!Quals.empty())
 7050         if (!Accumulator.empty()) {
 7519   if (!Quals.empty())
 7579   if (!UpperKey.empty())
tools/clang/lib/Sema/SemaDecl.cpp
 2728   if (SuitableSpelling.empty() && S.getLangOpts().CPlusPlus11)
 2735   if (SuitableSpelling.empty())
 2741   if (SuitableSpelling.empty() && S.getLangOpts().CPlusPlus2a)
 2743   if (SuitableSpelling.empty() && S.getLangOpts().CPlusPlus11)
 2745   if (SuitableSpelling.empty())
tools/clang/lib/Sema/SemaDeclAttr.cpp
 2879   if (!Error.empty()) {
 2900   if (!Error.empty()) {
 2917   if (!Error.empty()) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9133     if (!Specifiers.empty()) Specifiers += " ";
tools/clang/lib/Sema/SemaExprObjC.cpp
   96     if (StringClass.empty())
 4165         if (ExpressionString.empty()) {
tools/clang/lib/Sema/SemaFixItUtils.cpp
  203     if (!s.empty())
tools/clang/lib/Sema/SemaInit.cpp
 3766   if (!Init.empty()) {
 7753   if (!ZeroInitializationFixit.empty()) {
tools/clang/lib/Sema/SemaModule.cpp
  165     if (!ModuleName.empty())
  172   if (!getLangOpts().CurrentModule.empty() &&
  318       if (!ModuleName.empty())
tools/clang/lib/Sema/SemaOverload.cpp
 9714     if (!Description.empty())
tools/clang/lib/Sema/SemaStmtAsm.cpp
  509       if (!SuggestedModifier.empty()) {
tools/clang/lib/Sema/SemaType.cpp
 1923     if (!Quals.empty())
 1929     if (!Quals.empty())
 3313       if (Init.empty() && S.LangOpts.CPlusPlus11)
 3315       if (!Init.empty())
tools/clang/lib/Serialization/ASTReader.cpp
  708     if (!ExistingPPOpts.ImplicitPCHInclude.empty() &&
  709         !ExistingPPOpts.PCHThroughHeader.empty()) {
 2306   if (File == nullptr && !F.OriginalDir.empty() && !F.BaseDirectory.empty() &&
 2306   if (File == nullptr && !F.OriginalDir.empty() && !F.BaseDirectory.empty() &&
 2310     if (!Resolved.empty())
 2443   if (!M.BaseDirectory.empty())
 2448   if (Filename.empty() || llvm::sys::path::is_absolute(Filename))
 2753         F.BaseDirectory = isysroot.empty() ? "/" : isysroot;
 2805         if (ImportedFile.empty())
 2826               << F.FileName << !F.ModuleName.empty() << F.ModuleName;
 2876       assert(!F.ModuleName.empty() &&
 3872   assert(!F.ModuleName.empty() &&
 4467                                           << FileName << !ErrorStr.empty()
 4479                                             << FileName << !ErrorStr.empty()
 4538             F.ModuleName.empty()) {
10177         << CanonDef << CanonDefModule.empty() << CanonDefModule;
10274                  << FirstRecord << FirstModule.empty() << FirstModule << Range
10412                    << FirstRecord << FirstModule.empty() << FirstModule << Range
10664             << FirstRecord << FirstModule.empty() << FirstModule;
10694             << FirstRecord << FirstModule.empty() << FirstModule << FirstRange
10769                << FirstRecord << FirstModule.empty() << FirstModule << Range
11766           << FirstRecord << FirstModule.empty() << FirstModule << FirstDiffType
11814                << FirstFunction << FirstModule.empty() << FirstModule << Range
11992                << FirstEnum << FirstModule.empty() << FirstModule << Range
tools/clang/lib/Serialization/ASTWriter.cpp
 1542     AddPath(WritingModule->PresumedModuleMapFile.empty()
 1739   if (!OutputFile.empty() && OutputFile != "-") {
 3082     if (!Mod->ExportAsModule.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
  282                    << (Keys[I]->second.empty() ? "\"\"" : Keys[I]->second)
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  152   if (SuggestedApi.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  413   if (os.str().empty())
  586   if (os.str().empty())
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
  289   if (!Opts.IgnoredRecordsWithFieldPattern.empty() &&
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
  295     if (!VariableName.empty())
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  587   if (os.str().empty())
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  212   if (report.empty()) {
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  679       if (!Idx.empty()) {
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  290   if (!RuleURI.empty())
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  271       } else if (!OutDir.empty()) {
  742   if (!Opts->AnalyzeSpecificFunction.empty() &&
  830   if (!Mgr->options.DumpExplodedGraphTo.empty())
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  374   if (!ContextPrefix.empty() && StringRef(Val).startswith(ContextPrefix))
tools/clang/lib/Tooling/AllTUsExecution.cpp
  145   if (!ErrorMsg.empty())
tools/clang/lib/Tooling/CommonOptionsParser.cpp
  112   if (!ErrorMessage.empty())
  130     if (!BuildPath.empty()) {
tools/clang/lib/Tooling/Core/Diagnostic.cpp
   33   if (!FilePath.empty())
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
   55     assert(!CWD.empty() && "empty CWD");
tools/clang/lib/Tooling/FileMatchTrie.cpp
   64     if (Path.empty()) {
  144     if (Path.empty())
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  340   if (InsertOffset == Code.size() && (!Code.empty() && Code.back() != '\n'))
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
  196       if (PrevNames[I].empty())
tools/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
  217     const NamedDecl *FoundDecl = QualifiedName.empty()
  222       if (QualifiedName.empty()) {
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  488     if (USR.empty())
tools/clang/lib/Tooling/Tooling.cpp
  337   if (!Files->getFileSystemOpts().WorkingDir.empty())
  559   if (!InitialWorkingDir.empty()) {
tools/clang/tools/arcmt-test/arcmt-test.cpp
  241   if (RemappingsFile.empty())
tools/clang/tools/c-index-test/core_main.cpp
  348     if (!options::ModuleFilePath.empty()) {
tools/clang/tools/clang-diff/ClangDiff.cpp
   93         BuildPath.empty() ? Filename : BuildPath, ErrorMessage);
  296   if (!Value.empty()) {
  353   if (!Value.empty()) {
  396   if (!Value.empty())
  447   if (!CommonCompilations && !ErrorMessage.empty())
  458     if (!DestinationPath.empty()) {
  478   if (DestinationPath.empty()) {
  491   if (!StopAfter.empty()) {
tools/clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
   83   assert(!LookupName->empty() && "Lookup name should be non-empty.");
   85   if (CurrentFileName.empty()) {
   88     if (CurrentFileName.empty())
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  199     if (!CLOpt.getValue().empty()) {
tools/clang/tools/clang-rename/ClangRename.cpp
  103   if (!Input.empty()) {
  117       if (!Info.QualifiedName.empty())
  189     if (!ExportFixes.empty()) {
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp
  183             AdjustedArgs.push_back(!LastO.empty() ? LastO
tools/clang/tools/driver/cc1_main.cpp
  229       Clang->getHeaderSearchOpts().ResourceDir.empty())
tools/clang/tools/driver/cc1as_main.cpp
  213   if (Opts.Triple.empty())
  368   if (Opts.OutputPath.empty())
  375   if (!Opts.SplitDwarfOutput.empty())
  400   if (!Opts.DwarfDebugFlags.empty())
  402   if (!Opts.DwarfDebugProducer.empty())
  404   if (!Opts.DebugCompilationDir.empty())
  415   if (!Opts.MainFileName.empty())
  536     if (!Opts.SplitDwarfOutput.empty() && Opts.SplitDwarfOutput != "-")
tools/clang/tools/driver/driver.cpp
  440   if (!DiagOpts->DiagnosticSerializationFile.empty()) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  881   if (ReplaceName == FromDeclName && !NewNamespace.empty() && Conflict)
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp
   83   if (WhiteListFile.empty())
tools/clang/tools/extra/clang-doc/MDGenerator.cpp
  206   if (!Parents.empty() || !VParents.empty()) {
  206   if (!Parents.empty() || !VParents.empty()) {
  207     if (Parents.empty())
  209     else if (VParents.empty())
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
   46         !Compiler->getFrontendOpts().CodeCompletionAt.FileName.empty())
tools/clang/tools/extra/clang-include-fixer/IncludeFixerContext.cpp
   68     if (!Result.empty())
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllMacros.cpp
   27   if (FilePath.empty())
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp
  109   if (FilePath.empty()) return llvm::None;
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
  140   if (!MergeDir.empty()) {
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  196       if (!Input.empty()) {
  291   if (!InsertHeader.empty()) {
  358   if (!QuerySymbol.empty()) {
tools/clang/tools/extra/clang-move/Move.cpp
  487   if (!Context->Spec.NewHeader.empty())
  726   if (!Context->Spec.OldHeader.empty()) {
  826   if (!Context->Spec.NewHeader.empty()) {
  836   if (!Context->Spec.NewCC.empty())
  924       !Context->Spec.OldHeader.empty()) {
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp
  154   if (!NewCC.empty()) {
  162   if (!NewHeader.empty()) {
tools/clang/tools/extra/clang-query/tool/ClangQuery.cpp
   93   if ((!Commands.empty() || !CommandFiles.empty()) && !PreloadFile.empty()) {
  130     if (!PreloadFile.empty()) {
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  582     if (!Error.BuildDirectory.empty()) {
tools/clang/tools/extra/clang-tidy/ClangTidyCheck.h
  140       if (!Value.empty())
  157       if (!Value.empty())
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
   62     assert(Error.Message.Message.empty() && "Overwriting a diagnostic message");
  108     assert(!Error.Message.Message.empty() && "Message has not been set");
  209   if (ProfilePrefix.empty())
  228   if (!ClangWarningOption.empty())
  394     if (CheckName.empty()) {
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
   51     if (File.Name.empty())
  132     Dest = (Dest && !Dest->empty() ? *Dest + "," : "") + *Src;
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp
   81       if (!ParamName.empty())
   99   if (FixItInitList.empty() || ParamName.empty() || ShouldNotDoFixit)
   99   if (FixItInitList.empty() || ParamName.empty() || ShouldNotDoFixit)
tools/clang/tools/extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp
  113   return Ns.empty() ? "(global)" : Ns;
tools/clang/tools/extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp
  148     if (!Result.empty() && !NewNames.empty())
  148     if (!Result.empty() && !NewNames.empty())
  177   if (CondVarNames.empty())
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
  130     if (!ParentsStr.empty())
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp
   89     if (!GslHeader.empty()) {
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp
  907       Descriptor.ContainerString.empty() || Usages.empty() ||
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
  320     if (ArraySizeExpr.empty()) {
  352     if (ArraySizeExpr.empty()) {
  432   if (MakeSmartPtrFunctionHeader.empty()) {
tools/clang/tools/extra/clang-tidy/modernize/MakeUniqueCheck.cpp
   20       RequireCPlusPlus14(Options.get("MakeSmartPtrFunction", "").empty()) {}
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.cpp
   66   return Bytes.find(Delimiter.empty()
   79   if (Delimiter.empty())
tools/clang/tools/extra/clang-tidy/modernize/UseNoexceptCheck.cpp
   94           ? NoexceptMacro.empty() ? "noexcept" : NoexceptMacro.c_str()
   95           : NoexceptMacro.empty()
  101   if ((IsNoThrow || NoexceptMacro.empty()) && CRange.isValid())
tools/clang/tools/extra/clang-tidy/mpi/BufferDerefCheck.cpp
  114         if (!IndirectionDesc.empty())
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
  263   if (!ReserveSize.empty()) {
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  186     if (caseOptional || !prefix.empty() || !postfix.empty()) {
  186     if (caseOptional || !prefix.empty() || !postfix.empty()) {
  935     if (Failure.KindName.empty())
tools/clang/tools/extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
  123   if (!StartLocInsertion.empty()) {
tools/clang/tools/extra/clang-tidy/readability/RedundantStringCStrCheck.cpp
  184   if (ArgText.empty())
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  290   if (!Config.empty()) {
  336   if (!VfsOverlay.empty()) {
  350     if (Input.empty())
  445   if (!ExportFixes.empty() && !Errors.empty()) {
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  474   else if (Params.rootPath && !Params.rootPath->empty())
tools/clang/tools/extra/clangd/CodeComplete.cpp
  265       if (Completion.Scope.empty()) {
  293       if (Completion.Scope.empty())
  297       if (Completion.Name.empty())
  301       if (Completion.RequiredQualifier.empty() && !C.SemaResult) {
  374     if (ExtractDocumentation && Completion.Documentation.empty()) {
  435     if (Snippet->empty())
  595   if (!Scopes.UnresolvedQualifier->empty())
 1005         Result.Signature.documentation.empty() && Candidate.getFunction()
 1374       if (!S.empty())
tools/clang/tools/extra/clangd/CodeCompletionStrings.cpp
  228     if (!Result.empty()) {
tools/clang/tools/extra/clangd/Diagnostics.cpp
  221   if (!Message.empty())
  347   if (Opts.SendDiagnosticCategory && !D.Category.empty())
  420       if (!TidyDiag.empty()) {
tools/clang/tools/extra/clangd/FormattedString.cpp
  117     if (!R.empty() && !isWhitespace(R.back()))
  123       if (!C.Contents.empty() && !isWhitespace(C.Contents.front()))
  132       if (!R.empty() && !llvm::StringRef(R).endswith("\n"))
  146     if (R.empty() || isWhitespace(R.back()))
  171     while (!R.empty() && isWhitespace(R.back()))
  188       if (!R.empty())
  194   while (!R.empty() && isWhitespace(R.back()))
tools/clang/tools/extra/clangd/Headers.cpp
   88   if (!IncludePath->empty())
  122   if (!IncludedRealName.empty() && RealPathNames[Child].empty())
  159           if (!Name.empty())
  170   if (!Inc.Resolved.empty())
  230             << (Inc.Resolved.empty() ? Inc.Resolved : "[unresolved]") << " at "
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  210   if (Result.empty())
tools/clang/tools/extra/clangd/ParsedAST.cpp
  274         bool IsClangTidyDiag = !CheckName.empty();
tools/clang/tools/extra/clangd/Protocol.cpp
  466   if (!D.code.empty())
  468   if (!D.source.empty())
  570   if (!P.name.empty())
  573   if (!P.containerName.empty())
  576   if (!P.USR.empty())
  587   if (!S.containerName.empty()) {
  639   if (!S.detail.empty())
  743   if (MC.value.empty())
  807   assert(!CI.label.empty() && "completion item label is required");
  811   if (!CI.detail.empty())
  813   if (!CI.documentation.empty())
  815   if (!CI.sortText.empty())
  817   if (!CI.filterText.empty())
  819   if (!CI.insertText.empty())
  838   return (L.sortText.empty() ? L.label : L.sortText) <
  839          (R.sortText.empty() ? R.label : R.sortText);
  850   assert((PI.labelOffsets.hasValue() || !PI.labelString.empty()) &&
  858   if (!PI.documentation.empty())
  864   assert(!SI.label.empty() && "signature information label is required");
  869   if (!SI.documentation.empty())
tools/clang/tools/extra/clangd/Protocol.h
   95   explicit operator bool() const { return !File.empty(); }
tools/clang/tools/extra/clangd/SourceCode.cpp
 1073     if (!Event.Payload.empty())
 1105     assert(ER.EnclosingNamespace.empty());
tools/clang/tools/extra/clangd/URI.cpp
  151   if (Authority.empty() && Body.empty())
  151   if (Authority.empty() && Body.empty())
  155   if (!Authority.empty() || llvm::StringRef(Body).startswith("/"))
tools/clang/tools/extra/clangd/XRefs.cpp
  250     if (!Inc.Resolved.empty() && Inc.R.start.line == Pos.line) {
  464     if (!Name.empty())
  594   if (!Hover.Documentation.empty())
  617   if (!HI.NamespaceScope->empty())
  620   if (!HI.LocalScope.empty())
  999       if (NewSymbol.containerName.empty()) {
 1273     if (!LocalScope.empty())
 1275     else if (NamespaceScope->empty())
 1281   if (!Definition.empty()) {
 1288   if (!Documentation.empty())
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
   66   if (!llvm::sys::path::is_absolute(AbsolutePath) && !Opts.FallbackDir.empty())
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
  171   bool More = !Req.Query.empty() && Req.Query.size() < 3;
tools/clang/tools/extra/clangd/index/dex/Trigram.cpp
   73   if (!LowercaseIdentifier.empty())
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandMacro.cpp
  114   if (!Replacement.empty()) {
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
  487   if (!InputMirrorFile.empty()) {
  549   if (!CompileCommandsDir.empty()) {
  579   if (!ResourceDir.empty())
  585   if (EnableIndex && !IndexFile.empty()) {
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
   89 MATCHER(IsDocumented, "") { return !arg.Documentation.empty(); }
tools/clang/tools/extra/clangd/unittests/FindSymbolsTests.cpp
   35   if (arg.containerName.empty())
tools/clang/tools/extra/clangd/unittests/TestTU.cpp
   39   if (!HeaderCode.empty()) {
tools/clang/tools/extra/modularize/Modularize.cpp
  637     if (Name.empty())
tools/clang/tools/libclang/CIndexer.cpp
  100   if (!ResourcesPath.empty())
  142   if (!ToolchainPath.empty())
  217   if (!File.empty())
tools/clang/tools/libclang/Indexing.cpp
  351     if (!PPOpts.ImplicitPCHInclude.empty()) {
tools/clang/unittests/ASTMatchers/ASTMatchersTest.h
  407     if (!ExpectedName.empty()) {
tools/clang/unittests/Driver/ToolChainTest.cpp
  170   EXPECT_TRUE(Empty.TargetPrefix.empty());
  171   EXPECT_TRUE(Empty.ModeSuffix.empty());
  176   EXPECT_TRUE(DriverOnly.TargetPrefix.empty());
  182   EXPECT_TRUE(DriverOnly2.TargetPrefix.empty());
  201   EXPECT_TRUE(Res.TargetPrefix.empty());
  207   EXPECT_TRUE(Res.TargetPrefix.empty());
  213   EXPECT_TRUE(Res.TargetPrefix.empty());
  219   EXPECT_TRUE(Res.TargetPrefix.empty());
  245   EXPECT_TRUE(Res.TargetPrefix.empty());
  246   EXPECT_TRUE(Res.ModeSuffix.empty());
  251   EXPECT_TRUE(Res.TargetPrefix.empty());
  252   EXPECT_TRUE(Res.ModeSuffix.empty());
tools/clang/unittests/Frontend/OutputStreamTest.cpp
   70   EXPECT_TRUE(!VerboseStream.str().empty());
  100   EXPECT_TRUE(!VerboseBuffer.empty());
tools/clang/unittests/Rename/RenameAliasTest.cpp
  197   assert(!Param.OldName.empty());
  198   assert(!Param.NewName.empty());
tools/clang/unittests/Rename/RenameClassTest.cpp
  196   std::string OldName = Param.OldName.empty() ? "a::Foo" : Param.OldName;
  197   std::string NewName = Param.NewName.empty() ? "b::Bar" : Param.NewName;
tools/clang/unittests/Rename/RenameEnumTest.cpp
  149   assert(!Param.OldName.empty());
  150   assert(!Param.NewName.empty());
tools/clang/unittests/Rename/RenameMemberTest.cpp
  161   assert(!Param.OldName.empty());
  162   assert(!Param.NewName.empty());
tools/clang/unittests/Sema/CodeCompleteTest.cpp
  124       assert(PtrDiffType->empty() || *PtrDiffType == Results.PtrDiffType);
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp
  289   EXPECT_TRUE(NotFound.Directory.empty()) << ErrorMessage;
  317   EXPECT_TRUE(NotFound.Directory.empty()) << ErrorMessage;
  405   EXPECT_TRUE(ErrorMessage.empty()) << ErrorMessage;
  456   EXPECT_TRUE(Result[0].empty()) << Result[0];
  540   EXPECT_TRUE(ErrorMsg.empty());
  551   EXPECT_TRUE(ErrorMsg.empty());
  564   ASSERT_TRUE(ErrorMsg.empty());
  581   ASSERT_TRUE(ErrorMsg.empty());
  598   ASSERT_TRUE(ErrorMsg.empty());
  617   ASSERT_TRUE(ErrorMessage.empty());
  633   ASSERT_TRUE(ErrorMsg.empty());
tools/clang/unittests/Tooling/FixItTest.cpp
   87     EXPECT_TRUE(Hint.CodeToInsert.empty());
   93     EXPECT_TRUE(Hint0.CodeToInsert.empty());
   99     EXPECT_TRUE(Hint1.CodeToInsert.empty());
  122     EXPECT_TRUE(Hint.CodeToInsert.empty());
  131     EXPECT_TRUE(Hint0.CodeToInsert.empty());
  140     EXPECT_TRUE(Hint1.CodeToInsert.empty());
  152     EXPECT_TRUE(Hint.CodeToInsert.empty());
  200     EXPECT_TRUE(Hint.CodeToInsert.empty());
tools/clang/unittests/Tooling/RefactoringTest.cpp
  138   if (ErrorMessage.empty()) return true;
  624     assert(!Path.empty());
tools/clang/unittests/Tooling/RewriterTestContext.h
  103     assert(!Path.empty());
tools/clang/unittests/Tooling/ToolingTest.cpp
  531   ASSERT_FALSE(Target.empty());
  544   ASSERT_FALSE(Target.empty());
  558   ASSERT_FALSE(Target.empty());
  575   ASSERT_FALSE(Target.empty());
tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp
   51     if (MacroHierarchyName.empty())
   60     if (&R == Root && !BaseSuffix.empty())
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
  201       if (!lowerName.empty()) {
 1402       if (!Namespace.empty()) {
 1419       if (!Namespace.empty()) {
 1617     if (!Namespace.empty())
 1945     if (!Test.empty())
 1959   if (Test.empty())
 2260           R->getName() != "DeclOrTypeAttr" && SuperName.empty())
 2977             if (Scope.empty() && Version == 1)
 3004         !Test.empty() ? Test + " ? " + llvm::itostr(Version) + " : 0" : "1";
 3007       if (Variety.empty() || (Variety == S.variety() &&
 3008                               (Scope.empty() || Scope == S.nameSpace())))
 3066       if (I->first.empty())
 3302   if (!Ret.empty())
 3327     if (V.empty()) {
 3923     if (!Spelling.nameSpace().empty()) {
 3984   if (Heading.empty()) {
 4003   if (Heading.empty())
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
   66   if (!CatName.empty()) return CatName;
   73     if (!CatName.empty()) return CatName;
   87     if (!CatName.empty()) return CatName;
  111         if (Category.empty()) continue;  // Skip diags with no category.
 1194   if (!Component.empty()) {
 1244     if (!Component.empty() && Component != R.getValueAsString("Component"))
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
  348   if (!Description.empty())
  366   if (!Description.empty())
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp
   38   if (!name.empty())
   47   if (!name.empty())
tools/clang/utils/TableGen/MveEmitter.cpp
 1423     if (!condition.empty())
 1426     if (!condition.empty())
 1460     if (!Check.empty())
tools/clang/utils/TableGen/NeonEmitter.cpp
 1162   if (!typeCode.empty()) {
 1857   assert_with_loc(!N.empty(),
 1894   if (!ArgName.empty()) {
 2297     if (!LowerBound.empty())
 2299     if (!UpperBound.empty())
 2507         if (!InGuard.empty())
 2510         if (!InGuard.empty())
 2522   if (!InGuard.empty())
 2614         if (!InGuard.empty())
 2617         if (!InGuard.empty())
 2629   if (!InGuard.empty())
tools/dsymutil/CFBundle.h
   22   bool OmitShortVersion() const { return ShortVersionStr.empty(); }
tools/dsymutil/CompileUnit.h
  116   bool isClangModule() const { return !ClangModuleName.empty(); }
tools/dsymutil/DwarfLinker.cpp
  273       if (!Entry.empty() && Entry != ResolvedPath)
 2166   if (PCMfile.empty())
 2173   if (Name.empty()) {
 2521     if (!Options.PrependPath.empty()) {
tools/dsymutil/SymbolMap.cpp
   64   if (SymbolMap.empty())
tools/dsymutil/dsymutil.cpp
  175       !Options.OutputFile.empty())
  287   if (BI.IDStr.empty()) {
  394   if (Options.OutputFile.empty() &&
  395       (Options.LinkOpts.Update || !Options.SymbolMap.empty()))
  400     if (Options.OutputFile.empty()) {
  547       if (!Options.SymbolMap.empty())
tools/gold/gold-plugin.cpp
  676   assert(options::thinlto_object_suffix_replace.empty() ||
  906   if (!options::sample_profile.empty())
  909   if (!options::cs_profile_path.empty())
  973   if (options::thinlto_linked_objects_file.empty())
 1033   if (!options::obj_path.empty())
 1058   if (!options::cache_dir.empty())
 1101   if (!options::extra_library_path.empty() &&
 1138   if (!options::cache_dir.empty()) {
tools/llc/llc.cpp
  168     if (Val.empty())
  191   if (OutputFilename.empty()) {
  416     if (!TargetTriple.empty())
  423   if (TheTriple.getTriple().empty())
  480   if (!SplitDwarfOutputFile.empty()) {
tools/lld/COFF/Driver.cpp
  728   if (config->importName.empty()) {
  808   if (config->outputFile.empty())
 1721   if (config->outputFile.empty()) {
tools/lld/COFF/DriverUtils.cpp
  337     if (path.empty())
tools/lld/COFF/MapFile.cpp
   91   if (config->mapFile.empty())
tools/lld/COFF/PDB.cpp
 1374     if (!r.empty())
tools/lld/ELF/Driver.cpp
 1349     if (!file->archiveName.empty())
tools/lld/ELF/InputFiles.cpp
   45   if (f->toStringCache.empty()) {
   46     if (f->archiveName.empty())
tools/lld/ELF/InputSection.cpp
  311   if (srcFile.empty())
  344   if (!file->archiveName.empty())
tools/lld/ELF/LinkerScript.cpp
   83   if (secRef && secRef->location.empty()) {
  326   if (file->archiveName.empty())
  770   if (!sec->memoryRegionName.empty()) {
  975       if (!sec->lmaRegionName.empty()) {
tools/lld/ELF/Relocations.cpp
   90   if (!src.empty())
  784   if (msg.empty())
  797     if (!src.empty())
tools/lld/ELF/ScriptParser.cpp
  858   if (cmd->lmaExpr && !cmd->lmaRegionName.empty())
 1116   if (cmd->location.empty() && script->errorOnMissingSection)
tools/lld/ELF/Symbols.cpp
  591   if (!src1.empty())
  594   if (!src2.empty())
tools/lld/ELF/SyntheticSections.cpp
 1284   if (!config->rpath.empty())
tools/lld/include/lld/Core/File.h
   71     if (_archivePath.empty())
   73     if (_archiveMemberPath.empty())
tools/lld/wasm/InputFiles.cpp
   36   if (file->archiveName.empty())
tools/lld/wasm/OutputSections.cpp
   28   if (!sec.name.empty())
tools/lld/wasm/SyntheticSections.h
   40     if (!name.empty())
tools/lldb/include/lldb/Expression/UserExpression.h
  274     if (m_fixed_text.empty())
tools/lldb/include/lldb/Interpreter/OptionGroupArchitecture.h
   34   bool ArchitectureWasSpecified() const { return !m_arch_str.empty(); }
tools/lldb/include/lldb/Interpreter/OptionGroupPlatform.h
   42   bool PlatformWasSpecified() const { return !m_platform_name.empty(); }
tools/lldb/include/lldb/Interpreter/OptionValueString.h
  125   bool IsCurrentValueEmpty() const { return m_current_value.empty(); }
  127   bool IsDefaultValueEmpty() const { return m_default_value.empty(); }
tools/lldb/include/lldb/Target/Process.h
  142     return (m_plugin_name.empty() ? nullptr : m_plugin_name.c_str());
tools/lldb/include/lldb/Target/Target.h
  273     return (m_prefix.empty() ? nullptr : m_prefix.c_str());
  374     return (m_pound_line_file.empty() ? nullptr : m_pound_line_file.c_str());
tools/lldb/include/lldb/Target/ThreadSpec.h
   80     if (m_name.empty())
   91     if (m_queue_name.empty())
tools/lldb/include/lldb/Utility/Reproducer.h
  127     assert(m_version.empty());
tools/lldb/include/lldb/Utility/StringExtractor.h
   50   bool Empty() { return m_packet.empty(); }
tools/lldb/source/API/SBBreakpointName.cpp
   64     return !m_name.empty() && m_target_wp.lock();
tools/lldb/source/API/SBDebugger.cpp
  605       if (!triple_str.empty())
 1276       if (!value_str.empty()) {
tools/lldb/source/API/SBPlatform.cpp
   96   if (m_opaque_ptr->m_url.empty())
  190   if (m_opaque_ptr->m_command.empty())
  209   if (m_opaque_ptr->m_working_dir.empty())
  258   if (m_opaque_ptr->m_output.empty())
  389       if (!s.empty()) {
  406       if (!s.empty()) {
tools/lldb/source/API/SBStream.cpp
  105   if (!local_data.empty())
  140   if (!local_data.empty())
  161   if (!local_data.empty())
tools/lldb/source/API/SBType.cpp
  469         if (!name_sstr.empty())
tools/lldb/source/API/SBTypeCategory.cpp
  433               !output.empty()) {
  557               !output.empty()) {
tools/lldb/source/API/SBValue.cpp
  403       if (validation.second.empty())
  465     if (value_sp->GetSummaryAsCString(buffer, options.ref()) && !buffer.empty())
tools/lldb/source/Breakpoint/Breakpoint.cpp
  864   if (!m_kind_description.empty()) {
tools/lldb/source/Breakpoint/BreakpointName.cpp
   58   if (!m_help.empty())
tools/lldb/source/Breakpoint/BreakpointOptions.cpp
   34   if (num_strings == 0 && script_source.empty()) {
  209     if (incoming.m_condition_text.empty()) {
  495   if (!m_condition_text.empty()) {
  572   if (!m_condition_text.empty()) {
tools/lldb/source/Breakpoint/BreakpointResolverScripted.cpp
   42   if (m_class_name.empty())
  147   if (!short_help.empty())
tools/lldb/source/Breakpoint/Watchpoint.cpp
  199     if (!m_decl_str.empty())
  201     if (!m_watch_spec_str.empty())
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
  546     if (!m_python_class_options.GetName().empty())
  554     else if (!m_options.m_func_regexp.empty())
  556     else if (!m_options.m_source_text_regexp.empty())
tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
  374     if (!m_func_options.GetName().empty()) {
  420         } else if (!m_func_options.GetName().empty()) {
tools/lldb/source/Commands/CommandObjectCommands.cpp
 1176       return (m_help.empty() ? nullptr : m_help.c_str());
 1180       return (m_syntax.empty() ? nullptr : m_syntax.c_str());
 1202     if (!help.empty())
 1230     if (!docstring.empty())
 1300     if (!docstring.empty())
 1317     if (!docstring.empty())
 1607           if (funct_name_str.empty()) {
 1663     if (m_options.m_class_name.empty()) {
 1664       if (m_options.m_funct_name.empty()) {
tools/lldb/source/Commands/CommandObjectDisassemble.cpp
  288   if (!m_options.func_name.empty()) {
tools/lldb/source/Commands/CommandObjectDisassemble.h
   36       return (plugin_name.empty() ? nullptr : plugin_name.c_str());
   40       if (flavor_string.empty() || flavor_string == "default")
tools/lldb/source/Commands/CommandObjectExpression.cpp
  427   if (error_stream && !m_fixed_expression.empty() &&
  515   if (num_lines > 0 && lines[num_lines - 1].empty()) {
  659     if (!m_fixed_expression.empty() && target.GetEnableNotifyAboutFixIts()) {
tools/lldb/source/Commands/CommandObjectFrame.cpp
  553                       if (!scope_string.empty())
  599               if (!scope_string.empty())
  671                 if (!scope_string.empty())
  853   if (m_options.m_class_name.empty()) {
  860   if (m_options.m_module.empty()) {
  867   if (m_options.m_function.empty()) {
tools/lldb/source/Commands/CommandObjectHelp.cpp
   30   const std::string &lookup_str = !subcommand_str.empty() ? subcommand_str : command_str;
tools/lldb/source/Commands/CommandObjectMemory.cpp
  422       bool done = type_str.empty();
  429         if (type_str.empty())
tools/lldb/source/Commands/CommandObjectPlatform.cpp
  358             if (hostname.empty())
 1634       if (!output.empty())
tools/lldb/source/Commands/CommandObjectProcess.cpp
  816     if (!m_options.plugin_name.empty())
 1392     if (!m_options.stop.empty() &&
 1400     if (!m_options.notify.empty() &&
 1408     if (!m_options.pass.empty() &&
tools/lldb/source/Commands/CommandObjectSource.cpp
  602     if (!m_options.symbol_name.empty()) {
  614     } else if (!m_options.file_name.empty()) {
  744     if (m_reverse_name.empty()) {
  940     if (!m_options.symbol_name.empty()) {
 1119     } else if (m_options.file_name.empty()) {
tools/lldb/source/Commands/CommandObjectTarget.cpp
 2858               path, !uuid_str.empty() ? " uuid=" : "", uuid_str.c_str());
 2868               path[0] ? " file=" : "", path, !uuid_str.empty() ? " uuid=" : "",
 3743       if (!m_options.m_str.empty()) {
 3776       if (!m_options.m_str.empty()) {
 3800       if (!m_options.m_str.empty()) {
 3815       if (!m_options.m_str.empty()) {
 4586       if (line.empty()) {
 4623       if (!m_options.m_module_name.empty()) {
 4629       if (!m_options.m_class_name.empty()) {
 4635       if (!m_options.m_file_name.empty()) {
 4651       if (!m_options.m_function_name.empty()) {
 4673         if (!m_options.m_thread_name.empty())
 4676         if (!m_options.m_queue_name.empty())
tools/lldb/source/Commands/CommandObjectThread.cpp
  601       if (m_class_options.GetName().empty()) {
  691         if (new_plan_sp && !m_options.m_avoid_regexp.empty()) {
 1816       if (!warnings.empty())
tools/lldb/source/Commands/CommandObjectType.cpp
  183               if (funct_name_str.empty()) {
  414               if (class_name_str.empty()) {
  437                   if (!type_name.empty()) {
  648         m_command_options.m_custom_type_name.empty()) {
  657     if (m_command_options.m_custom_type_name.empty())
 1273            .empty()) // we have a Python function ready to use
 1296                   .empty()) // we have a quick 1-line script, just use it
 1313     if (funct_name_str.empty()) {
 1396       m_options.m_format_string.empty()) {
 2261   if (m_options.m_class_name.empty() && !m_options.m_input_python) {
 2708     if (!m_cmd_help_long.empty())
tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
  404         !m_options.m_function_name.empty()) {
  447           else if (!m_options.m_function_name.empty()) {
tools/lldb/source/Core/Communication.cpp
  253   if (!m_bytes.empty()) {
tools/lldb/source/Core/Disassembler.cpp
  747   if (!m_comment.empty()) {
  805     if (!line.empty()) {
  868     if (!line.empty()) {
  891       assert(value.empty() == false);
  892       assert(key.empty() == false);
tools/lldb/source/Core/FormatEntity.cpp
  377   if (!string.empty())
  379   if (!printf_format.empty())
  686       entry.string.empty()
  752   if (entry.string.empty()) {
  753     if (entry.printf_format.empty() && entry.fmt == eFormatDefault &&
 1023       if (!entry.printf_format.empty())
 1157         if (!entry.printf_format.empty())
 1192         if (!entry.printf_format.empty()) {
 1223         if (!entry.printf_format.empty())
 1236         if (!entry.printf_format.empty())
 1405         if (!entry.printf_format.empty())
 1807       if (!entry.printf_format.empty())
 1817       if (!entry.printf_format.empty())
 2251               if (entry.string.empty())
tools/lldb/source/Core/IOHandler.cpp
  186   if (line.empty()) {
  460     if (m_prompt.empty())
  473     m_editline_up->SetPrompt(m_prompt.empty() ? nullptr : m_prompt.c_str());
  479   return (m_continuation_prompt.empty() ? nullptr
  488     m_editline_up->SetContinuationPrompt(m_continuation_prompt.empty()
 1508     if (m_key_name.empty()) {
tools/lldb/source/Core/ModuleList.cpp
  865           if (!uuid_str.empty())
  944           if (!uuid_str.empty())
tools/lldb/source/Core/StreamAsynchronousIO.cpp
   27   if (!m_data.empty()) {
tools/lldb/source/Core/ValueObject.cpp
  217     if (m_value_str.empty()) {
  379     if (m_location_str.empty()) {
  394             if (m_location_str.empty())
  400         if (m_location_str.empty())
  670     if (!child_name_str.empty())
  724   return !destination.empty();
  728   if (UpdateValueIfNeeded(true) && m_summary_str.empty()) {
  734   if (m_summary_str.empty())
 1115   if (!m_object_desc_str.empty())
 1181     if (my_format != m_last_format || m_value_str.empty()) {
 1194   if (m_value_str.empty())
 2854       if (!child_name_str.empty())
tools/lldb/source/Core/ValueObjectConstResultImpl.cpp
   90     if (!child_name_str.empty())
tools/lldb/source/DataFormatters/TypeFormat.cpp
  120     return !dest.empty();
  195   return !dest.empty();
tools/lldb/source/DataFormatters/TypeSummary.cpp
  191   if (m_python_script.empty()) {
  192     if (m_function_name.empty()) {
tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp
  159   const char *root_valobj_name = m_options.m_root_valobj_name.empty()
  395     if (m_error.empty()) {
  417       if (!IsNil() && !IsUninitialized() && !m_value.empty() &&
  421            m_summary.empty()) &&
  529     return (!entry || entry->DoesPrintChildren(m_valobj) || m_summary.empty());
  819   if (m_validation.second.empty())
tools/lldb/source/Expression/REPL.cpp
  188   if (code.empty()) {
  400           if (!m_repl_source_path.empty()) {
  525   if (!m_repl_source_path.empty()) {
tools/lldb/source/Expression/UserExpression.cpp
  265     if (fixed_expression && !fixed_expression->empty() &&
  287       if (!fixed_expression->empty() && target->GetEnableNotifyAboutFixIts()) {
tools/lldb/source/Host/common/Editline.cpp
  176     if (m_path.empty() && m_history && !m_prefix.empty()) {
  176     if (m_path.empty() && m_history && !m_prefix.empty()) {
  194     if (m_path.empty())
  873     if (!c.GetDescription().empty())
  974   if (!longest_prefix.empty())
  977   if (!longest_prefix.empty()) {
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp
  132   return (m_plugin_name.empty() ? nullptr : m_plugin_name.c_str());
tools/lldb/source/Interpreter/CommandAlias.cpp
   62   if (!options_string.empty()) {
  181     if (opt == "<argument>" && !value.empty() &&
  232   if (!m_cmd_help_short.empty() || m_did_set_help)
  240   if (!m_cmd_help_long.empty() || m_did_set_help_long)
tools/lldb/source/Interpreter/CommandHistory.cpp
  104     if (!hist_item.empty()) {
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 1282   if (!s.empty()) {
 1322   if (!command_string.empty()) {
 1353   if (!command.empty()) {
 1624   if (command_string.empty())
 1662         if (m_repeat_command.empty()) {
 2732     if (line.empty())
 3046       if (!suffix.empty()) {
 3051             next_word.empty() ? "" : next_word.c_str(),
 3052             next_word.empty() ? " -- " : " ", suffix.c_str());
 3059       if (!suffix.empty()) {
 3103     if (scratch_command.empty())
 3107   if (!scratch_command.empty())
tools/lldb/source/Interpreter/CommandObject.cpp
   59   if (!m_cmd_syntax.empty())
  657   if (!help_text.empty())
  684   if (!help_text.empty())
  815     if (line.empty()) {
tools/lldb/source/Interpreter/CommandReturnObject.cpp
   20   if (s.empty()) {
   50   if (!s.empty()) {
tools/lldb/source/Interpreter/OptionGroupPlatform.cpp
   23   if (!m_platform_name.empty()) {
  124     if (!m_platform_name.empty()) {
tools/lldb/source/Interpreter/OptionGroupPythonClassWithDict.cpp
   99       if (m_current_key.empty())
  109       if (!m_current_key.empty()) {
  137   if (!m_current_key.empty())
tools/lldb/source/Interpreter/OptionValueString.cpp
   26     if (!m_current_value.empty() || m_value_was_set) {
tools/lldb/source/Interpreter/Options.cpp
 1076     if (!input_line.empty()) {
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
  260     if (m_comment.empty())
  319           if (!comment_string.empty()) {
  463         if (str.empty()) {
  473           if (str.empty()) {
  480           if (!str.empty()) {
  515           if (str.empty()) {
  531           if (!str.empty()) {
  536           if (str.empty()) {
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp
  164     if (entry.path.empty() || ::strcmp(entry.path.c_str(), m_exe_path) == 0)
  209     if (entry.path.empty() || ::strcmp(entry.path.c_str(), m_exe_path) == 0)
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
  483       if (!uuid_str.empty())
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  237     if (!decl_name.empty() && decl_name[0] == '$') {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  386   if (!abi.empty())
  821       if (!ToInsert.empty()) {
 1112         if (fixit.CodeToInsert.empty()) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
  257     if (token_str.empty())
  280     if (!expr.empty() && !tokens.hasToken(var_name.GetStringRef()))
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp
  664     if (!object_type.empty()) {
  679       if (!global_name.empty()) {
  737       if (!global_name.empty()) {
  763       if (!object_type.empty()) {
  834     if (!global_name.empty()) {
tools/lldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp
  167   if (!value.empty())
  193   if (!value.empty())
  219   if (!value.empty())
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
  649   if (prefix_token.empty())
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp
  707     if (!summary_str.empty())
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
  137       if (element.name.empty()) {
  226   if (for_expression && !name.empty()) {
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 2840   if (m_slang_version.empty() || m_bcc_version.empty()) {
 2840   if (m_slang_version.empty() || m_bcc_version.empty()) {
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  784   if (m_gnu_debuglink_file.empty())
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
   89     if (!os_plugin_class_name.empty()) {
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp
  103   if (!device_id.empty())
  108   if (android_serial.empty()) {
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
  286   if (error.Fail() || version_string.empty()) {
  322   if (error.Fail() || tmpdir.empty())
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
  239     if (!cache_path.empty()) {
 1113       if (status.Success() && exit_status == 0 && !command_output.empty()) {
 1129   if (m_developer_directory.empty()) {
 1204   assert(m_developer_directory.empty() == false);
 1601       if (!dyld_root_path.empty()) {
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
  191             if (status == 0 && !output.empty()) {
  205         if (!xcode_contents_path.empty()) {
  216         if (!default_xcode_sdk.empty()) {
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
  344   if (m_device_support_directory.empty()) {
  357   assert(m_device_support_directory.empty() == false);
  367   if (m_device_support_directory_for_os_version.empty()) {
  387   assert(m_device_support_directory_for_os_version.empty() == false);
  421     if (!sdkroot_path.empty() && platform_file_path && platform_file_path[0]) {
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  243     if (src_path.empty())
  246     if (dst_path.empty())
  263       if (src_path.empty())
  266       if (dst_path.empty())
  304   if (src_path.empty())
  307   if (dst_path.empty())
  857       if (path.empty())
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
   83   if (m_platform_description.empty()) {
   89   if (!m_platform_description.empty())
  336   if (m_name.empty())
  535                        (socket_name.empty()) ? nullptr : socket_name.c_str());
  848         gdbserver.second.empty() ? nullptr : gdbserver.second.c_str();
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp
  210       if (!vendor_id.empty())
  217         (stepping != static_cast<uint64_t>(-1)) && (!vendor_id.empty())) {
tools/lldb/source/Plugins/Process/POSIX/NativeProcessELF.cpp
  170     if (!info->name.empty() && info->base_addr != 0)
tools/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
   33   if (!m_description.empty())
tools/lldb/source/Plugins/Process/Utility/ThreadMemory.h
   41     if (!m_name.empty())
   49     if (!m_queue.empty())
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
  259     assert(!abi.empty() && "ABI is not set");
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h
  151     if (m_thread_name.empty())
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  660   if (!m_bytes.empty()) {
  944   if (!env_debugserver_path.empty()) {
 1105     if (!env_debugserver_log_file.empty()) {
 1120     if (!env_debugserver_log_channels.empty()) {
 1136       has_env_var = !extra_arg.empty();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  784   if (!exe_path.empty()) {
  941     if (!m_os_build.empty()) {
  952     if (!m_os_kernel.empty()) {
  963     if (!m_hostname.empty()) {
 1096     if (!m_gdb_server_name.empty())
 1233         if (triple.empty()) {
 1234           if (arch_name.empty()) {
 1244               if (!vendor_name.empty())
 1247               if (!os_name.empty())
 1249               if (!environment.empty())
 1255             if (!vendor_name.empty() || !os_name.empty()) {
 1255             if (!vendor_name.empty() || !os_name.empty()) {
 1257               if (vendor_name.empty())
 1262               if (os_name.empty())
 1310         if (!distribution_id.empty())
 1821     return !cwd.empty();
 1962     if (cpu != LLDB_INVALID_CPUTYPE && !vendor.empty() && !os_type.empty()) {
 1962     if (cpu != LLDB_INVALID_CPUTYPE && !vendor.empty() && !os_type.empty()) {
 2081       if (!triple.empty()) {
 2087       } else if (cpu != LLDB_INVALID_CPUTYPE && !os_name.empty() &&
 2088                  !vendor_name.empty()) {
 2090         if (!environment.empty())
 2559     if (port != 0 || !socket_name.empty())
 2924   if (path.empty())
 3537   if (module_path.empty())
 3832               if (symbol_name.empty())
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
   73         entry.packet.data.empty())
   92         entry.packet.data.empty())
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  509   if (!path.empty()) {
  641   if (!path.empty()) {
  663   if (!path.empty()) {
  683   if (!path.empty()) {
  734   if (!path.empty()) {
  778   if (!path.empty()) {
 1075   if (module_path.empty())
 1094   if (uuid_str.empty()) {
 1158     if (uuid_str.empty())
 1274     if (!abi.empty())
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  544     if (!thread_name.empty())
  551     if (!description.empty())
  620   if (!thread_name.empty()) {
  765   if (!description.empty()) {
 2299   if (buf.empty())
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  104   if (hostname.empty())
  201   if (!socket_name.empty()) {
  225   if (!m_pending_gdb_server.socket_name.empty())
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 1800       thread_sp->SetName(thread_name.empty() ? nullptr : thread_name.c_str());
 1839           if (!reason.empty()) {
 1986           if (!description.empty()) {
 4439         if (!gdb_type.empty() && !(encoding_set || format_set)) {
 4456           if (!gdb_group.empty()) {
 4576     if (!arch_to_use.IsValid() && !target_info.arch.empty()) {
 4903   if (file_path.empty())
 5301         if (response_str.empty())
 5350       if (response_str.empty())
tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
   56   if (m_thread_name.empty())
   86     if (m_dispatch_queue_name.empty())
  107       if (!m_dispatch_queue_name.empty())
tools/lldb/source/Plugins/Process/mach-core/ThreadMachCore.cpp
   40   if (m_thread_name.empty())
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  283     if (op_arg.empty()) {
  334     if (op_arg.empty()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
 1025                         if (!object_pointer_name.empty()) {
 1138             if (!object_pointer_name.empty()) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
 1005     if (storage.empty())
 1010   if (storage.empty())
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
   12   if (m_qualified_name.empty()) {
   49   if (m_qualified_name.empty())
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  399     if (name.empty())
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  813         if (source_file.empty())
 1015   auto mangled_cstr = mangled.empty() ? nullptr : mangled.c_str();
 1160     if (var_name.empty())
 1215       if (name.empty() && demangled_name.empty())
 1215       if (name.empty() && demangled_name.empty())
 1219       if (!demangled_name.empty() && pdb_func_up->getVirtualAddress())
 1239         if (!demangled_name.empty())
 1255           if (!demangled_name.empty() && name != demangled_name) {
 1259         } else if (!demangled_name.empty()) {
 1274       if (name.empty())
 1745   if (path.empty())
 1925   if (!func_undecorated_name.empty()) {
 1944   if (!func_decorated_name.empty()) {
 1958     if (!func_undecorated_name.empty() &&
 1967     if (!func_undecorated_name.empty() &&
 1971   } else if (!func_undecorated_name.empty()) {
 1973   } else if (!func_name.empty())
tools/lldb/source/Symbol/ClangASTContext.cpp
  820   if (m_target_options_rp == nullptr && !m_target_triple.empty()) {
  830   if (m_target_info_up == nullptr && !m_target_triple.empty())
 9675         if (!clang_typedef_name.empty()) {
 9729         if (!clang_type_name.empty())
tools/lldb/source/Symbol/LocateSymbolFile.cpp
  329     if (!uuid_str.empty())
tools/lldb/source/Symbol/TypeList.cpp
  176         keep_match = type_scope.empty() && type_basename == match_type_name;
tools/lldb/source/Symbol/TypeMap.cpp
  206         keep_match = type_scope.empty() && type_basename == match_type_name;
tools/lldb/source/Symbol/Variable.cpp
  541       if (partial_member_name.empty() ||
  624       if (prefix_path.str().empty()) {
  639           !prefix_path.str().empty()) {
  735               } else if (remaining_partial_path.empty()) {
tools/lldb/source/Target/PathMappingList.cpp
  207   if (orig_path.empty())
tools/lldb/source/Target/Platform.cpp
  407     if (!arch.GetTriple().str().empty()) {
  444   if (!specific_info.empty())
  809   if (m_name.empty())
tools/lldb/source/Target/Process.cpp
 1094   if (m_public_state.GetValue() == eStateExited && !m_exit_string.empty())
tools/lldb/source/Target/Queue.cpp
   35   return (m_queue_name.empty() ? nullptr : m_queue_name.c_str());
tools/lldb/source/Target/StopInfo.cpp
  185     if (m_description.empty()) {
  631     if (m_description.empty()) {
  961     if (m_description.empty()) {
  990     if (m_description.empty())
 1012     if (m_description.empty())
 1034     if (m_description.empty()) {
tools/lldb/source/Target/ThreadPlanPython.cpp
   50           m_error_str.empty() ? "<unknown error>"
   62   if (!m_class_name.empty()) {
tools/lldb/source/Target/ThreadSpec.cpp
   62   if (!m_name.empty())
   64   if (!m_queue_name.empty())
   71   return m_name.empty() ? nullptr : m_name.c_str();
   75   return m_queue_name.empty() ? nullptr : m_queue_name.c_str();
   94   if (m_name.empty())
  102   if (m_queue_name.empty())
  130           !m_name.empty() || !m_queue_name.empty());
  130           !m_name.empty() || !m_queue_name.empty());
tools/lldb/source/Utility/Event.cpp
  139   return (m_bytes.empty() ? nullptr : m_bytes.data());
tools/lldb/source/Utility/FileSpec.cpp
  350     if (!m_filename && !path.empty() && path.back() != path_separator)
tools/lldb/source/Utility/Status.cpp
  132   if (m_string.empty()) {
  155   if (m_string.empty()) {
tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
   16   if (m_packet.empty())
   62   if (m_packet.empty())
tools/lldb/source/Utility/StringList.cpp
  185     if (m_strings[idx].empty())
tools/lldb/source/lldb.cpp
   43   if (g_version_str.empty()) {
tools/lldb/tools/driver/Driver.cpp
  361   if (m_option_data.m_process_name.empty() &&
  539       if (!m_option_data.m_core_file.empty()) {
  552     } else if (!m_option_data.m_core_file.empty()) {
  555     } else if (!m_option_data.m_process_name.empty()) {
  664       if (!m_option_data.m_repl_options.empty())
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp
  158   assert(!attach_target.empty() && "attach_target cannot be empty");
  319       if (!socket_id.empty()) {
  515   if (!attach_target.empty())
tools/lldb/tools/lldb-server/lldb-platform.cpp
  262   if (listen_host_port.empty())
tools/lldb/tools/lldb-test/lldb-test.cpp
  240   if (opts::symbols::CompilerContext.empty())
  395   if (Context.empty())
  409   if (!File.empty()) {
  461   assert(!File.empty());
  523   if (!Language.empty())
  528   if (!Name.empty())
  548   } else if (!File.empty()) {
  701     if (Regex || !Context.empty() || !Name.empty() || !File.empty() ||
  701     if (Regex || !Context.empty() || !Name.empty() || !File.empty() ||
  701     if (Regex || !Context.empty() || !Name.empty() || !File.empty() ||
  712     if (Regex || !Context.empty() || !Name.empty() || !File.empty() ||
  712     if (Regex || !Context.empty() || !Name.empty() || !File.empty() ||
  712     if (Regex || !Context.empty() || !Name.empty() || !File.empty() ||
  723     if (Regex || !Context.empty() || !File.empty() || Line != 0)
  723     if (Regex || !Context.empty() || !File.empty() || Line != 0)
  730   if (Regex && !Context.empty())
  737   if (Regex + !Context.empty() + !File.empty() >= 2)
  737   if (Regex + !Context.empty() + !File.empty() >= 2)
  740   if (Regex && Name.empty())
  745     if (!Context.empty() || !Name.empty() || !File.empty() || Line != 0)
  745     if (!Context.empty() || !Name.empty() || !File.empty() || Line != 0)
  745     if (!Context.empty() || !Name.empty() || !File.empty() || Line != 0)
  751     if (!File.empty() + (Line != 0) == 1)
  755     if (Regex + (getFunctionNameFlags() != 0) + !File.empty() >= 2)
  762     if (File.empty() || Line == 0)
  771     if (Regex || !File.empty() || Line != 0)
  777     if (Regex || !File.empty() || Line != 0)
  780     if (!Name.empty() && !CompilerContext.empty())
  780     if (!Name.empty() && !CompilerContext.empty())
  805   StringRef Symbols = SymbolPath.empty() ? InputFile : SymbolPath;
 1089   if (!opts::Log.empty())
tools/lldb/tools/lldb-vscode/FunctionBreakpoint.cpp
   18   if (functionName.empty())
   21   if (!condition.empty())
   23   if (!hitCondition.empty())
tools/lldb/tools/lldb-vscode/SourceBreakpoint.cpp
   20   if (!condition.empty())
   22   if (!hitCondition.empty())
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
  452   if (!sourceMapCommand.empty()) {
 2623     if (json.empty())
tools/lldb/unittests/Utility/StreamTest.cpp
  329   EXPECT_TRUE(!TakeValue().empty());
  339   EXPECT_TRUE(!TakeValue().empty());
tools/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp
  102   if (!O.ArgType.empty()) {
  111   if (!O.Validator.empty())
  117   if (!O.ArgEnum.empty())
  136   if (!O.ArgType.empty()) {
  143   if (!O.Description.empty()) {
tools/lli/lli.cpp
  238     if (!this->CacheDir.empty() &&
  249     if (!CacheDir.empty()) { // Create user-defined cache dir.
  423   if (!TargetTriple.empty())
  454     if (!ErrorMsg.empty())
  542   if (!FakeArgv0.empty()) {
  580     if (ChildExecPath.empty()) {
  757       TT.empty() ? ExitOnErr(orc::JITTargetMachineBuilder::detectHost())
  760   if (!MArch.empty())
tools/llvm-ar/llvm-ar.cpp
  148   if (ContextStr.empty())
  159     if (ContextStr.empty())
  278     if (!PositionalArgs.empty() || !Options.empty())
  746       if (RelPos.empty())
  758       if (RelPos.empty())
  763     if (RelPos.empty())
  827   if (!RelPos.empty() && InsertPos == -1)
  830   if (RelPos.empty())
 1047       if (!ArchiveName.empty())
 1138     } else if (Options.empty()) {
tools/llvm-as/llvm-as.cpp
   73   if (OutputFilename.empty()) {
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
   93   if (!BlockInfoFilename.empty())
  106       BA.analyze(O, CheckHash.empty() ? None : Optional<StringRef>(CheckHash)));
tools/llvm-cov/CodeCoverage.cpp
  658     if (!CovFilename.empty())
tools/llvm-cov/CoverageViewOptions.h
   54   bool hasOutputDirectory() const { return !ShowOutputDirectory.empty(); }
   60   bool hasProjectTitle() const { return !ProjectTitle.empty(); }
   63   bool hasCreatedTime() const { return !CreatedTimeStr.empty(); }
tools/llvm-cov/SourceCoverageViewHTML.cpp
   56   if (!ClassName.empty())
   64   std::string Name = TargetName.empty() ? "" : ("name='" + TargetName + "' ");
  267   if (PathToStyle.empty())
  546     if (!Snippets[0].empty())
tools/llvm-cov/gcov.cpp
   38   std::string GCNO = InputGCNO.empty()
   41   std::string GCDA = InputGCDA.empty()
tools/llvm-cxxmap/llvm-cxxmap.cpp
   49   if (!WhenceStr.empty())
   52   if (!Hint.empty())
   60   if (!WhenceStr.empty())
   63   if (!Hint.empty())
tools/llvm-dis/llvm-dis.cpp
  177   if (OutputFilename.empty()) { // Unspecified output, infer it.
tools/llvm-dwp/llvm-dwp.cpp
  490     if (DWOName.empty())
  494     if (!DWOCompDir.empty()) {
tools/llvm-exegesis/lib/Analysis.cpp
  220     if (!Point.Error.empty())
tools/llvm-exegesis/lib/BenchmarkResult.cpp
  343     if (!Context.getLastError().empty())
  363       if (!Context.getLastError().empty())
  380   if (!Context.getLastError().empty())
  392   if (!Context.getLastError().empty())
  416   if (Key.empty())
tools/llvm-exegesis/lib/Clustering.cpp
  101     if (!Point.Error.empty()) {
tools/llvm-exegesis/lib/LlvmState.cpp
   50                 CpuName.empty() ? sys::getHostCPUName().str() : CpuName, "") {}
tools/llvm-exegesis/lib/PerfHelper.cpp
   82 bool PerfEvent::valid() const { return !FullQualifiedEventString.empty(); }
tools/llvm-exegesis/llvm-exegesis.cpp
  169   const size_t NumSetFlags = (OpcodeNames.empty() ? 0 : 1) +
  171                              (SnippetsFile.empty() ? 0 : 1);
  176   if (!SnippetsFile.empty())
  285   if (BenchmarkFile.empty())
  301   if (OutputFilename.empty())
  317   if (BenchmarkFile.empty())
  320   if (AnalysisClustersOutputFile.empty() &&
  321       AnalysisInconsistenciesOutputFile.empty()) {
tools/llvm-ifs/llvm-ifs.cpp
  374       ForceFormat.empty() ? Stub.ObjectFileFormat : ForceFormat;
  417     if (Stub.Triple.empty()) {
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
  126   if (TargetTriple.empty()) {
tools/llvm-jitlink/llvm-jitlink.cpp
  388   if (!SlabAllocateSizeString.empty()) {
  536   if (EntryPointName.empty()) {
tools/llvm-link/llvm-link.cpp
  212   if (SummaryIndex.empty())
  301     if (!SummaryIndex.empty()) {
tools/llvm-lipo/llvm-lipo.cpp
  236     if (!ArchName.empty())
  396     if (C.OutputFile.empty())
  403     if (C.OutputFile.empty())
  419     if (C.OutputFile.empty())
tools/llvm-lto/llvm-lto.cpp
  275       if (!CurrentActivity.empty())
  421   assert(!OutputFilename.empty());
  433   assert(ThinLTOPrefixReplace.empty() ||
  447   if (OldPrefix.empty() && NewPrefix.empty())
  447   if (OldPrefix.empty() && NewPrefix.empty())
  477   if (ThinLTOIndex.empty())
  565     if (OutputFilename.empty())
  594     if (InputFilenames.size() != 1 && !OutputFilename.empty())
  617       if (OutputName.empty()) {
  631     if (InputFilenames.size() != 1 && !OutputFilename.empty())
  647       if (OutputName.empty()) {
  661     if (InputFilenames.size() != 1 && !OutputFilename.empty())
  677       if (OutputName.empty()) {
  689     if (InputFilenames.size() != 1 && !OutputFilename.empty())
  710       if (OutputName.empty()) {
  718     if (InputFilenames.size() != 1 && !OutputFilename.empty())
  743       if (OutputName.empty()) {
  751     if (InputFilenames.size() != 1 && !OutputFilename.empty())
  756     if (!ThinLTOIndex.empty())
  768       if (OutputName.empty()) {
  776     if (InputFilenames.size() != 1 && !OutputFilename.empty())
  781     if (!ThinLTOIndex.empty())
  797       if (OutputName.empty())
  813     if (!OutputFilename.empty())
  818     if (!ThinLTOIndex.empty())
  832     if (!ThinLTOSaveTempsPrefix.empty())
  835     if (!ThinLTOGeneratedObjectsDir.empty()) {
  994   if (!attrs.empty())
 1000   if (!OutputFilename.empty()) {
tools/llvm-lto2/llvm-lto2.cpp
  346   if (!CacheDir.empty())
tools/llvm-mc/llvm-mc.cpp
  194   if (TripleName.empty())
  388   if (!DwarfDebugFlags.empty())
  390   if (!DwarfDebugProducer.empty())
  392   if (!DebugCompilationDir.empty())
  404   if (!MainFileName.empty())
  425   if (!SplitDwarfFile.empty()) {
tools/llvm-mca/llvm-mca.cpp
  219   if (TripleName.empty())
tools/llvm-nm/llvm-nm.cpp
  777     if (!ArchitectureName.empty())
  779     if (OutputFormat == posix && !ArchiveName.empty())
  782       if (!ArchiveName.empty())
tools/llvm-objdump/MachODump.cpp
  203   if (TripleName.empty()) {
  220   if (TheTarget && ThumbTripleName.empty())
 2416             if (!ArchitectureName.empty())
 2530       if (!ArchitectureName.empty())
 7193   if (MCPU.empty() && McpuDefault)
 7344     if (!DSYMFile.empty()) {
 7464         if (!DisSymName.empty() && DisSymName == SymName)
 7468     if (!DisSymName.empty() && !DisSymNameFound) {
 7509         if (!DisSymName.empty() && DisSymName == SymName) {
 7520       if (!DisSymName.empty() && DisSymName == "__mh_execute_header") {
 7534       if (!DisSymName.empty() && DisSymName != SymName)
 7585       if (DisSymName.empty() && FirstSymbol && Start != 0) {
tools/llvm-objdump/llvm-objdump.cpp
  469   if (TripleName.empty()) {
  624       if (!ErrorMessage.empty())
 1735       Type += Type.empty() ? "DATA" : " DATA";
 1737       Type += Type.empty() ? "BSS" : " BSS";
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
  208   if (TargetTripleStr.empty()) {
  231   if (PassPipeline.empty()) {
tools/llvm-opt-report/OptReport.cpp
  257     if (!InputRelDir.empty())
tools/llvm-pdbutil/MinimalTypeDumper.cpp
  187   if (!Access.empty())
  189   if (!Kind.empty())
tools/llvm-pdbutil/PrettyCompilandDumper.cpp
  209   if (!Name.empty())
tools/llvm-pdbutil/llvm-pdbutil.cpp
  932   return (Str.empty()) ? IfEmpty : Str;
 1507     if (opts::yaml2pdb::YamlPdbOutputFile.empty()) {
tools/llvm-profdata/llvm-profdata.cpp
   49   if (!Whence.empty())
   52   if (!Hint.empty())
   59   if (!Whence.empty())
   62   if (!Hint.empty())
  681   if (!RemappingFile.empty())
  862         ShowAllFunctions || (!ShowFunction.empty() &&
  956   if (ShowAllFunctions || !ShowFunction.empty())
 1036   if (ShowAllFunctions || ShowFunction.empty())
 1110   if (OutputFilename.empty())
 1124   if (ShowAllFunctions && !ShowFunction.empty())
tools/llvm-readobj/ELFDumper.cpp
  522         if (!Str.empty())
  815   if (SymbolName.empty() && Symbol->getType() == ELF::STT_SECTION) {
 2797   if (!ElfFlags.empty())
 3623   if (!Sections.empty()) {
 3821         if (!VersionName.empty())
 3842     if (!Ret.empty())
 4638       if (!N.Type.empty())
 4642       if (!N.Type.empty())
 5330     W.printNumber("Symbol", !TargetName.empty() ? TargetName : "-",
 5336        << (!TargetName.empty() ? TargetName : "-") << " " << W.hex(Rel.r_addend)
 5575     W.printString("Symbol", !SymbolName.empty() ? SymbolName : "-");
 5580        << (!SymbolName.empty() ? SymbolName : "-") << " " << W.hex(Rel.r_addend)
 5884       if (!N.Type.empty())
 5888       if (!N.Type.empty())
tools/llvm-reduce/llvm-reduce.cpp
   99       else if (OutputFilename.empty())
tools/llvm-stress/llvm-stress.cpp
  751   if (OutputFilename.empty())
tools/llvm-symbolizer/llvm-symbolizer.cpp
  195   if (ClBinaryName.empty()) {
tools/llvm-undname/llvm-undname.cpp
   82   if (!RawFile.empty()) {
tools/llvm-xray/xray-account.cpp
  412   if (!AccountInstrMap.empty()) {
tools/llvm-xray/xray-converter.cpp
  371   if (!ConvertInstrMap.empty()) {
tools/llvm-xray/xray-graph.cpp
  426   if (!GraphInstrMap.empty()) {
tools/llvm-xray/xray-stacks.cpp
  693   if (!StacksInstrMap.empty()) {
tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp
   43   if (!Input.empty() && llvm::yaml::isNumeric(Input) != isNumericRegex(Input))
tools/obj2yaml/elf2yaml.cpp
   98   if (!SectionNames[SecIndex].empty())
  135     if (!SymbolNames[Index].empty())
tools/opt/BreakpointPrinter.cpp
   54         if (!Name.empty() && Processed.insert(Name).second) {
tools/opt/NewPMDriver.cpp
  120   if (PipelineOpt.empty())
  246         if (CSProfileGenFile.empty())
tools/opt/opt.cpp
  589   if (!TargetTriple.empty())
  605     if (!OutputFilename.empty())
  610     if (OutputFilename.empty())
  622     if (!ThinLinkBitcodeFile.empty()) {
  720       if (OutputFilename.empty())
  924   if (DebugifyEach && !DebugifyExport.empty())
tools/polly/lib/Analysis/ScopBuilder.cpp
 2816   if (UserContextStr.empty())
tools/polly/lib/Analysis/ScopDetection.cpp
  299   if (FileName.empty()) {
tools/polly/lib/Support/ScopLocation.cpp
   34       if (FileName.empty())
tools/sancov/sancov.cpp
  207   if (E.str().empty())
  454   if (ClStripPathPrefix.empty())
  510     if (ClBlacklist.empty())
 1076         if (FirstObjFile.empty())
tools/yaml2obj/yaml2obj.cpp
   45   if (OutputFilename.empty())
unittests/Analysis/ScalarEvolutionTest.cpp
  747   if (!DataLayout.empty())
  822   if (!DataLayout.empty())
  920   if (!DataLayout.empty())
 1148   if (!DataLayout.empty())
unittests/Support/CommandLineTest.cpp
  485   EXPECT_FALSE(Errs.empty());
  523   EXPECT_TRUE(Errs.empty());
  564   EXPECT_TRUE(Errs.empty());
  571   EXPECT_FALSE(Errs.empty());
  706   EXPECT_TRUE(SC2_Foo.empty());
  716   EXPECT_TRUE(SC2_Foo.empty());
 1070   EXPECT_FALSE(Errs.empty()); Errs.clear();
 1072   EXPECT_FALSE(Errs.empty()); Errs.clear();
 1074   EXPECT_TRUE(Errs.empty()); Errs.clear();
 1080   EXPECT_TRUE(Errs.empty());
 1446   EXPECT_TRUE(OptO.empty());
 1609   EXPECT_TRUE(Errs.empty()); Errs.clear();
 1617   EXPECT_TRUE(Errs.empty()); Errs.clear();
 1625   EXPECT_FALSE(Errs.empty()); Errs.clear();
 1637   EXPECT_FALSE(Errs.empty()); Errs.clear();
 1643   EXPECT_TRUE(Errs.empty()); Errs.clear();
 1653   EXPECT_TRUE(Errs.empty()); Errs.clear();
unittests/Support/ConvertUTFTest.cpp
   62   EXPECT_TRUE(Result.empty());
unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp
   67     EXPECT_TRUE(Err.empty());
   79     EXPECT_TRUE(Err.empty());
  120     EXPECT_TRUE(Err.empty());
  136     EXPECT_TRUE(Err.empty());
unittests/Support/DynamicLibrary/PipSqueak.cpp
   30     if (Glb.Str && !Glb.Str->empty())
unittests/Support/Path.cpp
  322   if (!expected.empty()) {
unittests/Support/ProgramTest.cpp
  222     ASSERT_TRUE(Error.empty());
  239     ASSERT_TRUE(Error.empty());
  283     ASSERT_FALSE(Error.empty());
  294     ASSERT_FALSE(Error.empty());
unittests/Support/VirtualFileSystemTest.cpp
  623     ASSERT_FALSE(Name.empty());
  698       ASSERT_FALSE(Name.empty());
unittests/Support/YAMLIOTest.cpp
 1150     EXPECT_TRUE(map2.warningLabels.str.empty());
 1151     EXPECT_TRUE(map2.documentation.str.empty());
usr/include/c++/7.4.0/bits/locale_facets_nonio.tcc
  276 		if (__res.empty())
usr/include/c++/7.4.0/bits/regex_compiler.h
  469 	if (__st.empty())
  482 	if (__st.empty())
utils/FileCheck/FileCheck.cpp
  494       if (!Note.empty()) {
  523   if (CheckFilename.empty()) {
utils/TableGen/AsmMatcherEmitter.cpp
  958       DepMask ? !DepMask->getValue()->getAsUnquotedString().empty() : false;
 1053   if (AsmString.empty())
 1304     if (CI->ValueName.empty()) {
 1321     if (!CI->DiagnosticString.empty() && CI->DiagnosticType.empty())
 1321     if (!CI->DiagnosticString.empty() && CI->DiagnosticType.empty())
 1337     if (CI->ValueName.empty()) {
 1411     if (!CI->DiagnosticString.empty() && CI->DiagnosticType.empty())
 1411     if (!CI->DiagnosticString.empty() && CI->DiagnosticType.empty())
 1453       if (Op.Class->ParserMethod.empty())
 1781     if (OpInfo.Name.empty() || SrcOperand == -1) {
 2374       if (!CI.ValueName.empty())
 2395           [](const ClassInfo &CI) { return CI.DiagnosticString.empty(); }))
 2404     if (!CI.DiagnosticString.empty()) {
 2405       assert(!CI.DiagnosticType.empty() &&
 2424         return CI.isRegisterClass() && !CI.DiagnosticType.empty();
 2430       if (CI.isRegisterClass() && !CI.DiagnosticType.empty()) {
 2478     if (!CI.DiagnosticType.empty()) {
 2656     if (!OpClassEntry.second->DiagnosticType.empty())
 2660     if (!OpClassEntry.second->DiagnosticType.empty())
 2755       if (FeatureMask.empty()) {
 2769       if (!MatchCode.empty())
 2779       if (!MatchCode.empty())
 2798   if (!MatchPrefix.empty())
 2920     if (CI.ParserMethod.empty())
utils/TableGen/AsmWriterEmitter.cpp
  240     if (!Instrs.empty())
  298         !AWI.Operands[0].Str.empty()) {
  311         AWI.Operands[0].Str.empty()) {
  511       if (AsmName.empty())
 1024   if (CasesO.str().empty()) {
 1144     if (!I->AsmString.empty() && I->TheDef->getName() != "PHI")
utils/TableGen/AsmWriterInst.cpp
   44   if (!MiModifier.empty())
  155           if (Modifier.empty())
  168       if (VarName.empty() && Modifier.empty())
utils/TableGen/CodeEmitterGen.cpp
  143   if (!EncoderMethodName.empty()) {
utils/TableGen/CodeGenDAGPatterns.cpp
 1087   if (PredicateCode.empty() && !Code.empty())
 1087   if (PredicateCode.empty() && !Code.empty())
 1252   if (!ImmCode.empty()) {
 1400     if (!P.getCondString().empty())
 1845   if (!getName().empty())
 2691   if (!N->getName().empty())
 2850       if (Child->getName().empty())
 2873     assert(Result->getName().empty());
 2894       N->getName().empty()) {
 3160     if (!getSDNodeTransform(Transform).second.empty())    // not noop xform?
 3240   if (Pat->getName().empty()) {
 3301   if (!Pat->getName().empty()) {
 3378       if (Dest->getName().empty())
 3700     if (OpName.empty())
 3844   if (!P->getName().empty()) {
 4440   if (!N->getName().empty() || !N->getPredicateCalls().empty() ||
utils/TableGen/CodeGenDAGPatterns.h
  514     assert(!Result.empty() && "Isn't an immediate pattern!");
  681   bool hasName() const { return !Name.empty(); }
 1079     if (C.empty())
utils/TableGen/CodeGenInstruction.cpp
  175   if (Op.empty() || Op[0] != '$')
  186     if (SubOpName.empty())
  195   if (SubOpName.empty()) {  // If no suboperand name was specified:
  198         SubOpName.empty())
  323   if (CStr.empty()) return;
  344     if (OpName.empty()) break;
utils/TableGen/CodeGenMapTable.cpp
  349           if (!KeyValueStr.empty())
utils/TableGen/CodeGenRegisters.cpp
   70   if (!N.empty())
utils/TableGen/CodeGenSchedule.cpp
  982     if (!Name.empty())
utils/TableGen/CodeGenTarget.cpp
  210   if (Namespace.empty()) return R->getName();
  650   if (!TargetPrefix.empty()) {
utils/TableGen/DAGISelMatcherGen.cpp
  266     if (N->getName().empty()) {
  478       if (!WhatFor.empty())
  517   if (!N->getName().empty())
  579   if (!Pattern.getPredicateCheck().empty())
  638   assert(!N->getName().empty() && "Operand not named!");
  996   if (!N->getName().empty())
utils/TableGen/DFAEmitter.cpp
  182     else if (!S.empty())
utils/TableGen/FastISelEmitter.cpp
  551         if (PhysReg.empty()) {
  646     if (PredicateCheck.empty()) {
  669     if (Memo.SubRegNo.empty()) {
  683     if (!PredicateCheck.empty()) {
utils/TableGen/FixedLenDecoderEmitter.cpp
 1145     if (Op.numFields() == 0 && !Op.Decoder.empty()) {
 1777     if (!Decoder.empty())
utils/TableGen/GlobalISelEmitter.cpp
 1497   bool hasSymbolicName() const { return !SymbolicName.empty(); }
 1500     assert(SymbolicName.empty() && "Operand already has a symbolic name");
 1534       if (SymbolicName.empty())
 2076     if (!SymbolicName.empty())
 2094     assert(SymbolicName.empty());
 3455     if (!P.Def || P.getCondString().empty())
 3841         if (!SubOperand->getName().empty()) {
 4998   if (!UseCoverageFile.empty()) {
utils/TableGen/InstrDocsEmitter.cpp
   81     if (!II->AsmString.empty()) {
utils/TableGen/InstrInfoEmitter.cpp
  169       assert(!Op.OperandType.empty() && "Invalid operand type.");
  747   else if (!Inst.DeprecatedReason.empty())
utils/TableGen/IntrinsicEmitter.cpp
  859     if (!BuiltinName.empty()) {
  890     if (!TargetPrefix.empty())
  918     if (!I->first.empty())
  940   if (!TargetPrefix.empty())
utils/TableGen/RegisterInfoEmitter.cpp
  174     if (!Namespace.empty())
  181     if (!Namespace.empty())
utils/benchmark/src/benchmark.cc
  496   if (spec.empty() || spec == "all")
  512   if (fname.empty() && file_reporter) {
  518   if (!fname.empty()) {
  606   if (FLAGS_benchmark_color.empty()) {
utils/benchmark/src/benchmark_register.cc
  179             if (!arg_name.empty()) {
utils/benchmark/src/commandlineflags.cc
  213   if (value.empty()) return true;
utils/benchmark/src/console_reporter.cc
  167   if (!rate.empty()) {
  171   if (!items.empty()) {
  175   if (!result.report_label.empty()) {
utils/benchmark/src/csv_reporter.cc
  128   if (!run.report_label.empty()) {
utils/benchmark/src/json_reporter.cc
  199   if (!run.report_label.empty()) {
utils/benchmark/src/sysinfo.cc
  237   if (!Val.empty()) {
  402     if (ln.empty()) continue;
  408       if (!value.empty()) {
  473     if (ln.empty()) continue;
  481       if (!value.empty()) {
  486       if (!value.empty()) {
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 3237         if (!s.empty()) {
utils/unittest/googlemock/src/gmock-internal-utils.cc
  148   if (message.empty() || message[0] != '\n') {
  163     if (!message.empty() && *message.rbegin() != '\n') {
utils/unittest/googletest/include/gtest/gtest-test-part.h
   77     return file_name_.empty() ? NULL : file_name_.c_str();
utils/unittest/googletest/include/gtest/internal/gtest-filepath.h
  111   bool IsEmpty() const { return pathname_.empty(); }
utils/unittest/googletest/include/gtest/internal/gtest-param-util.h
  560         if ( !instantiation_name.empty() )
  642     if (name.empty())
utils/unittest/googletest/src/gtest-death-test.cc
  143     return !GTEST_FLAG(internal_run_death_test).empty();
utils/unittest/googletest/src/gtest-filepath.cc
  301   return !pathname_.empty() &&
utils/unittest/googletest/src/gtest-internal-inl.h
  971   if (str.empty() || !IsDigit(str[0])) {
utils/unittest/googletest/src/gtest.cc
  518     if (positive.empty()) {
 1331   if (!lhs_value.empty() && !rhs_value.empty()) {
 1331   if (!lhs_value.empty() && !rhs_value.empty()) {
 2005   if (user_msg_string.empty()) {
 3424   if (output_file_.c_str() == NULL || output_file_.empty()) {
 4129   if (os_stack_trace.c_str() != NULL && !os_stack_trace.empty()) {
 4417   if (!target.empty()) {
 5267     if (lines[i].empty())