Home
last modified time | relevance | path

Searched refs:LineCol (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DConfigTesting.h74 auto LineCol = SM.getLineAndColumn(L); in toPosition() local
76 P.line = LineCol.first - 1; in toPosition()
77 P.character = LineCol.second - 1; in toPosition()
/llvm-project-15.0.7/clang/unittests/Basic/
H A DSarifTest.cpp32 using LineCol = std::pair<unsigned int, unsigned int>; typedef
73 CharSourceRange getFakeCharSourceRange(FileID FID, LineCol Begin, in getFakeCharSourceRange()
74 LineCol End) { in getFakeCharSourceRange()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBTF.h246 uint32_t LineCol; ///< Line num: line_col >> 10, member
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DConfigCompile.cpp607 std::pair<unsigned, unsigned> LineCol = {0, 0}; in compile() local
610 LineCol = SM->getLineAndColumn(Source.Location, BufID); in compile()
617 LineCol.first, Result.get(), Source.Trusted); in compile()
H A DPreamble.cpp680 auto LineCol = offsetToClangLineColumn(Modified.Contents, Inc.HashOffset); in create() local
681 Patch << llvm::formatv("#line {0}\n", LineCol.first); in create()
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dc-index-test.c732 } LineCol; typedef
735 const LineCol *lhs = p1; in lineCol_cmp()
736 const LineCol *rhs = p2; in lineCol_cmp()
1037 LineCol lineCols[50]; in PrintCursor()
1047 qsort(lineCols, num_overridden, sizeof(LineCol), lineCol_cmp); in PrintCursor()