Home
last modified time | relevance | path

Searched refs:ASTContext (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/external/clang/include/clang/AST/
DNestedNameSpecifier.h24 class ASTContext; variable
104 static NestedNameSpecifier *FindOrInsert(const ASTContext &Context,
113 static NestedNameSpecifier *Create(const ASTContext &Context,
118 static NestedNameSpecifier *Create(const ASTContext &Context,
123 static NestedNameSpecifier *Create(const ASTContext &Context,
128 static NestedNameSpecifier *Create(const ASTContext &Context,
138 static NestedNameSpecifier *Create(const ASTContext &Context,
143 static NestedNameSpecifier *GlobalSpecifier(const ASTContext &Context);
373 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
387 void Extend(ASTContext &Context, IdentifierInfo *Identifier,
[all …]
DASTImporter.h25 class ASTContext; variable
44 ASTContext &ToContext, &FromContext;
93 ASTImporter(ASTContext &ToContext, FileManager &ToFileManager,
94 ASTContext &FromContext, FileManager &FromFileManager,
242 ASTContext &getToContext() const { return ToContext; } in getToContext()
245 ASTContext &getFromContext() const { return FromContext; } in getFromContext()
DDecl.h62 friend class ASTContext; variable
75 ASTContext &Ctx;
81 explicit TranslationUnitDecl(ASTContext &ctx) in TranslationUnitDecl()
86 ASTContext &getASTContext() const { return Ctx; } in getASTContext()
91 static TranslationUnitDecl *Create(ASTContext &C);
303 static LabelDecl *Create(ASTContext &C, DeclContext *DC,
305 static LabelDecl *Create(ASTContext &C, DeclContext *DC,
308 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
359 static NamespaceDecl *Create(ASTContext &C, DeclContext *DC,
364 static NamespaceDecl *CreateDeserialized(ASTContext &C, unsigned ID);
[all …]
DASTVector.h54 class ASTContext; variable
66 ASTVector(ASTContext &C, unsigned N) in ASTVector()
158 void push_back(const_reference Elt, ASTContext &C) { in push_back()
169 void reserve(ASTContext &C, unsigned N) { in reserve()
181 void append(ASTContext &C, in_iter in_start, in_iter in_end) { in append()
200 void append(ASTContext &C, size_type NumInputs, const T &Elt) { in append()
217 iterator insert(ASTContext &C, iterator I, const T &Elt) { in insert()
238 iterator insert(ASTContext &C, iterator I, size_type NumToInsert, in insert()
287 iterator insert(ASTContext &C, iterator I, ItTy From, ItTy To) { in insert()
338 void resize(ASTContext &C, unsigned N, const T &NV) { in resize()
[all …]
DDeclTemplate.h67 static TemplateParameterList *Create(const ASTContext &C,
175 static TemplateArgumentList *CreateCopy(ASTContext &Context,
302 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template,
388 unsigned NumTemplateArgs, ASTContext &Context) { in Profile()
622 virtual CommonBase *newCommon(ASTContext &C) const = 0;
775 CommonBase *newCommon(ASTContext &C) const;
863 static FunctionTemplateDecl *Create(ASTContext &C, DeclContext *DC,
870 static FunctionTemplateDecl *CreateDeserialized(ASTContext &C, unsigned ID);
952 static TemplateTypeParmDecl *Create(const ASTContext &C, DeclContext *DC,
958 static TemplateTypeParmDecl *CreateDeserialized(const ASTContext &C,
[all …]
DMangle.h25 class ASTContext; variable
69 ASTContext &Context;
76 explicit MangleContext(ASTContext &Context, in MangleContext()
82 ASTContext &getASTContext() const { return Context; } in getASTContext()
160 MangleContext *createItaniumMangleContext(ASTContext &Context,
162 MangleContext *createMicrosoftMangleContext(ASTContext &Context,
DDeclCXX.h129 static AccessSpecDecl *Create(ASTContext &C, AccessSpecifier AS, in Create()
134 static AccessSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID);
661 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
665 static CXXRecordDecl *CreateLambda(const ASTContext &C, DeclContext *DC,
668 static CXXRecordDecl *CreateDeserialized(const ASTContext &C, unsigned ID);
1507 void viewInheritance(ASTContext& Context) const;
1627 static CXXMethodDecl *Create(ASTContext &C, CXXRecordDecl *RD,
1636 static CXXMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID);
1706 QualType getThisType(ASTContext &C) const;
1819 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member,
[all …]
DRecordLayout.h22 class ASTContext; variable
115 friend class ASTContext; variable
117 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment,
123 ASTRecordLayout(const ASTContext &Ctx,
137 void Destroy(ASTContext &Ctx);
DAttrIterator.h21 class ASTContext; variable
26 void *operator new(size_t Bytes, const clang::ASTContext &C,
30 void *operator new[](size_t Bytes, const clang::ASTContext &C,
36 void operator delete(void *Ptr, const clang::ASTContext &C, size_t);
37 void operator delete[](void *Ptr, const clang::ASTContext &C, size_t);
DType.h73 class ASTContext;
670 bool isConstant(ASTContext& Ctx) const {
675 bool isPODType(ASTContext &Context) const;
680 bool isCXX98PODType(ASTContext &Context) const;
686 bool isCXX11PODType(ASTContext &Context) const;
690 bool isTrivialType(ASTContext &Context) const;
694 bool isTriviallyCopyableType(ASTContext &Context) const;
821 QualType getNonLValueExprType(ASTContext &Context) const;
831 QualType getDesugaredType(const ASTContext &Context) const {
844 QualType getSingleStepDesugaredType(const ASTContext &Context) const {
[all …]
DASTUnresolvedSet.h33 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {} in ASTUnresolvedSet()
44 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl()
71 void reserve(ASTContext &C, unsigned N) { in reserve()
75 void append(ASTContext &C, iterator I, iterator E) { in append()
DDeclObjC.h49 void set(void *const* InList, unsigned Elts, ASTContext &Ctx);
60 void set(T* const* InList, unsigned Elts, ASTContext &Ctx) { in set()
89 const SourceLocation *Locs, ASTContext &Ctx);
222 void setParamsAndSelLocs(ASTContext &C,
257 static ObjCMethodDecl *Create(ASTContext &C,
272 static ObjCMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID);
370 void setMethodParams(ASTContext &C,
391 void createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *ID);
629 friend class ASTContext; variable
710 static ObjCInterfaceDecl *Create(const ASTContext &C, DeclContext *DC,
[all …]
/external/clang/lib/AST/
DASTContext.cpp43 unsigned ASTContext::NumImplicitDefaultConstructors;
44 unsigned ASTContext::NumImplicitDefaultConstructorsDeclared;
45 unsigned ASTContext::NumImplicitCopyConstructors;
46 unsigned ASTContext::NumImplicitCopyConstructorsDeclared;
47 unsigned ASTContext::NumImplicitMoveConstructors;
48 unsigned ASTContext::NumImplicitMoveConstructorsDeclared;
49 unsigned ASTContext::NumImplicitCopyAssignmentOperators;
50 unsigned ASTContext::NumImplicitCopyAssignmentOperatorsDeclared;
51 unsigned ASTContext::NumImplicitMoveAssignmentOperators;
52 unsigned ASTContext::NumImplicitMoveAssignmentOperatorsDeclared;
[all …]
DDeclTemplate.cpp57 TemplateParameterList::Create(const ASTContext &C, SourceLocation TemplateLoc, in Create()
177 static void GenerateInjectedTemplateArgs(ASTContext &Context, in GenerateInjectedTemplateArgs()
224 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C, in Create()
234 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
242 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
251 ASTContext &Context = getASTContext(); in LoadLazySpecializations()
302 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, in Create()
315 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
324 ASTContext &Context = getASTContext(); in LoadLazySpecializations()
345 ClassTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
[all …]
DItaniumCXXABI.cpp32 ASTContext &Context;
34 ItaniumCXXABI(ASTContext &Ctx) : Context(Ctx) { } in ItaniumCXXABI()
68 ARMCXXABI(ASTContext &Ctx) : ItaniumCXXABI(Ctx) { } in ARMCXXABI()
72 CXXABI *clang::CreateItaniumCXXABI(ASTContext &Ctx) { in CreateItaniumCXXABI()
76 CXXABI *clang::CreateARMCXXABI(ASTContext &Ctx) { in CreateARMCXXABI()
DCXXABI.h22 class ASTContext; variable
43 CXXABI *CreateARMCXXABI(ASTContext &Ctx);
44 CXXABI *CreateItaniumCXXABI(ASTContext &Ctx);
45 CXXABI *CreateMicrosoftCXXABI(ASTContext &Ctx);
DExprCXX.cpp81 CXXNewExpr::CXXNewExpr(ASTContext &C, bool globalNew, FunctionDecl *operatorNew, in CXXNewExpr()
144 void CXXNewExpr::AllocateArgsArray(ASTContext &C, bool isArray, in AllocateArgsArray()
154 bool CXXNewExpr::shouldNullCheckAllocation(ASTContext &Ctx) const { in shouldNullCheckAllocation()
178 CXXPseudoDestructorExpr::CXXPseudoDestructorExpr(ASTContext &Context, in CXXPseudoDestructorExpr()
230 UnresolvedLookupExpr::Create(ASTContext &C, in Create()
251 UnresolvedLookupExpr::CreateEmpty(ASTContext &C, in CreateEmpty()
264 OverloadExpr::OverloadExpr(StmtClass K, ASTContext &C, in OverloadExpr()
336 void OverloadExpr::initializeResults(ASTContext &C, in initializeResults()
392 DependentScopeDeclRefExpr::Create(ASTContext &C, in Create()
408 DependentScopeDeclRefExpr::CreateEmpty(ASTContext &C, in CreateEmpty()
[all …]
DDeclCXX.cpp33 AccessSpecDecl *AccessSpecDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
83 CXXRecordDecl *CXXRecordDecl::Create(const ASTContext &C, TagKind TK, in Create()
98 CXXRecordDecl *CXXRecordDecl::CreateLambda(const ASTContext &C, DeclContext *DC, in CreateLambda()
111 CXXRecordDecl::CreateDeserialized(const ASTContext &C, unsigned ID) { in CreateDeserialized()
123 ASTContext &C = getASTContext(); in setBases()
659 ASTContext &Context = getASTContext(); in addedMember()
951 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
974 static void CollectVisibleConversions(ASTContext &Context, in CollectVisibleConversions()
1040 static void CollectVisibleConversions(ASTContext &Context, in CollectVisibleConversions()
1168 ASTContext &Context = getASTContext(); in getDestructor()
[all …]
DStmt.cpp52 void *Stmt::operator new(size_t bytes, ASTContext& C, in operator new()
57 void *Stmt::operator new(size_t bytes, ASTContext* C, in operator new()
256 CompoundStmt::CompoundStmt(ASTContext &C, ArrayRef<Stmt*> Stmts, in CompoundStmt()
272 void CompoundStmt::setStmts(ASTContext &C, Stmt **Stmts, unsigned NumStmts) { in setStmts()
285 AttributedStmt *AttributedStmt::Create(ASTContext &C, SourceLocation Loc, in Create()
294 AttributedStmt *AttributedStmt::CreateEmpty(ASTContext &C, unsigned NumAttrs) { in CreateEmpty()
302 std::string AsmStmt::generateAsmString(ASTContext &C) const { in generateAsmString()
388 void GCCAsmStmt::setOutputsAndInputsAndClobbers(ASTContext &C, in setOutputsAndInputsAndClobbers()
443 ASTContext &C, unsigned &DiagOffs) const { in AnalyzeAsmString()
581 std::string GCCAsmStmt::generateAsmString(ASTContext &C) const { in generateAsmString()
[all …]
DNestedNameSpecifier.cpp28 NestedNameSpecifier::FindOrInsert(const ASTContext &Context, in FindOrInsert()
46 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
59 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
74 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
89 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
101 NestedNameSpecifier::Create(const ASTContext &Context, IdentifierInfo *II) { in Create()
111 NestedNameSpecifier::GlobalSpecifier(const ASTContext &Context) { in GlobalSpecifier()
500 void NestedNameSpecifierLocBuilder::Extend(ASTContext &Context, in Extend()
513 void NestedNameSpecifierLocBuilder::Extend(ASTContext &Context, in Extend()
525 void NestedNameSpecifierLocBuilder::Extend(ASTContext &Context, in Extend()
[all …]
DExprClassification.cpp26 static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E);
27 static Cl::Kinds ClassifyDecl(ASTContext &Ctx, const Decl *D);
28 static Cl::Kinds ClassifyUnnamed(ASTContext &Ctx, QualType T);
29 static Cl::Kinds ClassifyMemberExpr(ASTContext &Ctx, const MemberExpr *E);
30 static Cl::Kinds ClassifyBinaryOp(ASTContext &Ctx, const BinaryOperator *E);
31 static Cl::Kinds ClassifyConditional(ASTContext &Ctx,
34 static Cl::ModifiableType IsModifiable(ASTContext &Ctx, const Expr *E,
37 Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const { in ClassifyImpl()
102 static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E) { in ClassifyInternal()
403 static Cl::Kinds ClassifyDecl(ASTContext &Ctx, const Decl *D) { in ClassifyDecl()
[all …]
/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h73 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context);
82 clang::ASTContext * const Context;
148 template <typename T> void match(const T &Node, ASTContext &Context) { in match()
152 ASTContext &Context);
184 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context);
189 ASTContext &Context);
227 ASTContext &Context) { in match()
237 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match()
/external/clang/docs/
DRAVFrontendAction.rst40 HandleTranslationUnit, which is called with the ASTContext for the
47 virtual void HandleTranslationUnit(clang::ASTContext &Context) {
100 Accessing the SourceManager and ASTContext
105 in the ASTContext and its associated source manager. To retrieve them we
106 need to hand the ASTContext into our RecursiveASTVisitor implementation.
108 The ASTContext is available from the CompilerInstance during the call to
119 Now that the ASTContext is available in the RecursiveASTVisitor, we can
127 // getFullLoc uses the ASTContext's SourceManager to resolve the source
156 explicit FindNamedClassVisitor(ASTContext *Context)
171 ASTContext *Context;
[all …]
/external/clang/lib/Analysis/
DBodyFarm.h24 class ASTContext; variable
31 BodyFarm(ASTContext &C) : C(C) {} in BodyFarm()
39 ASTContext &C;
/external/clang/lib/Rewrite/Frontend/
DHTMLPrint.cpp45 void Initialize(ASTContext &context);
46 void HandleTranslationUnit(ASTContext &Ctx);
57 void HTMLPrinter::Initialize(ASTContext &context) { in Initialize()
61 void HTMLPrinter::HandleTranslationUnit(ASTContext &Ctx) { in HandleTranslationUnit()

12345678910>>...12