Home | History | Annotate | Download | only in Sema

Lines Matching defs:Parent

20 void Scope::setFlags(Scope *parent, unsigned flags) {
21 AnyParent = parent;
24 if (parent && !(flags & FnScope)) {
25 BreakParent = parent->BreakParent;
26 ContinueParent = parent->ContinueParent;
33 if (parent) {
34 Depth = parent->Depth + 1;
35 PrototypeDepth = parent->PrototypeDepth;
37 FnParent = parent->FnParent;
38 BlockParent = parent->BlockParent;
39 TemplateParamParent = parent->TemplateParamParent;
40 MSLastManglingParent = parent->MSLastManglingParent;
45 Flags |= parent->getFlags() & OpenMPSimdDirectiveScope;
87 void Scope::Init(Scope *parent, unsigned flags) {
88 setFlags(parent, flags);
187 if (const Scope *Parent = getParent())
188 OS << "Parent: (clang::Scope*)" << Parent << '\n';