Searched refs:ASTContext (Results 1 - 25 of 415) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTContextAllocate.h1 //===- ASTContextAllocate.h - ASTContext allocate functions -----*- C++ -*-===//
9 // This file declares ASTContext allocation functions separate from the main
10 // code in ASTContext.h.
21 class ASTContext;
25 // Defined in ASTContext.h
26 void *operator new(size_t Bytes, const clang::ASTContext &C,
28 void *operator new[](size_t Bytes, const clang::ASTContext &C,
34 void operator delete(void *Ptr, const clang::ASTContext &C, size_t);
35 void operator delete[](void *Ptr, const clang::ASTContext &C, size_t);
H A DQualTypeNames.h63 #include "clang/AST/ASTContext.h"
72 /// \param[in] Ctx - the ASTContext to be used.
75 std::string getFullyQualifiedName(QualType QT, const ASTContext &Ctx,
85 /// \param[in] Ctx - the ASTContext to be used.
88 QualType getFullyQualifiedType(QualType QT, const ASTContext &Ctx,
H A DPrettyDeclStackTrace.h23 class ASTContext;
31 ASTContext &Context;
37 PrettyDeclStackTraceEntry(ASTContext &Ctx, Decl *D, SourceLocation Loc,
H A DASTUnresolvedSet.h10 // allocated using the allocator associated with an ASTContext.
28 /// An UnresolvedSet-like class which uses the ASTContext's allocator.
34 DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {}
44 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {}
55 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) {
79 void reserve(ASTContext &C, unsigned N) {
83 void append(ASTContext &C, iterator I, iterator E) {
96 void getFromExternalSource(ASTContext &C) const;
99 ASTUnresolvedSet &get(ASTContext &C) const {
105 void reserve(ASTContext
[all...]
H A DNestedNameSpecifier.h29 class ASTContext;
113 static NestedNameSpecifier *FindOrInsert(const ASTContext &Context,
124 static NestedNameSpecifier *Create(const ASTContext &Context,
129 static NestedNameSpecifier *Create(const ASTContext &Context,
134 static NestedNameSpecifier *Create(const ASTContext &Context,
139 static NestedNameSpecifier *Create(const ASTContext &Context,
149 static NestedNameSpecifier *Create(const ASTContext &Context,
154 static NestedNameSpecifier *GlobalSpecifier(const ASTContext &Context);
158 static NestedNameSpecifier *SuperSpecifier(const ASTContext &Context,
402 void Extend(ASTContext
[all...]
H A DASTStructuralEquivalence.h26 class ASTContext;
43 ASTContext &FromCtx, &ToCtx;
73 ASTContext &FromCtx, ASTContext &ToCtx,
H A DExternalASTMerger.h10 // from several different ASTContext/FileManager pairs
38 /// specifying the correct pair of DeclContext/ASTContext.
41 /// (This is possible when the source ASTContext for one of the Importers has
51 /// not allow their containing ASTContext to be determined in all cases.
54 ASTContext *AST;
71 /// ASTImporters require both ASTContext and FileManager to be able to
74 ASTContext &AST;
79 /// ASTImporters require both ASTContext and FileManager to be able to
84 ASTContext &AST;
90 /// If the ASTContext o
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DUSRFinder.h19 #include "clang/AST/ASTContext.h"
25 class ASTContext;
34 const NamedDecl *getNamedDeclAt(const ASTContext &Context,
40 const NamedDecl *getNamedDeclFor(const ASTContext &Context,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Index/
H A DCommentToXML.h16 class ASTContext;
31 const ASTContext &Context);
35 const ASTContext &Context);
39 const ASTContext &Context);
H A DIndexDataConsumer.h16 class ASTContext;
37 virtual void initialize(ASTContext &Ctx) {}
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/DomainSpecific/
H A DObjCNoReturn.h21 class ASTContext;
37 ObjCNoReturn(ASTContext &C);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DSourceCodeBuilders.h17 #include "clang/AST/ASTContext.h"
54 const ASTContext &Context);
59 const ASTContext &Context);
64 const ASTContext &Context);
72 llvm::Optional<std::string> buildDot(const Expr &E, const ASTContext &Context);
81 const ASTContext &Context);
H A DSourceCode.h16 #include "clang/AST/ASTContext.h"
27 ASTContext &Context);
34 ASTContext &Context) {
44 CharSourceRange getAssociatedRange(const Decl &D, ASTContext &Context);
47 StringRef getText(CharSourceRange Range, const ASTContext &Context);
51 StringRef getText(const T &Node, const ASTContext &Context) {
80 ASTContext &Context) {
97 getRangeForEdit(const CharSourceRange &EditRange, const ASTContext &Context) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DBodyFarm.h24 class ASTContext;
33 BodyFarm(ASTContext &C, CodeInjector *injector) : C(C), Injector(injector) {}
47 ASTContext &C;
H A DSelectorExtras.h12 #include "clang/AST/ASTContext.h"
17 static inline Selector getKeywordSelector(ASTContext &Ctx,
27 static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/
H A DFixIt.cpp21 StringRef getText(CharSourceRange Range, const ASTContext &Context) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DParseAST.h21 class ASTContext;
39 ASTContext &Ctx, bool PrintStats = false,
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDataCollection.cpp19 ASTContext &Context, SourceLocation Loc) {
33 std::string getMacroStack(SourceLocation Loc, ASTContext &Context) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DLoopUnrolling.h39 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h18 class ASTContext;
47 ASTContext &getASTContext() const {
52 void setASTContext(ASTContext &Context) { AST = &Context; }
78 ASTContext *AST = nullptr;
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.h25 class ASTContext;
41 Context(ASTContext &Ctx);
56 ASTContext &getASTContext() const { return Ctx; }
76 ASTContext &Ctx;
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.h57 clang::Decl *CopyDecl(clang::ASTContext *dst_ctx, clang::Decl *decl);
61 clang::Decl *DeportDecl(clang::ASTContext *dst_ctx, clang::Decl *decl);
129 void InstallMapCompleter(clang::ASTContext *dst_ctx,
144 void ForgetDestination(clang::ASTContext *dst_ctx);
145 void ForgetSource(clang::ASTContext *dst_ctx, clang::ASTContext *src_ctx);
150 DeclOrigin(clang::ASTContext *_ctx, clang::Decl *_decl)
165 clang::ASTContext *ctx;
190 ASTImporterDelegate(ClangASTImporter &master, clang::ASTContext *target_ctx,
191 clang::ASTContext *source_ct
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DMPIFunctionClassifier.h25 MPIFunctionClassifier(ASTContext &ASTCtx) { identifierInit(ASTCtx); }
51 void identifierInit(ASTContext &ASTCtx);
52 void initPointToPointIdentifiers(ASTContext &ASTCtx);
53 void initCollectiveIdentifiers(ASTContext &ASTCtx);
54 void initAdditionalIdentifiers(ASTContext &ASTCtx);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h75 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context);
84 clang::ASTContext * const Context;
184 template <typename T> void match(const T &Node, ASTContext &Context) {
187 void match(const clang::DynTypedNode &Node, ASTContext &Context);
191 void matchAST(ASTContext &Context);
241 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context);
245 ASTContext &Context);
251 SmallVector<BoundNodes, 1> match(MatcherT Matcher, ASTContext &Context);
285 ASTContext &Context) {
295 match(MatcherT Matcher, const NodeT &Node, ASTContext
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp14 #include "clang/AST/ASTContext.h"
43 void Initialize(ASTContext &context) override;
44 void HandleTranslationUnit(ASTContext &Ctx) override;
55 void HTMLPrinter::Initialize(ASTContext &context) {
59 void HTMLPrinter::HandleTranslationUnit(ASTContext &Ctx) {

Completed in 207 milliseconds

1234567891011>>