Home
last modified time | relevance | path

Searched refs:EndColNo (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp979 unsigned EndColNo = in highlightRange() local
981 while (EndColNo && (Map.getSourceLine()[EndColNo - 1] == ' ' || in highlightRange()
982 Map.getSourceLine()[EndColNo - 1] == '\t')) in highlightRange()
983 EndColNo = Map.startOfPreviousColumn(EndColNo); in highlightRange()
988 if (StartColNo > EndColNo) in highlightRange()
993 EndColNo = Map.byteToContainingColumn(EndColNo); in highlightRange()
995 assert(StartColNo <= EndColNo && "Invalid range!"); in highlightRange()
996 if (CaretLine.size() < EndColNo) in highlightRange()
997 CaretLine.resize(EndColNo, ' '); in highlightRange()
998 std::fill(CaretLine.begin() + StartColNo, CaretLine.begin() + EndColNo, '~'); in highlightRange()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1264 unsigned EndColNo = SM.getExpansionColumnNumber(InstantiationEnd); in HighlightRange() local
1265 unsigned OldEndColNo = EndColNo; in HighlightRange()
1267 if (EndColNo) { in HighlightRange()
1269 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
1276 InstantiationEnd.getLocWithOffset(EndColNo - OldEndColNo); in HighlightRange()