Searched refs:ASTContext (Results 151 - 175 of 415) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclFriend.h36 class ASTContext;
111 static FriendDecl *Create(ASTContext &C, DeclContext *DC,
116 static FriendDecl *CreateDeserialized(ASTContext &C, unsigned ID,
H A DOpenMPClause.h45 class ASTContext;
381 static OMPAllocateClause *Create(const ASTContext &C, SourceLocation StartLoc,
396 static OMPAllocateClause *CreateEmpty(const ASTContext &C, unsigned N);
1529 static OMPOrderedClause *Create(const ASTContext &C, Expr *Num,
1535 static OMPOrderedClause* CreateEmpty(const ASTContext &C, unsigned NumLoops);
1842 static OMPUpdateClause *Create(const ASTContext &C, SourceLocation StartLoc,
1853 static OMPUpdateClause *Create(const ASTContext &C, SourceLocation StartLoc,
1864 static OMPUpdateClause *CreateEmpty(const ASTContext &C, bool IsExtended);
2209 static OMPPrivateClause *Create(const ASTContext &C, SourceLocation StartLoc,
2218 static OMPPrivateClause *CreateEmpty(const ASTContext
[all...]
H A DASTContext.h1 //===- ASTContext.h - Context to hold long-lived AST nodes ------*- C++ -*-===//
10 /// Defines the clang::ASTContext interface.
175 class ASTContext : public RefCountedBase<ASTContext> { class in namespace:clang
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
[all...]
H A DExprObjC.h47 class ASTContext;
208 static ObjCArrayLiteral *Create(const ASTContext &C,
213 static ObjCArrayLiteral *CreateEmpty(const ASTContext &C,
348 static ObjCDictionaryLiteral *Create(const ASTContext &C,
354 static ObjCDictionaryLiteral *CreateEmpty(const ASTContext &C,
408 /// obtained from ASTContext with the encoding type as an argument.
776 QualType getReceiverType(const ASTContext &ctx) const;
1070 static ObjCMessageExpr *alloc(const ASTContext &C,
1076 static ObjCMessageExpr *alloc(const ASTContext &C,
1102 /// \param Context The ASTContext i
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp16 #include "clang/AST/ASTContext.h"
194 void HandleTranslationUnit(ASTContext &Context) override {
204 void HandleOneRename(ASTContext &Context, const std::string &NewName,
253 void HandleTranslationUnit(ASTContext &Context) override {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h28 class ASTContext;
111 bool containsConst(const VarDecl *VD, const ASTContext &ACtx);
218 ASTContext &Context;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h331 ASTContext &Ctx,
341 getBinExpr(llvm::SMTSolverRef &Solver, ASTContext &Ctx,
377 ASTContext &Ctx,
418 ASTContext &Ctx, SymbolRef Sym,
462 ASTContext &Ctx, SymbolRef Sym,
474 ASTContext &Ctx,
504 getRangeExpr(llvm::SMTSolverRef &Solver, ASTContext &Ctx, SymbolRef Sym,
543 static inline QualType getAPSIntType(ASTContext &Ctx,
550 fixAPSInt(ASTContext &Ctx, const llvm::APSInt &Int) {
568 ASTContext
[all...]
H A DSValBuilder.h17 #include "clang/AST/ASTContext.h"
56 ASTContext &Context;
84 SValBuilder(llvm::BumpPtrAllocator &alloc, ASTContext &context,
155 ASTContext &getContext() { return Context; }
156 const ASTContext &getContext() const { return Context; }
388 ASTContext &context,
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp20 #include "clang/AST/ASTContext.h"
188 ASTContext &Context;
190 ItaniumCXXABI(ASTContext &Ctx)
258 CXXABI *clang::CreateItaniumCXXABI(ASTContext &Ctx) {
H A DMicrosoftCXXABI.cpp15 #include "clang/AST/ASTContext.h"
68 ASTContext &Context;
77 MicrosoftCXXABI(ASTContext &Ctx) : Context(Ctx) { }
266 CXXABI *clang::CreateMicrosoftCXXABI(ASTContext &Ctx) {
H A DParentMapContext.cpp22 ParentMapContext::ParentMapContext(ASTContext &Ctx) : ASTCtx(Ctx) {}
100 ParentMap(ASTContext &Ctx);
311 ParentMapContext::ParentMap::ParentMap(ASTContext &Ctx) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp12 #include "clang/AST/ASTContext.h"
46 ASTContext *Ctx;
62 ASTContext &Ctx;
63 DebugTypeVisitor(clang::CodeGen::CGDebugInfo &DI, ASTContext &Ctx)
163 void Initialize(ASTContext &Context) override {
237 void HandleTranslationUnit(ASTContext &Ctx) override {
H A DModuleBuilder.cpp16 #include "clang/AST/ASTContext.h"
34 ASTContext *Ctx;
137 void Initialize(ASTContext &Context) override {
264 void HandleTranslationUnit(ASTContext &Ctx) override {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h38 class ASTContext;
98 IntrusiveRefCntPtr<ASTContext> Context;
457 /// @name ASTContext
462 ASTContext &getASTContext() const {
473 void setASTContext(ASTContext *Value);
670 InMemoryModuleCache &ModuleCache, ASTContext &Context,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp89 static void addGslOwnerPointerAttributeIfNotExisting(ASTContext &Context,
259 int SectionFlags = ASTContext::PSF_Read;
263 SectionFlags |= ASTContext::PSF_Write | ASTContext::PSF_ZeroInit;
267 SectionFlags |= ASTContext::PSF_Write;
277 SectionFlags |= ASTContext::PSF_Execute;
507 ASTContext::SectionInfo(Decl, PragmaLocation, SectionFlags);
513 ((SectionFlags & ASTContext::PSF_Implicit) &&
514 !(Section.SectionFlags & ASTContext::PSF_Implicit)))
535 if (!(Section.SectionFlags & ASTContext
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp86 ASTContext *Ctx;
209 void Initialize(ASTContext &Context) override {
224 void HandleTranslationUnit(ASTContext &C) override;
344 void runAnalysisOnTranslationUnit(ASTContext &C);
476 static bool isBisonFile(ASTContext &C) {
485 void AnalysisConsumer::runAnalysisOnTranslationUnit(ASTContext &C) {
528 void AnalysisConsumer::HandleTranslationUnit(ASTContext &C) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h16 #include "clang/AST/ASTContext.h"
231 InitializedEntity(ASTContext &Context, unsigned Index,
248 static InitializedEntity InitializeParameter(ASTContext &Context,
255 static InitializedEntity InitializeParameter(ASTContext &Context,
273 static InitializedEntity InitializeParameter(ASTContext &Context,
345 InitializeBase(ASTContext &Context, const CXXBaseSpecifier *Base,
377 static InitializedEntity InitializeElement(ASTContext &Context,
1214 bool endsWithNarrowing(ASTContext &Ctx, const Expr *Initializer,
H A DSemaInternal.h17 #include "clang/AST/ASTContext.h"
201 ASTContext &getContext() const { return SemaRef.Context; }
222 ASTContext &Context;
238 NamespaceSpecifierSet(ASTContext &Context, DeclContext *CurContext,
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp33 clang::ASTContext &dst_clang_ast = dst_ast.getASTContext();
40 clang::ASTContext &src_clang_ast = src_ast->getASTContext();
66 clang::Decl *ClangASTImporter::CopyDecl(clang::ASTContext *dst_ast,
70 clang::ASTContext *src_ast = &decl->getASTContext();
221 clang::ASTContext *m_dst_ctx;
222 clang::ASTContext *m_src_ctx;
228 /// \param dst_ctx The ASTContext to which Decls are imported.
229 /// \param src_ctx The ASTContext from which Decls are imported.
231 clang::ASTContext *dst_ctx,
232 clang::ASTContext *src_ct
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp15 #include "clang/AST/ASTContext.h"
51 ASTMaker(ASTContext &C) : C(C) {}
111 ASTContext &C;
245 typedef Stmt *(*FunctionFarmer)(ASTContext &C, const FunctionDecl *D);
247 static CallExpr *create_call_once_funcptr_call(ASTContext &C, ASTMaker M,
273 static CallExpr *create_call_once_lambda_call(ASTContext &C, ASTMaker M,
316 static Stmt *create_call_once(ASTContext &C, const FunctionDecl *D) {
477 static Stmt *create_dispatch_once(ASTContext &C, const FunctionDecl *D) {
512 /*ASTContext=*/C,
560 static Stmt *create_dispatch_sync(ASTContext
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp164 SBVisitor(Rewriter &R, ASTContext &Context)
300 ASTContext &Context;
305 SBConsumer(Rewriter &R, ASTContext &Context) : Visitor(R, Context) {}
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h36 class ASTContext;
104 ASTContext &getASTContext() const { return D->getASTContext(); }
441 ASTContext &ASTCtx, bool useUnoptimizedCFG = false,
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp190 ASTContext &ASTCtx =
209 bool shouldCompletelyUnroll(const Stmt *LoopStmt, ASTContext &ASTCtx,
261 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp114 Impl(SyntaxTree *Parent, ASTContext &AST);
116 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST);
117 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST);
121 ASTContext &AST)
126 ASTContext &AST)
130 ASTContext &AST;
262 SyntaxTree::Impl::Impl(SyntaxTree *Parent, ASTContext &AST)
267 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST)
274 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST)
384 static const DeclContext *getEnclosingDeclContext(ASTContext
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp13 #include "clang/AST/ASTContext.h"
32 const ASTContext &Context) {
39 ASTContext &Context) {
320 ASTContext &Context) {

Completed in 315 milliseconds

1234567891011>>