Lines Matching defs:LexicalDC
386 NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC,
1615 NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC,
1646 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
2250 DeclContext *DC, *LexicalDC;
2251 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
2263 ToD->setLexicalDeclContext(LexicalDC);
2264 LexicalDC->addDeclInternal(ToD);
2309 DeclContext *LexicalDC = DC;
2325 ToD->setLexicalDeclContext(LexicalDC);
2326 LexicalDC->addDeclInternal(ToD);
2332 DeclContext *DC, *LexicalDC;
2336 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2393 ToNamespace->setLexicalDeclContext(LexicalDC);
2394 LexicalDC->addDeclInternal(ToNamespace);
2415 DeclContext *DC, *LexicalDC;
2419 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, LookupD, Loc))
2443 ToD->setLexicalDeclContext(LexicalDC);
2444 LexicalDC->addDeclInternal(ToD);
2464 DeclContext *LexicalDC =
2532 if ((Err = ImportDeclContext(D, DC, LexicalDC)))
2535 ToTypedef->setLexicalDeclContext(LexicalDC);
2544 LexicalDC->addDeclInternal(ToTypedef);
2560 DeclContext *DC, *LexicalDC;
2564 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, FoundD, Loc))
2608 ToAlias->setLexicalDeclContext(LexicalDC);
2609 LexicalDC->addDeclInternal(ToAlias);
2615 DeclContext *DC, *LexicalDC;
2619 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2624 assert(LexicalDC->isFunctionOrMethod());
2647 ToLabel->setLexicalDeclContext(LexicalDC);
2648 LexicalDC->addDeclInternal(ToLabel);
2654 DeclContext *DC, *LexicalDC;
2658 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2734 D2->setLexicalDeclContext(LexicalDC);
2768 DeclContext *DC = nullptr, *LexicalDC = nullptr;
2772 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
2908 D2->setLexicalDeclContext(LexicalDC);
2974 D2->setLexicalDeclContext(LexicalDC);
2999 DeclContext *DC, *LexicalDC;
3003 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3010 if (!LexicalDC->isFunctionOrMethod()) {
3050 ToEnumerator->setLexicalDeclContext(LexicalDC);
3051 LexicalDC->addDeclInternal(ToEnumerator);
3244 DeclContext *DC, *LexicalDC;
3248 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3274 else if (!LexicalDC->isFunctionOrMethod()) {
3493 ToFunction->setLexicalDeclContext(LexicalDC);
3604 DeclContext *DC, *LexicalDC;
3608 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3679 ToField->setLexicalDeclContext(LexicalDC);
3685 LexicalDC->addDeclInternal(ToField);
3691 DeclContext *DC, *LexicalDC;
3695 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3754 ToIndirectField->setLexicalDeclContext(LexicalDC);
3755 LexicalDC->addDeclInternal(ToIndirectField);
3809 DeclContext *DC, *LexicalDC;
3810 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
3887 FrD->setLexicalDeclContext(LexicalDC);
3888 LexicalDC->addDeclInternal(FrD);
3894 DeclContext *DC, *LexicalDC;
3898 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
3938 ToIvar->setLexicalDeclContext(LexicalDC);
3939 LexicalDC->addDeclInternal(ToIvar);
3957 DeclContext *DC, *LexicalDC;
3961 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4062 ToVar->setLexicalDeclContext(LexicalDC);
4178 DeclContext *DC, *LexicalDC;
4182 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4295 ToMethod->setLexicalDeclContext(LexicalDC);
4296 LexicalDC->addDeclInternal(ToMethod);
4310 DeclContext *DC, *LexicalDC;
4314 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4335 Result->setLexicalDeclContext(LexicalDC);
4341 DeclContext *DC, *LexicalDC;
4345 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4377 ToCategory->setLexicalDeclContext(LexicalDC);
4378 LexicalDC->addDeclInternal(ToCategory);
4488 DeclContext *DC, *LexicalDC;
4492 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4518 ToProto->setLexicalDeclContext(LexicalDC);
4519 LexicalDC->addDeclInternal(ToProto);
4532 DeclContext *DC, *LexicalDC;
4533 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
4559 ToLinkageSpec->setLexicalDeclContext(LexicalDC);
4560 LexicalDC->addDeclInternal(ToLinkageSpec);
4566 DeclContext *DC, *LexicalDC;
4570 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4592 ToUsing->setLexicalDeclContext(LexicalDC);
4593 LexicalDC->addDeclInternal(ToUsing);
4616 DeclContext *DC, *LexicalDC;
4620 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4638 ToShadow->setLexicalDeclContext(LexicalDC);
4652 LexicalDC->addDeclInternal(ToShadow);
4658 DeclContext *DC, *LexicalDC;
4662 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4690 ToUsingDir->setLexicalDeclContext(LexicalDC);
4691 LexicalDC->addDeclInternal(ToUsingDir);
4698 DeclContext *DC, *LexicalDC;
4702 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4726 ToUsingValue->setLexicalDeclContext(LexicalDC);
4727 LexicalDC->addDeclInternal(ToUsingValue);
4734 DeclContext *DC, *LexicalDC;
4738 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4758 ToUsing->setLexicalDeclContext(LexicalDC);
4759 LexicalDC->addDeclInternal(ToUsing);
4919 DeclContext *DC, *LexicalDC;
4923 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
4952 ToIface->setLexicalDeclContext(LexicalDC);
4953 LexicalDC->addDeclInternal(ToIface);
4979 DeclContext *DC, *LexicalDC;
4980 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
4996 ToImpl->setLexicalDeclContext(LexicalDC);
4997 LexicalDC->addDeclInternal(ToImpl);
5024 DeclContext *DC, *LexicalDC;
5025 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
5046 Impl->setLexicalDeclContext(LexicalDC);
5093 DeclContext *DC, *LexicalDC;
5097 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
5157 ToProperty->setLexicalDeclContext(LexicalDC);
5158 LexicalDC->addDeclInternal(ToProperty);
5177 DeclContext *DC, *LexicalDC;
5178 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
5181 auto *InImpl = cast<ObjCImplDecl>(LexicalDC);
5208 ToImpl->setLexicalDeclContext(LexicalDC);
5209 LexicalDC->addDeclInternal(ToImpl);
5393 DeclContext *DC, *LexicalDC;
5397 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
5465 D2->setLexicalDeclContext(LexicalDC);
5508 DeclContext *DC, *LexicalDC;
5509 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
5628 D2->setLexicalDeclContext(LexicalDC);
5632 LexicalDC->addDeclInternal(D2);
5681 DeclContext *DC, *LexicalDC;
5685 LexicalDC, Name, ToD, Loc))
5758 ToVarTD->setLexicalDeclContext(LexicalDC);
5759 LexicalDC->addDeclInternal(ToVarTD);
5799 DeclContext *DC, *LexicalDC;
5800 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
5916 D2->setLexicalDeclContext(LexicalDC);
5917 LexicalDC->addDeclInternal(D2);
5930 DeclContext *DC, *LexicalDC;
5935 if (Error Err = ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc))
5946 if (!LexicalDC->isFunctionOrMethod()) {
5986 ToFunc->setLexicalDeclContext(LexicalDC);
5987 LexicalDC->addDeclInternal(ToFunc);
7351 DeclContext *DC, *LexicalDC;
7352 if (Error Err = ImportDeclContext(D, DC, LexicalDC))
7367 To->setLexicalDeclContext(LexicalDC);
7368 LexicalDC->addDeclInternal(To);