reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
69 size_t point(llvm::StringRef Name = "") const;
16 return offsetToPosition(code(), Base::point(Name));
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp616 Test.llvm::Annotations::point("foo")); 619 Test.llvm::Annotations::point("bar"));tools/clang/unittests/Sema/CodeCompleteTest.cpp
113 return runCompletion(A.code(), A.point());
unittests/Support/AnnotationsTest.cpp30 EXPECT_EQ(llvm::Annotations("^ab").point(), 0u); 31 EXPECT_EQ(llvm::Annotations("a^b").point(), 1u); 32 EXPECT_EQ(llvm::Annotations("ab^").point(), 2u); 73 EXPECT_EQ(llvm::Annotations("a$foo^b").point("foo"), 1u); 77 EXPECT_EQ(llvm::Annotations("a$^b").point(""), 1u); 84 EXPECT_EQ(Annotated.point("p2"), 4u); 91 EXPECT_DEATH(llvm::Annotations("ab[[c]]def").point(), 93 EXPECT_DEATH(llvm::Annotations("a^b^cdef").point(), 101 EXPECT_DEATH(llvm::Annotations("$foo^a$foo^a").point("foo"),