• Home
  • Raw
  • Download

Lines Matching refs:Rel

66   using Rel = DeclRelation;  typedef in clang::clangd::__anon925c2fef0111::TargetDeclTest
195 EXPECT_DECLS("DeclRefExpr", {"using foo::f", Rel::Alias}, {"int f(int)"}); in TEST_F()
205 EXPECT_DECLS("UsingDecl", {"using foo::f", Rel::Alias}, {"int f(int)"}, in TEST_F()
217 EXPECT_DECLS("MemberExpr", {"using X::foo", Rel::Alias}, {"int foo()"}); in TEST_F()
229 EXPECT_DECLS("UnresolvedUsingValueDecl", {"using Base<T>::waldo", Rel::Alias}, in TEST_F()
285 EXPECT_DECLS("NestedNameSpecifierLoc", {"namespace b = a", Rel::Alias}, in TEST_F()
286 {"namespace a", Rel::Underlying}); in TEST_F()
301 EXPECT_DECLS("TypedefTypeLoc", {"typedef S X", Rel::Alias}, in TEST_F()
302 {"struct S", Rel::Underlying}); in TEST_F()
308 EXPECT_DECLS("TypedefTypeLoc", {"typedef ns::S X", Rel::Alias}, in TEST_F()
309 {"struct S", Rel::Underlying}); in TEST_F()
336 EXPECT_DECLS("DecltypeTypeLoc", {"struct S", Rel::Underlying}); in TEST_F()
369 {"template<> class Foo<42>", Rel::TemplateInstantiation}, in TEST_F()
370 {"class Foo", Rel::TemplatePattern}); in TEST_F()
379 {"class Foo", Rel::TemplatePattern}, in TEST_F()
380 {"template<> class Foo<int>", Rel::TemplateInstantiation}); in TEST_F()
397 {"template<> class Foo<int *>", Rel::TemplateInstantiation}, in TEST_F()
398 {"template <typename T> class Foo<T *>", Rel::TemplatePattern}); in TEST_F()
422 {"struct Test", Rel::TemplatePattern}); in TEST_F()
497 {"template<> bool foo<int>(int)", Rel::TemplateInstantiation}, in TEST_F()
498 {"bool foo(T)", Rel::TemplatePattern}); in TEST_F()
516 EXPECT_DECLS("DeclRefExpr", {"int foo", Rel::TemplateInstantiation}, in TEST_F()
517 {"int foo", Rel::TemplatePattern}); in TEST_F()
533 EXPECT_DECLS("DeclRefExpr", {"bool foo", Rel::TemplateInstantiation}, in TEST_F()
534 {"bool foo", Rel::TemplatePattern}); in TEST_F()
545 Rel::TemplateInstantiation | Rel::Underlying}, in TEST_F()
546 {"class SmallVector", Rel::TemplatePattern | Rel::Underlying}, in TEST_F()
548 Rel::Alias | Rel::TemplatePattern}); in TEST_F()
558 EXPECT_DECLS("MemberExpr", {"int x(int)", Rel::TemplateInstantiation}, in TEST_F()
559 {"int x(T)", Rel::TemplatePattern}); in TEST_F()
569 {"template<> int x<int>(char, int)", Rel::TemplateInstantiation}, in TEST_F()
570 {"int x(T, U)", Rel::TemplatePattern}); in TEST_F()