Lines Matching defs:Context
39 NestedNameSpecifier::FindOrInsert(const ASTContext &Context,
46 = Context.NestedNameSpecifiers.FindNodeOrInsertPos(ID, InsertPos);
49 new (Context, alignof(NestedNameSpecifier)) NestedNameSpecifier(Mockup);
50 Context.NestedNameSpecifiers.InsertNode(NNS, InsertPos);
56 NestedNameSpecifier *NestedNameSpecifier::Create(const ASTContext &Context,
66 return FindOrInsert(Context, Mockup);
70 NestedNameSpecifier::Create(const ASTContext &Context,
82 return FindOrInsert(Context, Mockup);
86 NestedNameSpecifier::Create(const ASTContext &Context,
98 return FindOrInsert(Context, Mockup);
102 NestedNameSpecifier::Create(const ASTContext &Context,
110 return FindOrInsert(Context, Mockup);
113 NestedNameSpecifier *NestedNameSpecifier::Create(const ASTContext &Context,
120 return FindOrInsert(Context, Mockup);
124 NestedNameSpecifier::GlobalSpecifier(const ASTContext &Context) {
125 if (!Context.GlobalNestedNameSpecifier)
126 Context.GlobalNestedNameSpecifier =
127 new (Context, alignof(NestedNameSpecifier)) NestedNameSpecifier();
128 return Context.GlobalNestedNameSpecifier;
132 NestedNameSpecifier::SuperSpecifier(const ASTContext &Context,
138 return FindOrInsert(Context, Mockup);
561 void NestedNameSpecifierLocBuilder::Extend(ASTContext &Context,
565 Representation = NestedNameSpecifier::Create(Context, Representation,
574 void NestedNameSpecifierLocBuilder::Extend(ASTContext &Context,
578 Representation = NestedNameSpecifier::Create(Context, Representation,
586 void NestedNameSpecifierLocBuilder::Extend(ASTContext &Context,
590 Representation = NestedNameSpecifier::Create(Context, Representation,
598 void NestedNameSpecifierLocBuilder::Extend(ASTContext &Context,
602 Representation = NestedNameSpecifier::Create(Context, Representation, Alias);
609 void NestedNameSpecifierLocBuilder::MakeGlobal(ASTContext &Context,
612 Representation = NestedNameSpecifier::GlobalSpecifier(Context);
618 void NestedNameSpecifierLocBuilder::MakeSuper(ASTContext &Context,
622 Representation = NestedNameSpecifier::SuperSpecifier(Context, RD);
629 void NestedNameSpecifierLocBuilder::MakeTrivial(ASTContext &Context,
652 = Context.getTrivialTypeSourceInfo(QualType(NNS->getAsType(), 0),
690 NestedNameSpecifierLocBuilder::getWithLocInContext(ASTContext &Context) const {
702 void *Mem = Context.Allocate(BufferSize, alignof(void *));