Lines Matching refs:Anon
4427 NamedDecl *Anon = nullptr; in BuildAnonymousStructOrUnion() local
4429 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()
4496 Anon->setInvalidDecl(); in BuildAnonymousStructOrUnion()
4498 return Anon; in BuildAnonymousStructOrUnion()
4527 NamedDecl *Anon = FieldDecl::Create(Context, in BuildMicrosoftCAnonymousStruct() local
4536 Anon->setImplicit(); in BuildMicrosoftCAnonymousStruct()
4539 CurContext->addDecl(Anon); in BuildMicrosoftCAnonymousStruct()
4545 Chain.push_back(Anon); in BuildMicrosoftCAnonymousStruct()
4548 if (RequireCompleteType(Anon->getLocation(), RecTy, in BuildMicrosoftCAnonymousStruct()
4552 Anon->setInvalidDecl(); in BuildMicrosoftCAnonymousStruct()
4556 return Anon; in BuildMicrosoftCAnonymousStruct()