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

References

unittests/Support/AnnotationsTest.cpp
   47   EXPECT_EQ(llvm::Annotations("[[a]]bc").range(), range(0, 1));
   48   EXPECT_EQ(llvm::Annotations("a[[bc]]d").range(), range(1, 3));
   49   EXPECT_EQ(llvm::Annotations("ab[[cd]]").range(), range(2, 4));
   52   EXPECT_EQ(llvm::Annotations("[[]]ab").range(), range(0, 0));
   53   EXPECT_EQ(llvm::Annotations("a[[]]b").range(), range(1, 1));
   54   EXPECT_EQ(llvm::Annotations("ab[[]]").range(), range(2, 2));
   58               ElementsAre(range(0, 1), range(1, 2), range(4, 6)));
   58               ElementsAre(range(0, 1), range(1, 2), range(4, 6)));
   58               ElementsAre(range(0, 1), range(1, 2), range(4, 6)));
   68               ElementsAre(range(8, 9), range(7, 10), range(1, 10)));
   68               ElementsAre(range(8, 9), range(7, 10), range(1, 10)));
   68               ElementsAre(range(8, 9), range(7, 10), range(1, 10)));
   74   EXPECT_EQ(llvm::Annotations("a$foo[[b]]cdef").range("foo"), range(1, 2));
   78   EXPECT_EQ(llvm::Annotations("a$[[b]]cdef").range(""), range(1, 2));