• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/

Lines Matching refs:LexicalDC

400         NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC,
1605 NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC,
1636 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
2190 DeclContext *DC, *LexicalDC;
2191 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
2203 ToD->setLexicalDeclContext(LexicalDC);
2204 LexicalDC->addDeclInternal(ToD);
2249 DeclContext *LexicalDC = DC;
2266 ToD->setLexicalDeclContext(LexicalDC);
2267 LexicalDC->addDeclInternal(ToD);
2273 DeclContext *DC, *LexicalDC;
2277 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2334 ToNamespace->setLexicalDeclContext(LexicalDC);
2335 LexicalDC->addDeclInternal(ToNamespace);
2356 DeclContext *DC, *LexicalDC;
2360 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, LookupD, Loc))
2386 ToD->setLexicalDeclContext(LexicalDC);
2387 LexicalDC->addDeclInternal(ToD);
2395 DeclContext *DC, *LexicalDC;
2399 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2469 ToTypedef->setLexicalDeclContext(LexicalDC);
2474 LexicalDC->addDeclInternal(ToTypedef);
2490 DeclContext *DC, *LexicalDC;
2494 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, FoundD, Loc))
2539 ToAlias->setLexicalDeclContext(LexicalDC);
2540 LexicalDC->addDeclInternal(ToAlias);
2546 DeclContext *DC, *LexicalDC;
2550 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2555 assert(LexicalDC->isFunctionOrMethod());
2578 ToLabel->setLexicalDeclContext(LexicalDC);
2579 LexicalDC->addDeclInternal(ToLabel);
2585 DeclContext *DC, *LexicalDC;
2589 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2661 D2->setLexicalDeclContext(LexicalDC);
2662 LexicalDC->addDeclInternal(D2);
2682 DeclContext *DC = nullptr, *LexicalDC = nullptr;
2686 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2820 D2->setLexicalDeclContext(LexicalDC);
2886 D2->setLexicalDeclContext(LexicalDC);
2911 DeclContext *DC, *LexicalDC;
2915 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2922 if (!LexicalDC->isFunctionOrMethod()) {
2962 ToEnumerator->setLexicalDeclContext(LexicalDC);
2963 LexicalDC->addDeclInternal(ToEnumerator);
3148 DeclContext *DC, *LexicalDC;
3152 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3178 else if (!LexicalDC->isFunctionOrMethod()) {
3401 ToFunction->setLexicalDeclContext(LexicalDC);
3507 DeclContext *DC, *LexicalDC;
3511 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3582 ToField->setLexicalDeclContext(LexicalDC);
3586 LexicalDC->addDeclInternal(ToField);
3592 DeclContext *DC, *LexicalDC;
3596 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3655 ToIndirectField->setLexicalDeclContext(LexicalDC);
3656 LexicalDC->addDeclInternal(ToIndirectField);
3662 DeclContext *DC, *LexicalDC;
3663 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
3728 FrD->setLexicalDeclContext(LexicalDC);
3729 LexicalDC->addDeclInternal(FrD);
3735 DeclContext *DC, *LexicalDC;
3739 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3781 ToIvar->setLexicalDeclContext(LexicalDC);
3782 LexicalDC->addDeclInternal(ToIvar);
3800 DeclContext *DC, *LexicalDC;
3804 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3907 ToVar->setLexicalDeclContext(LexicalDC);
4021 DeclContext *DC, *LexicalDC;
4025 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4139 ToMethod->setLexicalDeclContext(LexicalDC);
4140 LexicalDC->addDeclInternal(ToMethod);
4154 DeclContext *DC, *LexicalDC;
4158 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4180 Result->setLexicalDeclContext(LexicalDC);
4186 DeclContext *DC, *LexicalDC;
4190 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4224 ToCategory->setLexicalDeclContext(LexicalDC);
4225 LexicalDC->addDeclInternal(ToCategory);
4335 DeclContext *DC, *LexicalDC;
4339 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4365 ToProto->setLexicalDeclContext(LexicalDC);
4366 LexicalDC->addDeclInternal(ToProto);
4379 DeclContext *DC, *LexicalDC;
4380 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
4406 ToLinkageSpec->setLexicalDeclContext(LexicalDC);
4407 LexicalDC->addDeclInternal(ToLinkageSpec);
4413 DeclContext *DC, *LexicalDC;
4417 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4440 ToUsing->setLexicalDeclContext(LexicalDC);
4441 LexicalDC->addDeclInternal(ToUsing);
4464 DeclContext *DC, *LexicalDC;
4468 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4486 ToShadow->setLexicalDeclContext(LexicalDC);
4500 LexicalDC->addDeclInternal(ToShadow);
4506 DeclContext *DC, *LexicalDC;
4510 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4541 ToUsingDir->setLexicalDeclContext(LexicalDC);
4542 LexicalDC->addDeclInternal(ToUsingDir);
4549 DeclContext *DC, *LexicalDC;
4553 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4578 ToUsingValue->setLexicalDeclContext(LexicalDC);
4579 LexicalDC->addDeclInternal(ToUsingValue);
4586 DeclContext *DC, *LexicalDC;
4590 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4611 ToUsing->setLexicalDeclContext(LexicalDC);
4612 LexicalDC->addDeclInternal(ToUsing);
4773 DeclContext *DC, *LexicalDC;
4777 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4806 ToIface->setLexicalDeclContext(LexicalDC);
4807 LexicalDC->addDeclInternal(ToIface);
4833 DeclContext *DC, *LexicalDC;
4834 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
4850 ToImpl->setLexicalDeclContext(LexicalDC);
4851 LexicalDC->addDeclInternal(ToImpl);
4878 DeclContext *DC, *LexicalDC;
4879 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
4902 Impl->setLexicalDeclContext(LexicalDC);
4949 DeclContext *DC, *LexicalDC;
4953 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
5016 ToProperty->setLexicalDeclContext(LexicalDC);
5017 LexicalDC->addDeclInternal(ToProperty);
5036 DeclContext *DC, *LexicalDC;
5037 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
5040 auto *InImpl = cast<ObjCImplDecl>(LexicalDC);
5065 ToImpl->setLexicalDeclContext(LexicalDC);
5066 LexicalDC->addDeclInternal(ToImpl);
5237 DeclContext *DC, *LexicalDC;
5241 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
5309 D2->setLexicalDeclContext(LexicalDC);
5352 DeclContext *DC, *LexicalDC;
5353 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
5471 D2->setLexicalDeclContext(LexicalDC);
5475 LexicalDC->addDeclInternal(D2);
5538 DeclContext *DC, *LexicalDC;
5542 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
5604 ToVarTD->setLexicalDeclContext(LexicalDC);
5605 LexicalDC->addDeclInternal(ToVarTD);
5633 DeclContext *DC, *LexicalDC;
5634 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
5750 D2->setLexicalDeclContext(LexicalDC);
5751 LexicalDC->addDeclInternal(D2);
5764 DeclContext *DC, *LexicalDC;
5769 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
5780 if (!LexicalDC->isFunctionOrMethod()) {
5820 ToFunc->setLexicalDeclContext(LexicalDC);
5821 LexicalDC->addDeclInternal(ToFunc);
7201 DeclContext *DC, *LexicalDC;
7202 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
7220 To->setLexicalDeclContext(LexicalDC);
7221 LexicalDC->addDeclInternal(To);