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

References

tools/clang/unittests/AST/StructuralEquivalenceTest.cpp
  101   auto Decls = makeNamedDecls("int foo;", "int foo;", Lang_CXX);
  106   auto Decls = makeNamedDecls("int foo;", "signed int foo;", Lang_CXX);
  111   auto Decls = makeNamedDecls("char foo;", "char foo;", Lang_CXX);
  118   auto Decls = makeNamedDecls("char foo;", "signed char foo;", Lang_CXX);
  123   auto Decls = makeNamedDecls("struct foo;", "struct foo;", Lang_CXX);
  128   auto Decls = makeNamedDecls("struct foo { int x; };",
  134   auto Decls = makeNamedDecls("struct foo { char x; };",
  192   auto Decls = makeNamedDecls(Code, Code, Lang_CXX);
  208   auto Decls = makeNamedDecls(Code, Code, Lang_CXX, "X");
  226   auto t = makeNamedDecls(
  261   auto t = makeNamedDecls("void foo(int&);",
  267   auto t = makeNamedDecls("void foo(int);",
  274   auto t = makeNamedDecls("void foo();",
  280   auto t = makeNamedDecls("void foo();",
  286   auto t = makeNamedDecls("void foo() throw();",
  292   auto t = makeNamedDecls("void foo() throw();",
  298   auto t = makeNamedDecls("void foo() throw();",
  304   auto t = makeNamedDecls("void foo() noexcept(false);",
  310   auto t = makeNamedDecls("void foo() noexcept(false);",
  316   auto t = makeNamedDecls("void foo() noexcept;",
  322   auto t = makeNamedDecls("void foo() noexcept;",
  328   auto t = makeNamedDecls("char foo();",
  334   auto t = makeNamedDecls("char foo();",
  340   auto t = makeNamedDecls("char &foo();",
  346   auto t = makeNamedDecls("void foo(int);",
  352   auto t = makeNamedDecls("void foo(int);",
  358   auto t = makeNamedDecls("void foo(int a);",
  364   auto t = makeNamedDecls("void foo(int x...);",
  370   auto t = makeNamedDecls("void foo(int *);",
  376   auto t = makeNamedDecls(
  384   auto t = makeNamedDecls(
  392   auto t = makeNamedDecls(
  400   auto t = makeNamedDecls(
  413   auto t = makeNamedDecls(
  424   auto t = makeNamedDecls(
  443   auto t = makeNamedDecls("struct X { virtual void foo(); };",
  450   auto t = makeNamedDecls("struct X { virtual void foo(); };",
  456   auto t = makeNamedDecls("struct X { void foo(); };",
  462   auto t = makeNamedDecls("struct X { void foo(); };",
  468   auto t = makeNamedDecls("struct X { void foo(); };",
  474   auto t = makeNamedDecls("struct X { void foo() &; };",
  488   auto t = makeNamedDecls("struct X { void foo(); };",
  577   auto t = makeNamedDecls(
  586   auto t = makeNamedDecls(
  594   auto t = makeNamedDecls(
  602   auto t = makeNamedDecls(
  611   auto t = makeNamedDecls(
  627   auto t = makeNamedDecls(Code, Code, Lang_CXX);
  776   auto t = makeNamedDecls("class foo;", "class foo;", Lang_CXX11);
  783       makeNamedDecls("class foo;", "class foo { int A; };", Lang_CXX11);
  789   auto t = makeNamedDecls("class foo { int A; };", "class foo { int A; };",
  795   auto t = makeNamedDecls("class foo { int B; };", "class foo { int A; };",
  853   auto t = makeNamedDecls(
  861   auto Decls = makeNamedDecls("struct foo {explicit(false) foo(int);};",
  871   auto Decls = makeNamedDecls("struct foo {explicit(true) foo(int);};",
  883   auto t = makeNamedDecls("enum class foo;", "enum class foo;", Lang_CXX11);
  890       makeNamedDecls("enum class foo;", "enum class foo { A };", Lang_CXX11);
  896   auto t = makeNamedDecls("enum class foo { A };", "enum class foo { A };",
  902   auto t = makeNamedDecls("enum class foo { B };", "enum class foo { A };",
  910   auto t = makeNamedDecls("template <class T> struct foo;",
  916   auto t = makeNamedDecls("template <class T> struct foo;",
  922   auto t = makeNamedDecls("template <class T> struct foo;",
  928   auto Decls = makeNamedDecls("template <bool b> struct foo {explicit(b) foo(int);};",
  938   auto Decls = makeNamedDecls("template <bool b> struct foo {explicit(b) foo(int);};",