Lines Matching refs:fileLoc
391 if (FileLineColLoc fileLoc = loc.dyn_cast<FileLineColLoc>()) { in getFileLineColLoc() local
392 firstFileLoc = fileLoc; in getFileLineColLoc()
452 auto fileLoc = getFileLineColLoc(loc); in emitDiagnostic() local
455 if (!fileLoc) { in emitDiagnostic()
467 auto smloc = convertLocToSMLoc(*fileLoc); in emitDiagnostic()
477 locOS << fileLoc->getFilename().getValue() << ":" << fileLoc->getLine() << ":" in emitDiagnostic()
478 << fileLoc->getColumn(); in emitDiagnostic()
594 ExpectedDiag(DiagnosticSeverity kind, unsigned lineNo, SMLoc fileLoc, in ExpectedDiag()
596 : kind(kind), lineNo(lineNo), fileLoc(fileLoc), substring(substring) {} in ExpectedDiag()
601 SMRange range(fileLoc, SMLoc::getFromPointer(fileLoc.getPointer() + in emitError()
603 mgr.PrintMessage(os, fileLoc, llvm::SourceMgr::DK_Error, msg, range); in emitError()
655 SMLoc fileLoc; member
851 if (auto fileLoc = getFileLineColLoc(diag.getLocation())) in process() local
852 return process(*fileLoc, diag.str(), kind); in process()
892 mgr.PrintMessage(os, nearMiss->fileLoc, llvm::SourceMgr::DK_Error, in process()