Lines Matching refs:Annotations
50 std::unique_ptr<RefSlab> buildRefSlab(const Annotations &Code, in buildRefSlab()
79 std::string expectedResult(Annotations Test, llvm::StringRef NewName) { in expectedResult()
83 for (const auto &R : Test.llvm::Annotations::ranges()) { in expectedResult()
830 Annotations Code(T); in TEST()
1031 Annotations T(Case.Code); in TEST()
1074 Annotations Code(Test); in TEST()
1093 Annotations Code("Prot^obuf buf;"); in TEST()
1108 Annotations FooH("void func();"); in TEST()
1109 Annotations FooCC(R"cpp( in TEST()
1157 Annotations FooCode("class [[Foo]] {};"); in TEST()
1159 Annotations FooDirtyBuffer("class [[Foo]] {};\n// this is dirty buffer"); in TEST()
1160 Annotations BarCode("void [[Bar]]() {}"); in TEST()
1171 Annotations MainCode("class [[Fo^o]] {};"); in TEST()
1201 MainCode = Annotations("void [[Bar]]() { [[B^ar]](); }"); in TEST()
1255 auto MainCode = Annotations("int [[^x]] = 2;"); in TEST()
1257 auto BarCode = Annotations("int [[x]];"); in TEST()
1475 Annotations FooH(T.FooH); in TEST()
1476 Annotations FooCC(T.FooCC); in TEST()
1511 Annotations Code("void f(int [[abc]]) { [[a^bc]] = 3; }"); in TEST()
1524 Annotations Code("[[]]"); in TEST()
1542 Annotations T(R"cpp( in TEST()
1603 Annotations Draft(T.DraftCode); in TEST()
1605 Draft.code(), "x", Annotations(T.IndexedCode).ranges(), LangOpts); in TEST()
1718 auto Lexed = Annotations(T.LexedCode); in TEST()
1730 getMappedRanges(Annotations(T.IndexedCode).ranges(), LexedRanges); in TEST()
1838 Annotations C(T.RangeCode); in TEST()