Lines Matching refs:DiagnosticLoc
163 StandardDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in StandardDirective() argument
166 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max) { } in StandardDirective()
182 RegexDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in RegexDirective() argument
185 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max), in RegexDirective()
652 OS << "\n File " << SourceMgr.getFilename(D.DiagnosticLoc); in PrintExpected()
656 OS << " Line " << SourceMgr.getPresumedLineNumber(D.DiagnosticLoc); in PrintExpected()
657 if (D.DirectiveLoc != D.DiagnosticLoc) in PrintExpected()
671 SourceLocation DiagnosticLoc) { in IsFromSameFile() argument
672 while (DiagnosticLoc.isMacroID()) in IsFromSameFile()
673 DiagnosticLoc = SM.getImmediateMacroCallerLoc(DiagnosticLoc); in IsFromSameFile()
675 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
678 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile()
699 unsigned LineNo1 = SourceMgr.getPresumedLineNumber(D.DiagnosticLoc); in CheckLists()
710 if (!IsFromSameFile(SourceMgr, D.DiagnosticLoc, II->first)) in CheckLists()
889 SourceLocation DiagnosticLoc, in create() argument
893 return llvm::make_unique<StandardDirective>(DirectiveLoc, DiagnosticLoc, in create()
920 DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max, RegexStr); in create()