reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/DeclBase.h
  350   void *operator new(std::size_t Size, const ASTContext &Ctx,

References

tools/clang/include/clang/AST/DeclCXX.h
  121     return new (C, DC) AccessSpecDecl(AS, DC, ASLoc, ColonLoc);
 3106     return new (C, DC) UsingShadowDecl(UsingShadow, C, DC, Loc, Using, Target);
tools/clang/include/clang/AST/DeclTemplate.h
 1617     return new (C, DC) BuiltinTemplateDecl(C, DC, Name, BTK);
 2454     return new (C, DC) ClassScopeFunctionSpecializationDecl(
tools/clang/lib/AST/Decl.cpp
 1969   return new (C, DC) VarDecl(Var, C, DC, StartL, IdL, Id, T, TInfo, S);
 2662   return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo,
 3932   return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo,
 4178   auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl,
 4311   RecordDecl *R = new (C, DC) RecordDecl(Record, TK, C, DC,
 4511   return new (C, (DeclContext *)nullptr) TranslationUnitDecl(C);
 4522       new (C, DC, additionalSizeToAlloc<char>(Arg.size() + 1))
 4544       new (C, DC, additionalSizeToAlloc<char>(ValueStart + Value.size() + 1))
 4565   return new (C, DC) ExternCContextDecl(DC);
 4572   return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL);
 4579   return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL);
 4610   return new (C, DC) ImplicitParamDecl(C, DC, IdLoc, Id, Type, ParamKind);
 4615   return new (C, nullptr) ImplicitParamDecl(C, Type, ParamKind);
 4631       new (C, DC) FunctionDecl(Function, C, DC, StartLoc, NameInfo, T, TInfo,
 4644   return new (C, DC) BlockDecl(DC, L);
 4657   return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams))
 4677   return new (C, CD) EnumConstantDecl(CD, L, Id, T, E, V);
 4704   return new (C, DC) IndirectFieldDecl(C, DC, L, Id, T, CH);
 4725   return new (C, DC) TypedefDecl(C, DC, StartLoc, IdLoc, Id, TInfo);
 4776   return new (C, DC) TypeAliasDecl(C, DC, StartLoc, IdLoc, Id, TInfo);
 4806   return new (C, DC) FileScopeAsmDecl(DC, Str, AsmLoc, RParenLoc);
 4818   return new (C, DC) EmptyDecl(DC, L);
 4859   return new (C, DC,
 4868   ImportDecl *Import = new (C, DC, additionalSizeToAlloc<SourceLocation>(1))
 4904   return new (C, DC) ExportDecl(DC, ExportLoc);
tools/clang/lib/AST/DeclCXX.cpp
  130   auto *R = new (C, DC) CXXRecordDecl(CXXRecord, TK, C, DC, StartLoc, IdLoc, Id,
  145   auto *R = new (C, DC) CXXRecordDecl(CXXRecord, TTK_Class, C, DC, Loc, Loc,
 1955   return new (C, DC) CXXDeductionGuideDecl(C, DC, StartLoc, ES, NameInfo, T,
 2046   return new (C, RD)
 2480   return new (C, RD, Extra)
 2613   return new (C, RD)
 2645   return new (C, RD)
 2672   return new (C, DC) LinkageSpecDecl(DC, ExternLoc, LangLoc, Lang, HasBraces);
 2692   return new (C, DC) UsingDirectiveDecl(DC, L, NamespaceLoc, QualifierLoc,
 2726   return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id,
 2787   return new (C, DC) NamespaceAliasDecl(C, DC, UsingLoc, AliasLoc, Alias,
 2834   return new (C, DC) ConstructorUsingShadowDecl(C, DC, Loc, Using, Target,
 2884   return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename);
 2905   return new (C, DC, Extra) UsingPackDecl(DC, InstantiatedFrom, UsingDecls);
 2927   return new (C, DC) UnresolvedUsingValueDecl(DC, C.DependentTy, UsingLoc,
 2957   return new (C, DC) UnresolvedUsingTypenameDecl(
 2977   return new (C, DC) StaticAssertDecl(DC, StaticAssertLoc, AssertExpr, Message,
 2991   return new (C, DC) BindingDecl(DC, IdLoc, Id);
 3026   return new (C, DC, Extra)
 3065   return new (C, DC) MSPropertyDecl(DC, L, N, T, TInfo, StartL, Getter, Setter);
tools/clang/lib/AST/DeclFriend.cpp
   59   auto *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL,
tools/clang/lib/AST/DeclObjC.cpp
  815   return new (C, contextDecl) ObjCMethodDecl(
 1393     new (ctx, dc) ObjCTypeParamDecl(ctx, dc, variance, varianceLoc, index,
 1463   auto *Result = new (C, DC)
 1779   return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW,
 1828   return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW);
 1861       new (C, DC) ObjCProtocolDecl(C, DC, Id, nameLoc, atStartLoc, PrevDecl);
 1996       new (C, DC) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, CategoryNameLoc, Id,
 2052   return new (C, DC) ObjCCategoryImplDecl(DC, Id, ClassInterface, nameLoc,
 2158   return new (C, DC) ObjCImplementationDecl(DC, ClassInterface, SuperDecl,
 2203   return new (C, DC) ObjCCompatibleAliasDecl(DC, L, Id, AliasedClass);
 2226   return new (C, DC) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T, TSI,
 2254   return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar,
tools/clang/lib/AST/DeclOpenMP.cpp
   33       new (C, DC, additionalSizeToAlloc<Expr *>(VL.size()))
   64   OMPAllocateDecl *D = new (
  108       new (C, DC, additionalSizeToAlloc<OMPClause *>(CL.size()))
  147   return new (C, DC) OMPDeclareReductionDecl(OMPDeclareReduction, DC, L, Name,
  179   return new (C, DC) OMPDeclareMapperDecl(OMPDeclareMapper, DC, L, Name, T,
  237   return new (C, DC) OMPCapturedExprDecl(
tools/clang/lib/AST/DeclTemplate.cpp
  286   return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl);
  386   return new (C, DC) ClassTemplateDecl(C, DC, L, Name, Params, Decl);
  518       new (C, DC) TemplateTypeParmDecl(DC, KeyLoc, NameLoc, Id, Typename);
  587   return new (C, DC) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id,
  596   return new (C, DC,
  659   return new (C, DC) TemplateTemplateParmDecl(DC, L, D, P, ParameterPack, Id,
  669   return new (C, DC,
  770       new (Context, DC) ClassTemplateSpecializationDecl(
  857   return new (C, DC) ConceptDecl(DC, L, Name, Params, ConstraintExpr);
  906   auto *Result = new (Context, DC)
  936   return new (Context, DC) FriendTemplateDecl(DC, L, Params, Friend, FLoc);
  955   return new (C, DC) TypeAliasTemplateDecl(C, DC, L, Name, Params, Decl);
 1003   return new (C, DC) VarTemplateDecl(C, DC, L, Name, Params, Decl);
 1113   return new (Context, DC) VarTemplateSpecializationDecl(
 1185       new (Context, DC) VarTemplatePartialSpecializationDecl(