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

Declarations

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

References

tools/clang/lib/AST/Decl.cpp
 1973   return new (C, ID)
 2675   return new (C, ID)
 3937   return new (C, ID) FieldDecl(Field, nullptr, SourceLocation(),
 4187       new (C, ID) EnumDecl(C, nullptr, SourceLocation(), SourceLocation(),
 4321       new (C, ID) RecordDecl(Record, TTK_Struct, C, nullptr, SourceLocation(),
 4532   return new (C, ID, additionalSizeToAlloc<char>(ArgSize + 1))
 4557   return new (C, ID, additionalSizeToAlloc<char>(NameValueSize + 1))
 4583   return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr,
 4620   return new (C, ID) ImplicitParamDecl(C, QualType(), ImplicitParamKind::Other);
 4638   return new (C, ID) FunctionDecl(Function, C, nullptr, SourceLocation(),
 4648   return new (C, ID) BlockDecl(nullptr, SourceLocation());
 4663   return new (C, ID, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams))
 4682   return new (C, ID) EnumConstantDecl(nullptr, SourceLocation(), nullptr,
 4709   return new (C, ID) IndirectFieldDecl(C, nullptr, SourceLocation(),
 4768   return new (C, ID) TypedefDecl(C, nullptr, SourceLocation(), SourceLocation(),
 4780   return new (C, ID) TypeAliasDecl(C, nullptr, SourceLocation(),
 4811   return new (C, ID) FileScopeAsmDecl(nullptr, nullptr, SourceLocation(),
 4822   return new (C, ID) EmptyDecl(nullptr, SourceLocation());
 4876   return new (C, ID, additionalSizeToAlloc<SourceLocation>(NumLocations))
 4908   return new (C, ID) ExportDecl(nullptr, SourceLocation());
tools/clang/lib/AST/DeclCXX.cpp
   59   return new (C, ID) AccessSpecDecl(EmptyShell());
  159   auto *R = new (C, ID) CXXRecordDecl(
 1961   return new (C, ID) CXXDeductionGuideDecl(
 2052   return new (C, ID) CXXMethodDecl(
 2458   auto *Result = new (C, ID, Extra)
 2601   return new (C, ID)
 2632   return new (C, ID) CXXConversionDecl(
 2677   return new (C, ID) LinkageSpecDecl(nullptr, SourceLocation(),
 2698   return new (C, ID) UsingDirectiveDecl(nullptr, SourceLocation(),
 2731   return new (C, ID) NamespaceDecl(C, nullptr, false, SourceLocation(),
 2793   return new (C, ID) NamespaceAliasDecl(C, nullptr, SourceLocation(),
 2817   return new (C, ID) UsingShadowDecl(UsingShadow, C, EmptyShell());
 2840   return new (C, ID) ConstructorUsingShadowDecl(C, EmptyShell());
 2888   return new (C, ID) UsingDecl(nullptr, SourceLocation(),
 2911   auto *Result = new (C, ID, Extra) UsingPackDecl(nullptr, nullptr, None);
 2934   return new (C, ID) UnresolvedUsingValueDecl(nullptr, QualType(),
 2964   return new (C, ID) UnresolvedUsingTypenameDecl(
 2983   return new (C, ID) StaticAssertDecl(nullptr, SourceLocation(), nullptr,
 2995   return new (C, ID) BindingDecl(nullptr, SourceLocation(), nullptr);
 3034   auto *Result = new (C, ID, Extra)
 3070   return new (C, ID) MSPropertyDecl(nullptr, SourceLocation(),
tools/clang/lib/AST/DeclFriend.cpp
   69   return new (C, ID, Extra) FriendDecl(EmptyShell(), FriendTypeNumTPLists);
tools/clang/lib/AST/DeclObjC.cpp
  822   return new (C, ID) ObjCMethodDecl(SourceLocation(), SourceLocation(),
 1402   return new (ctx, ID) ObjCTypeParamDecl(ctx, nullptr,
 1473   auto *Result = new (C, ID)
 1784   return new (C, ID) ObjCIvarDecl(nullptr, SourceLocation(), SourceLocation(),
 1833   return new (C, ID) ObjCAtDefsFieldDecl(nullptr, SourceLocation(),
 1869       new (C, ID) ObjCProtocolDecl(C, nullptr, nullptr, SourceLocation(),
 2014   return new (C, ID) ObjCCategoryDecl(nullptr, SourceLocation(),
 2058   return new (C, ID) ObjCCategoryImplDecl(nullptr, nullptr, nullptr,
 2165   return new (C, ID) ObjCImplementationDecl(nullptr, nullptr, nullptr,
 2208   return new (C, ID) ObjCCompatibleAliasDecl(nullptr, SourceLocation(),
 2232   return new (C, ID) ObjCPropertyDecl(nullptr, SourceLocation(), nullptr,
 2260   return new (C, ID) ObjCPropertyImplDecl(nullptr, SourceLocation(),
tools/clang/lib/AST/DeclOpenMP.cpp
   43   OMPThreadPrivateDecl *D = new (C, ID, additionalSizeToAlloc<Expr *>(N))
   78       new (C, ID, additionalSizeToAlloc<Expr *, OMPClause *>(NVars, NClauses))
  117   OMPRequiresDecl *D = new (C, ID, additionalSizeToAlloc<OMPClause *>(N))
  153   return new (C, ID) OMPDeclareReductionDecl(
  186   auto *D = new (C, ID)
  243   return new (C, ID) OMPCapturedExprDecl(C, nullptr, nullptr, QualType(),
tools/clang/lib/AST/DeclTemplate.cpp
  291   return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(),
  391   return new (C, ID) ClassTemplateDecl(C, nullptr, SourceLocation(),
  526   return new (C, ID) TemplateTypeParmDecl(nullptr, SourceLocation(),
  605   return new (C, ID) NonTypeTemplateParmDecl(nullptr, SourceLocation(),
  614       new (C, ID, additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>>(
  676   return new (C, ID) TemplateTemplateParmDecl(nullptr, SourceLocation(), 0, 0,
  684       new (C, ID, additionalSizeToAlloc<TemplateParameterList *>(NumExpansions))
  783     new (C, ID) ClassTemplateSpecializationDecl(C, ClassTemplateSpecialization);
  862   ConceptDecl *Result = new (C, ID) ConceptDecl(nullptr, SourceLocation(),
  920   auto *Result = new (C, ID) ClassTemplatePartialSpecializationDecl(C);
  941   return new (C, ID) FriendTemplateDecl(EmptyShell());
  960   return new (C, ID) TypeAliasTemplateDecl(C, nullptr, SourceLocation(),
  980   return new (C, ID) ClassScopeFunctionSpecializationDecl(
 1008   return new (C, ID) VarTemplateDecl(C, nullptr, SourceLocation(),
 1120   return new (C, ID)
 1195   return new (C, ID) VarTemplatePartialSpecializationDecl(C);