Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp970 unsigned EndColNo = in highlightRange() local
972 while (EndColNo && (Map.getSourceLine()[EndColNo - 1] == ' ' || in highlightRange()
973 Map.getSourceLine()[EndColNo - 1] == '\t')) in highlightRange()
974 EndColNo = Map.startOfPreviousColumn(EndColNo); in highlightRange()
979 if (StartColNo > EndColNo) in highlightRange()
984 EndColNo = Map.byteToContainingColumn(EndColNo); in highlightRange()
986 assert(StartColNo <= EndColNo && "Invalid range!"); in highlightRange()
987 if (CaretLine.size() < EndColNo) in highlightRange()
988 CaretLine.resize(EndColNo, ' '); in highlightRange()
989 std::fill(CaretLine.begin() + StartColNo, CaretLine.begin() + EndColNo, '~'); in highlightRange()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1266 unsigned EndColNo = SM.getExpansionColumnNumber(InstantiationEnd); in HighlightRange() local
1267 unsigned OldEndColNo = EndColNo; in HighlightRange()
1269 if (EndColNo) { in HighlightRange()
1271 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
1278 InstantiationEnd.getLocWithOffset(EndColNo - OldEndColNo); in HighlightRange()