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.cpp977 unsigned EndColNo = in highlightRange() local
979 while (EndColNo && (Map.getSourceLine()[EndColNo - 1] == ' ' || in highlightRange()
980 Map.getSourceLine()[EndColNo - 1] == '\t')) in highlightRange()
981 EndColNo = Map.startOfPreviousColumn(EndColNo); in highlightRange()
986 if (StartColNo > EndColNo) in highlightRange()
991 EndColNo = Map.byteToContainingColumn(EndColNo); in highlightRange()
993 assert(StartColNo <= EndColNo && "Invalid range!"); in highlightRange()
994 if (CaretLine.size() < EndColNo) in highlightRange()
995 CaretLine.resize(EndColNo, ' '); in highlightRange()
996 std::fill(CaretLine.begin() + StartColNo, CaretLine.begin() + EndColNo, '~'); in highlightRange()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1263 unsigned EndColNo = SM.getExpansionColumnNumber(InstantiationEnd); in HighlightRange() local
1264 unsigned OldEndColNo = EndColNo; in HighlightRange()
1266 if (EndColNo) { in HighlightRange()
1268 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
1275 InstantiationEnd.getLocWithOffset(EndColNo - OldEndColNo); in HighlightRange()