• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/

Lines Matching refs:ASTContext

1 //===- ASTContext.h - Context to hold long-lived AST nodes ------*- C++ -*-===//
10 /// Defines the clang::ASTContext interface.
175 class ASTContext : public RefCountedBase<ASTContext> {
187 mutable llvm::ContextualFoldingSet<ConstantArrayType, ASTContext &>
201 mutable llvm::ContextualFoldingSet<FunctionProtoType, ASTContext&>
211 mutable llvm::ContextualFoldingSet<TemplateSpecializationType, ASTContext&>
217 ASTContext&>
224 mutable llvm::ContextualFoldingSet<AutoType, ASTContext&> AutoTypes;
238 ASTContext&>
301 void Profile(llvm::FoldingSetNodeID &ID, const ASTContext &C) {
306 const ASTContext &C,
310 const ASTContext&>
427 void resolve(ASTContext &Ctx);
431 ASTContext &this_() { return *this; }
547 /// this ASTContext object.
561 /// AST objects will be released when the ASTContext itself is destroyed.
793 Import = ASTContext::getNextLocalImport(Import);
1003 ASTContext(LangOptions &LOpts, SourceManager &SM, IdentifierTable &idents,
1005 ASTContext(const ASTContext &) = delete;
1006 ASTContext &operator=(const ASTContext &) = delete;
1007 ~ASTContext();
2257 /// If \p T is null pointer, assume the target in ASTContext.
2441 /// is a member of ASTContext because this may need to do some amount of
2753 /// ASTContext is destroyed.
2891 /// This routine may only be invoked once for a given ASTContext object.
2892 /// It is normally invoked after ASTContext construction.
2994 /// ASTContext is destroyed.
2995 // FIXME: We really should have a better mechanism in the ASTContext to
3006 // by DeclContext objects. This probably should not be in ASTContext,
3007 // but we include it here so that ASTContext can quickly deallocate them.
3053 const ASTContext::SectionInfo &Section);
3056 inline Selector GetNullarySelector(StringRef name, ASTContext &Ctx) {
3062 inline Selector GetUnarySelector(StringRef name, ASTContext &Ctx) {
3071 /// Placement new for using the ASTContext's allocator.
3073 /// This placement form of operator new uses the ASTContext's allocator for
3083 /// Usage looks like this (assuming there's an ASTContext 'Context' in scope):
3091 /// explicitly freed, as ASTContext will free all of this memory when it gets
3095 /// @param C The ASTContext that provides the allocator.
3099 inline void *operator new(size_t Bytes, const clang::ASTContext &C,
3109 /// the ASTContext throws in the object constructor.
3110 inline void operator delete(void *Ptr, const clang::ASTContext &C, size_t) {
3114 /// This placement form of operator new[] uses the ASTContext's allocator for
3121 /// Usage looks like this (assuming there's an ASTContext 'Context' in scope):
3129 /// explicitly freed, as ASTContext will free all of this memory when it gets
3133 /// @param C The ASTContext that provides the allocator.
3137 inline void *operator new[](size_t Bytes, const clang::ASTContext& C,
3147 /// the ASTContext throws in the object constructor.
3148 inline void operator delete[](void *Ptr, const clang::ASTContext &C, size_t) {
3157 const clang::ASTContext &Ctx, T Value) {
3159 // include ASTContext.h. We explicitly instantiate it for all relevant types
3160 // in ASTContext.cpp.