reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Testing/Support/Annotations.h
   69   size_t point(llvm::StringRef Name = "") const;

References

tools/clang/tools/extra/clangd/unittests/Annotations.cpp
   16   return offsetToPosition(code(), Base::point(Name));
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp
  616             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.cpp
   30   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"),