|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/tools/extra/clangd/SourceCode.h 50 size_t lspLength(StringRef Code);
References
tools/clang/tools/extra/clangd/CodeComplete.cpp 919 unsigned ParamStartOffset = lspLength(Signature.label);
920 unsigned ParamEndOffset = ParamStartOffset + lspLength(ChunkText);
tools/clang/tools/extra/clangd/DraftStore.cpp 87 lspLength(Contents.substr(*StartIndex, *EndIndex - *StartIndex));
tools/clang/tools/extra/clangd/SourceCode.cpp 195 Pos.character = lspLength(Before.substr(StartOfLine));
211 P.character = lspLength(LineSoFar);
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp 1057 P.Offsets.first = lspLength(llvm::StringRef(Label).substr(0, Range.Begin));
1058 P.Offsets.second = lspLength(llvm::StringRef(Label).substr(1, Range.End));
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp 54 EXPECT_EQ(lspLength(""), 0UL);
55 EXPECT_EQ(lspLength("ascii"), 5UL);
57 EXPECT_EQ(lspLength("↓"), 1UL);
58 EXPECT_EQ(lspLength("¥"), 1UL);
60 EXPECT_EQ(lspLength("😂"), 2UL);
63 EXPECT_EQ(lspLength(""), 0UL);
64 EXPECT_EQ(lspLength("ascii"), 5UL);
66 EXPECT_EQ(lspLength("↓"), 3UL);
67 EXPECT_EQ(lspLength("¥"), 2UL);
69 EXPECT_EQ(lspLength("😂"), 4UL);
72 EXPECT_EQ(lspLength(""), 0UL);
73 EXPECT_EQ(lspLength("ascii"), 5UL);
75 EXPECT_EQ(lspLength("↓"), 1UL);
76 EXPECT_EQ(lspLength("¥"), 1UL);
78 EXPECT_EQ(lspLength("😂"), 1UL);