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

References

tools/clang/tools/extra/clangd/unittests/FindTargetTests.cpp
  110   EXPECT_DECLS("DeclRefExpr", "int f()");
  116   EXPECT_DECLS("DeclRefExpr", "S operator+(S) const");
  129   EXPECT_DECLS("DeclRefExpr", {"using foo::f", Rel::Alias},
  140   EXPECT_DECLS("UsingDecl", {"using foo::f", Rel::Alias},
  153   EXPECT_DECLS("MemberExpr", {"using X::foo", Rel::Alias},
  164   EXPECT_DECLS("CXXCtorInitializer", "int a");
  172   EXPECT_DECLS("RecordTypeLoc", "struct X");
  182   EXPECT_DECLS("DesignatedInitExpr", "int a");
  190   EXPECT_DECLS("NestedNameSpecifierLoc", "namespace b");
  196   EXPECT_DECLS("NestedNameSpecifierLoc", "struct X");
  203   EXPECT_DECLS("NestedNameSpecifierLoc", "");
  210   EXPECT_DECLS("NestedNameSpecifierLoc", {"namespace b = a", Rel::Alias},
  219   EXPECT_DECLS("RecordTypeLoc", "struct X");
  226   EXPECT_DECLS("TypedefTypeLoc", {"typedef S X", Rel::Alias},
  237   EXPECT_DECLS("TemplateTypeParmTypeLoc", "");
  247   EXPECT_DECLS("TemplateSpecializationTypeLoc", "template <typename> class T");
  255   EXPECT_DECLS("DecltypeTypeLoc", {"struct S", Rel::Underlying});
  262   EXPECT_DECLS("AutoTypeLoc");
  271   EXPECT_DECLS("TemplateSpecializationTypeLoc",
  281   EXPECT_DECLS("TemplateSpecializationTypeLoc", "template<> class Foo<42>");
  289   EXPECT_DECLS("TemplateSpecializationTypeLoc",
  301   EXPECT_DECLS("DeclRefExpr",
  311   EXPECT_DECLS("DeclRefExpr", "template<> bool foo<int>(int)");
  321   EXPECT_DECLS("DeclRefExpr", {"int foo", Rel::TemplateInstantiation},
  330   EXPECT_DECLS("DeclRefExpr", "bool foo");
  338   EXPECT_DECLS("DeclRefExpr", {"bool foo", Rel::TemplateInstantiation},
  348   EXPECT_DECLS("TemplateSpecializationTypeLoc",
  363   EXPECT_DECLS("MemberExpr", {"int x(int)", Rel::TemplateInstantiation},
  373   EXPECT_DECLS("MemberExpr",
  384   EXPECT_DECLS("DeclRefExpr", "int x = 42");
  393   EXPECT_DECLS("DeclRefExpr", "int x = 42");
  401   EXPECT_DECLS("DeclRefExpr", "auto int x = 1");
  418   EXPECT_DECLS("UnresolvedLookupExpr", "void func(int *)", "void func(char *)");
  431   EXPECT_DECLS("UnresolvedMemberExpr", "void func(int *)", "void func(char *)");
  444   EXPECT_DECLS("ObjCMessageExpr", "- (void)bar");
  453   EXPECT_DECLS("ObjCIvarRefExpr", "int bar");
  464   EXPECT_DECLS("ObjCPropertyRefExpr", "- (void)setX:(int)x");
  474   EXPECT_DECLS("ObjCPropertyRefExpr",
  484   EXPECT_DECLS("ObjCProtocolExpr", "@protocol Foo");
  491   EXPECT_DECLS("ObjCInterfaceTypeLoc", "@interface Foo");
  498   EXPECT_DECLS("ObjCObjectTypeLoc", "@protocol Foo");
  507   EXPECT_DECLS("ObjCObjectTypeLoc");