/external/clang/include/clang/AST/ |
D | NestedNameSpecifier.h | 24 class ASTContext; variable 109 static NestedNameSpecifier *FindOrInsert(const ASTContext &Context, 118 static NestedNameSpecifier *Create(const ASTContext &Context, 123 static NestedNameSpecifier *Create(const ASTContext &Context, 128 static NestedNameSpecifier *Create(const ASTContext &Context, 133 static NestedNameSpecifier *Create(const ASTContext &Context, 143 static NestedNameSpecifier *Create(const ASTContext &Context, 148 static NestedNameSpecifier *GlobalSpecifier(const ASTContext &Context); 152 static NestedNameSpecifier *SuperSpecifier(const ASTContext &Context, 389 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, [all …]
|
D | StmtOpenMP.h | 271 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, 279 static OMPParallelDirective *CreateEmpty(const ASTContext &C, 824 static OMPSimdDirective *Create(const ASTContext &C, SourceLocation StartLoc, 837 static OMPSimdDirective *CreateEmpty(const ASTContext &C, unsigned NumClauses, 898 static OMPForDirective *Create(const ASTContext &C, SourceLocation StartLoc, 911 static OMPForDirective *CreateEmpty(const ASTContext &C, unsigned NumClauses, 967 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, 978 static OMPForSimdDirective *CreateEmpty(const ASTContext &C, 1038 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, 1047 static OMPSectionsDirective *CreateEmpty(const ASTContext &C, [all …]
|
D | ASTUnresolvedSet.h | 27 DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {} in DeclsTy() 39 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {} in ASTUnresolvedSet() 50 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() 74 void reserve(ASTContext &C, unsigned N) { in reserve() 78 void append(ASTContext &C, iterator I, iterator E) { in append() 91 void getFromExternalSource(ASTContext &C) const; 94 ASTUnresolvedSet &get(ASTContext &C) const { in get() 100 void reserve(ASTContext &C, unsigned N) { Impl.reserve(C, N); } in reserve() 101 void addLazyDecl(ASTContext &C, uintptr_t ID, AccessSpecifier AS) { in addLazyDecl()
|
D | DeclTemplate.h | 75 static TemplateParameterList *Create(const ASTContext &C, 196 static TemplateArgumentList *CreateCopy(ASTContext &Context, 239 void *allocateDefaultArgStorageChain(const ASTContext &C); 306 void setInherited(const ASTContext &C, ParmDecl *InheritedFrom) { in setInherited() 414 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template, 490 ASTContext &Context) { in Profile() 590 Create(ASTContext &Context, const UnresolvedSetImpl &Templates, 710 virtual CommonBase *newCommon(ASTContext &C) const = 0; 713 RedeclarableTemplateDecl(Kind DK, ASTContext &C, DeclContext *DC, in RedeclarableTemplateDecl() 868 FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L, [all …]
|
D | Decl.h | 66 friend class ASTContext; variable 82 ASTContext &Ctx; 88 explicit TranslationUnitDecl(ASTContext &ctx); 90 ASTContext &getASTContext() const { return Ctx; } in getASTContext() 95 static TranslationUnitDecl *Create(ASTContext &C); 125 static PragmaCommentDecl *Create(const ASTContext &C, TranslationUnitDecl *DC, 129 static PragmaCommentDecl *CreateDeserialized(ASTContext &C, unsigned ID, 159 static PragmaDetectMismatchDecl *Create(const ASTContext &C, 164 CreateDeserialized(ASTContext &C, unsigned ID, unsigned NameValueSize); 198 static ExternCContextDecl *Create(const ASTContext &C, [all …]
|
D | DeclCXX.h | 130 static AccessSpecDecl *Create(ASTContext &C, AccessSpecifier AS, in Create() 135 static AccessSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID); 643 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC, 687 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC, 692 static CXXRecordDecl *CreateLambda(const ASTContext &C, DeclContext *DC, 696 static CXXRecordDecl *CreateDeserialized(const ASTContext &C, unsigned ID); 1612 void viewInheritance(ASTContext& Context) const; 1739 CXXMethodDecl(Kind DK, ASTContext &C, CXXRecordDecl *RD, in CXXMethodDecl() 1751 static CXXMethodDecl *Create(ASTContext &C, CXXRecordDecl *RD, 1760 static CXXMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID); [all …]
|
D | ASTImporter.h | 25 class ASTContext; variable 45 ASTContext &ToContext, &FromContext; 94 ASTImporter(ASTContext &ToContext, FileManager &ToFileManager, 95 ASTContext &FromContext, FileManager &FromFileManager, 256 ASTContext &getToContext() const { return ToContext; } in getToContext() 259 ASTContext &getFromContext() const { return FromContext; } in getFromContext()
|
D | Type.h | 76 class ASTContext; 735 bool isConstant(const ASTContext& Ctx) const { 740 bool isPODType(const ASTContext &Context) const; 744 bool isCXX98PODType(const ASTContext &Context) const; 749 bool isCXX11PODType(const ASTContext &Context) const; 752 bool isTrivialType(const ASTContext &Context) const; 755 bool isTriviallyCopyableType(const ASTContext &Context) const; 882 QualType getNonLValueExprType(const ASTContext &Context) const; 892 QualType getDesugaredType(const ASTContext &Context) const { 905 QualType getSingleStepDesugaredType(const ASTContext &Context) const { [all …]
|
D | ASTVector.h | 30 class ASTContext; variable 56 ASTVector(const ASTContext &C, unsigned N) in ASTVector() 157 void push_back(const_reference Elt, const ASTContext &C) { in push_back() 168 void reserve(const ASTContext &C, unsigned N) { in reserve() 180 void append(const ASTContext &C, in_iter in_start, in_iter in_end) { in append() 199 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { in append() 216 iterator insert(const ASTContext &C, iterator I, const T &Elt) { in insert() 237 iterator insert(const ASTContext &C, iterator I, size_type NumToInsert, in insert() 286 iterator insert(const ASTContext &C, iterator I, ItTy From, ItTy To) { in insert() 338 void resize(const ASTContext &C, unsigned N, const T &NV) { in resize() [all …]
|
D | DeclOpenMP.h | 63 static OMPThreadPrivateDecl *Create(ASTContext &C, DeclContext *DC, 66 static OMPThreadPrivateDecl *CreateDeserialized(ASTContext &C, 129 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, 132 static OMPDeclareReductionDecl *CreateDeserialized(ASTContext &C, 175 OMPCapturedExprDecl(ASTContext &C, DeclContext *DC, IdentifierInfo *Id, in OMPCapturedExprDecl() 183 static OMPCapturedExprDecl *Create(ASTContext &C, DeclContext *DC, 186 static OMPCapturedExprDecl *CreateDeserialized(ASTContext &C, unsigned ID);
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 47 unsigned ASTContext::NumImplicitDefaultConstructors; 48 unsigned ASTContext::NumImplicitDefaultConstructorsDeclared; 49 unsigned ASTContext::NumImplicitCopyConstructors; 50 unsigned ASTContext::NumImplicitCopyConstructorsDeclared; 51 unsigned ASTContext::NumImplicitMoveConstructors; 52 unsigned ASTContext::NumImplicitMoveConstructorsDeclared; 53 unsigned ASTContext::NumImplicitCopyAssignmentOperators; 54 unsigned ASTContext::NumImplicitCopyAssignmentOperatorsDeclared; 55 unsigned ASTContext::NumImplicitMoveAssignmentOperators; 56 unsigned ASTContext::NumImplicitMoveAssignmentOperatorsDeclared; [all …]
|
D | DeclTemplate.cpp | 58 const ASTContext &C, SourceLocation TemplateLoc, SourceLocation LAngleLoc, in Create() 120 void *allocateDefaultArgStorageChain(const ASTContext &C) { in allocateDefaultArgStorageChain() 202 static void GenerateInjectedTemplateArgs(ASTContext &Context, in GenerateInjectedTemplateArgs() 246 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C, in Create() 256 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 263 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 276 ASTContext &Context = getASTContext(); in LoadLazySpecializations() 323 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, in Create() 337 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 350 ASTContext &Context = getASTContext(); in LoadLazySpecializations() [all …]
|
D | StmtOpenMP.cpp | 58 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() 72 OMPParallelDirective *OMPParallelDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() 83 OMPSimdDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() 112 OMPSimdDirective *OMPSimdDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() 125 OMPForDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() 165 OMPForDirective *OMPForDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() 178 OMPForSimdDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() 217 OMPForSimdDirective *OMPForSimdDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() 230 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() 244 OMPSectionsDirective *OMPSectionsDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() [all …]
|
D | OpenMPClause.cpp | 172 OMPPrivateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create() 184 OMPPrivateClause *OMPPrivateClause::CreateEmpty(const ASTContext &C, in CreateEmpty() 203 OMPFirstprivateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create() 217 OMPFirstprivateClause *OMPFirstprivateClause::CreateEmpty(const ASTContext &C, in CreateEmpty() 252 const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, in Create() 268 OMPLastprivateClause *OMPLastprivateClause::CreateEmpty(const ASTContext &C, in CreateEmpty() 274 OMPSharedClause *OMPSharedClause::Create(const ASTContext &C, in Create() 286 OMPSharedClause *OMPSharedClause::CreateEmpty(const ASTContext &C, unsigned N) { in CreateEmpty() 316 const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, in Create() 342 OMPLinearClause *OMPLinearClause::CreateEmpty(const ASTContext &C, in CreateEmpty() [all …]
|
D | DeclCXX.cpp | 33 AccessSpecDecl *AccessSpecDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 37 void LazyASTUnresolvedSet::getFromExternalSource(ASTContext &C) const { in getFromExternalSource() 85 CXXRecordDecl::CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, in CXXRecordDecl() 94 CXXRecordDecl *CXXRecordDecl::Create(const ASTContext &C, TagKind TK, in Create() 110 CXXRecordDecl::CreateLambda(const ASTContext &C, DeclContext *DC, in CreateLambda() 128 CXXRecordDecl::CreateDeserialized(const ASTContext &C, unsigned ID) { in CreateDeserialized() 139 ASTContext &C = getASTContext(); in setBases() 608 ASTContext &Ctx = getASTContext(); in addedMember() 710 ASTContext &Context = getASTContext(); in addedMember() 974 ASTContext &Ctx = getASTContext(); in addedMember() [all …]
|
D | ExprCXX.cpp | 43 QualType CXXTypeidExpr::getTypeOperand(ASTContext &Context) const { in getTypeOperand() 50 QualType CXXUuidofExpr::getTypeOperand(ASTContext &Context) const { in getTypeOperand() 63 CXXNewExpr::CXXNewExpr(const ASTContext &C, bool globalNew, in CXXNewExpr() 127 void CXXNewExpr::AllocateArgsArray(const ASTContext &C, bool isArray, in AllocateArgsArray() 137 bool CXXNewExpr::shouldNullCheckAllocation(const ASTContext &Ctx) const { in shouldNullCheckAllocation() 162 CXXPseudoDestructorExpr::CXXPseudoDestructorExpr(const ASTContext &Context, in CXXPseudoDestructorExpr() 213 UnresolvedLookupExpr::Create(const ASTContext &C, in Create() 237 UnresolvedLookupExpr::CreateEmpty(const ASTContext &C, in CreateEmpty() 250 OverloadExpr::OverloadExpr(StmtClass K, const ASTContext &C, in OverloadExpr() 320 void OverloadExpr::initializeResults(const ASTContext &C, in initializeResults() [all …]
|
D | DeclOpenMP.cpp | 29 OMPThreadPrivateDecl *OMPThreadPrivateDecl::Create(ASTContext &C, in Create() 41 OMPThreadPrivateDecl *OMPThreadPrivateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 63 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create() 70 OMPDeclareReductionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 92 OMPCapturedExprDecl *OMPCapturedExprDecl::Create(ASTContext &C, DeclContext *DC, in Create() 98 OMPCapturedExprDecl *OMPCapturedExprDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
|
D | NestedNameSpecifier.cpp | 28 NestedNameSpecifier::FindOrInsert(const ASTContext &Context, in FindOrInsert() 46 NestedNameSpecifier::Create(const ASTContext &Context, in Create() 59 NestedNameSpecifier::Create(const ASTContext &Context, in Create() 75 NestedNameSpecifier::Create(const ASTContext &Context, in Create() 91 NestedNameSpecifier::Create(const ASTContext &Context, in Create() 103 NestedNameSpecifier::Create(const ASTContext &Context, IdentifierInfo *II) { in Create() 113 NestedNameSpecifier::GlobalSpecifier(const ASTContext &Context) { in GlobalSpecifier() 122 NestedNameSpecifier::SuperSpecifier(const ASTContext &Context, in SuperSpecifier() 549 void NestedNameSpecifierLocBuilder::Extend(ASTContext &Context, in Extend() 562 void NestedNameSpecifierLocBuilder::Extend(ASTContext &Context, in Extend() [all …]
|
D | ExprClassification.cpp | 26 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() 413 static Cl::Kinds ClassifyDecl(ASTContext &Ctx, const Decl *D) { in ClassifyDecl() [all …]
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchFinder.h | 76 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context); 85 clang::ASTContext * const Context; 183 template <typename T> void match(const T &Node, ASTContext &Context) { in match() 187 ASTContext &Context); 191 void matchAST(ASTContext &Context); 236 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context); 241 ASTContext &Context); 247 SmallVector<BoundNodes, 1> match(MatcherT Matcher, ASTContext &Context); 282 ASTContext &Context) { in match() 292 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match() [all …]
|
/external/clang/unittests/Tooling/ |
D | FixItTest.cpp | 28 std::function<void(CallExpr *, ASTContext *Context)> OnCall; 31 std::string LocationToString(SourceLocation Loc, ASTContext *Context) { in LocationToString() 38 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { in TEST() 49 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { in TEST() 59 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { in TEST() 70 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { in TEST() 84 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { in TEST() 104 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { in TEST() 119 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { in TEST() 146 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { in TEST() [all …]
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 35 static QualType getFullyQualifiedType(QualType QT, const ASTContext &Ctx, 47 const ASTContext &Ctx, 62 const ASTContext &Ctx, const TypeDecl *TD, 66 const ASTContext &Ctx, const Decl *decl, 70 const ASTContext &Ctx, NestedNameSpecifier *scope, bool WithGlobalNsPrefix); 72 static bool getFullyQualifiedTemplateName(const ASTContext &Ctx, in getFullyQualifiedTemplateName() 106 static bool getFullyQualifiedTemplateArgument(const ASTContext &Ctx, in getFullyQualifiedTemplateArgument() 132 static const Type *getFullyQualifiedTemplateType(const ASTContext &Ctx, in getFullyQualifiedTemplateType() 202 static NestedNameSpecifier *createOuterNNS(const ASTContext &Ctx, const Decl *D, in createOuterNNS() 228 const ASTContext &Ctx, NestedNameSpecifier *Scope, in getFullyQualifiedNestedNameSpecifier() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 78 auto &ASTContext = RD->getASTContext(); in visitRecord() local 79 const ASTRecordLayout &RL = ASTContext.getASTRecordLayout(RD); in visitRecord() 82 CharUnits BaselinePad = calculateBaselinePad(RD, ASTContext, RL); in visitRecord() 85 CharUnits OptimalPad = calculateOptimalPad(RD, ASTContext, RL); in visitRecord() 167 const ASTContext &ASTContext, in calculateBaselinePad() argument 170 CharUnits Offset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateBaselinePad() 176 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad() 178 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits); in calculateBaselinePad() 203 const ASTContext &ASTContext, in calculateOptimalPad() argument 234 CharUnits NewOffset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateOptimalPad()
|
D | SelectorExtras.h | 19 static inline Selector getKeywordSelectorImpl(ASTContext &Ctx, in getKeywordSelectorImpl() 31 static inline Selector getKeywordSelector(ASTContext &Ctx, va_list argp) { in getKeywordSelector() 38 static inline Selector getKeywordSelector(ASTContext &Ctx, in getKeywordSelector() 48 static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx, in lazyInitKeywordSelector() 58 static inline void lazyInitNullarySelector(Selector &Sel, ASTContext &Ctx, in lazyInitNullarySelector()
|
/external/clang/include/clang/Index/ |
D | CommentToXML.h | 17 class ASTContext; variable 37 const ASTContext &Context); 41 const ASTContext &Context); 45 const ASTContext &Context);
|