Searched refs:Anon (Results 1 – 11 of 11) sorted by relevance
40 struct Anon { struct45 ~Anon() {} in ~Anon() argument65 Anon *a = new Anon(); in main()66 a->~Anon(); in main()
8 struct Anon { Anon() {} }; in Anon() function15 Anon anon1;18 X<Anon> anon2;
40 struct Anon { struct47 ~Anon() {} in ~Anon() argument49 Anon an;
27 } Anon; typedef28 extern const Anon anon;29 extern "C" const Anon anon2;
73 class Anon { class75 Anon() : c(10), b(1), d(2) {} in Anon() function in Anon
107 int post_anon_x_n = Anon::X().n;
114 namespace Anon {
4427 NamedDecl *Anon = nullptr; in BuildAnonymousStructOrUnion() local4429 Anon = FieldDecl::Create(Context, OwningClass, in BuildAnonymousStructOrUnion()4437 Anon->setAccess(AS); in BuildAnonymousStructOrUnion()4439 FieldCollector->Add(cast<FieldDecl>(Anon)); in BuildAnonymousStructOrUnion()4451 Anon = VarDecl::Create(Context, Owner, in BuildAnonymousStructOrUnion()4461 ActOnUninitializedDecl(Anon, /*TypeMayContainAuto=*/false); in BuildAnonymousStructOrUnion()4463 Anon->setImplicit(); in BuildAnonymousStructOrUnion()4471 Owner->addDecl(Anon); in BuildAnonymousStructOrUnion()4477 Chain.push_back(Anon); in BuildAnonymousStructOrUnion()4482 if (VarDecl *NewVD = dyn_cast<VarDecl>(Anon)) { in BuildAnonymousStructOrUnion()[all …]
1386 NamespaceDecl *Anon = cast<NamespaceDecl>(Reader.GetDecl(AnonNamespace)); in VisitNamespaceDecl() local1388 D->setAnonymousNamespace(Anon); in VisitNamespaceDecl()3737 NamespaceDecl *Anon in UpdateDecl() local3746 TU->setAnonymousNamespace(Anon); in UpdateDecl()3748 cast<NamespaceDecl>(D)->setAnonymousNamespace(Anon); in UpdateDecl()
3321 void setAnonymousStructOrUnion(bool Anon) { in setAnonymousStructOrUnion() argument3322 AnonymousStructOrUnion = Anon; in setAnonymousStructOrUnion()
1032 static Optional<unsigned> findUntaggedStructOrUnionIndex(RecordDecl *Anon) { in findUntaggedStructOrUnionIndex() argument1033 ASTContext &Context = Anon->getASTContext(); in findUntaggedStructOrUnionIndex()1034 QualType AnonTy = Context.getRecordType(Anon); in findUntaggedStructOrUnionIndex()1036 RecordDecl *Owner = dyn_cast<RecordDecl>(Anon->getDeclContext()); in findUntaggedStructOrUnionIndex()