Lines Matching refs:isValid
64 if (Hint.InsertFromRange.isValid()) in mergeFixits()
96 if (!Loc.isValid()) in emitDiagnostic()
111 if (Hint.RemoveRange.isValid()) in emitDiagnostic()
131 if (UnexpandedLoc.isValid() && UnexpandedLoc.isMacroID()) { in emitDiagnostic()
179 if (IncludeLoc.isValid()) in emitIncludeStack()
289 if (MacroLocation.isValid()) { in retrieveMacroLocation()
295 if (MacroLocation.isValid()) { in retrieveMacroLocation()
498 llvm::count_if(Ranges, [](const auto &R) { return R.isValid(); }); in checkRangesForMacroArgExpansion()
533 assert(Loc.isValid() && "must have a valid source location here"); in emitMacroExpansions()
558 assert(L.isValid() && "must have a valid source location here"); in emitMacroExpansions()
613 if (PLoc.isValid()) in emitImportLocation()
626 if (PLoc.isValid()) in emitBuildingModuleLocation()