Home
last modified time | relevance | path

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

12345678910>>...18

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DNestedNameSpecifier.h30 class ASTContext; variable
114 static NestedNameSpecifier *FindOrInsert(const ASTContext &Context,
125 static NestedNameSpecifier *Create(const ASTContext &Context,
130 static NestedNameSpecifier *Create(const ASTContext &Context,
135 static NestedNameSpecifier *Create(const ASTContext &Context,
140 static NestedNameSpecifier *Create(const ASTContext &Context,
150 static NestedNameSpecifier *Create(const ASTContext &Context,
155 static NestedNameSpecifier *GlobalSpecifier(const ASTContext &Context);
159 static NestedNameSpecifier *SuperSpecifier(const ASTContext &Context,
403 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
[all …]
H A DStmtOpenMP.h163 static OMPCanonicalLoop *create(const ASTContext &Ctx, Stmt *LoopStmt, in create()
176 static OMPCanonicalLoop *createEmpty(const ASTContext &Ctx) { in createEmpty()
301 static T *createDirective(const ASTContext &C, ArrayRef<OMPClause *> Clauses, in createDirective()
317 static T *createEmptyDirective(const ASTContext &C, unsigned NumClauses, in createEmptyDirective()
333 static T *createEmptyDirective(const ASTContext &C, unsigned NumClauses,
647 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
656 static OMPParallelDirective *CreateEmpty(const ASTContext &C,
1502 static OMPSimdDirective *Create(const ASTContext &C, SourceLocation StartLoc,
1515 static OMPSimdDirective *CreateEmpty(const ASTContext &C, unsigned NumClauses,
1580 static OMPForDirective *Create(const ASTContext &C, SourceLocation StartLoc,
[all …]
H A DASTUnresolvedSet.h34 DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {} in DeclsTy()
44 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {} in ASTUnresolvedSet()
55 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl()
79 void reserve(ASTContext &C, unsigned N) { in reserve()
83 void append(ASTContext &C, iterator I, iterator E) { in append()
96 void getFromExternalSource(ASTContext &C) const;
99 ASTUnresolvedSet &get(ASTContext &C) const { in get()
105 void reserve(ASTContext &C, unsigned N) { Impl.reserve(C, N); } in reserve()
107 void addLazyDecl(ASTContext &C, uintptr_t ID, AccessSpecifier AS) { in addLazyDecl()
H A DDeclTemplate.h94 TemplateParameterList(const ASTContext& C, SourceLocation TemplateLoc,
111 static TemplateParameterList *Create(const ASTContext &C,
201 void print(raw_ostream &Out, const ASTContext &Context,
203 void print(raw_ostream &Out, const ASTContext &Context,
222 FixedSizeTemplateParameterListStorage(const ASTContext &C, in FixedSizeTemplateParameterListStorage()
261 static TemplateArgumentList *CreateCopy(ASTContext &Context,
302 void *allocateDefaultArgStorageChain(const ASTContext &C);
374 void setInherited(const ASTContext &C, ParmDecl *InheritedFrom) { in setInherited()
516 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template,
609 ASTContext &Context) { in Profile()
[all …]
H A DDecl.h54 class ASTContext; variable
83 ASTContext &Ctx;
89 explicit TranslationUnitDecl(ASTContext &ctx);
94 ASTContext &getASTContext() const { return Ctx; } in getASTContext()
99 static TranslationUnitDecl *Create(ASTContext &C);
130 static PragmaCommentDecl *Create(const ASTContext &C, TranslationUnitDecl *DC,
134 static PragmaCommentDecl *CreateDeserialized(ASTContext &C, unsigned ID,
164 static PragmaDetectMismatchDecl *Create(const ASTContext &C,
169 CreateDeserialized(ASTContext &C, unsigned ID, unsigned NameValueSize);
204 static ExternCContextDecl *Create(const ASTContext &C,
[all …]
H A DType.h109 class ASTContext;
803 bool isConstant(const ASTContext& Ctx) const {
808 bool isPODType(const ASTContext &Context) const;
812 bool isCXX98PODType(const ASTContext &Context) const;
818 bool isCXX11PODType(const ASTContext &Context) const;
821 bool isTrivialType(const ASTContext &Context) const;
824 bool isTriviallyCopyableType(const ASTContext &Context) const;
958 QualType getNonLValueExprType(const ASTContext &Context) const;
974 QualType getDesugaredType(const ASTContext &Context) const {
987 QualType getSingleStepDesugaredType(const ASTContext &Context) const {
[all …]
H A DASTContextAllocate.h21 class ASTContext; variable
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 DExternalASTMerger.h54 ASTContext *AST;
74 ASTContext &AST;
84 ASTContext &AST;
95 ImporterSource(ASTContext &AST, FileManager &FM, const OriginMap &OM,
98 ASTContext &getASTContext() const { return AST; } in getASTContext()
174 bool HasImporterForOrigin(ASTContext &OriginContext);
179 ASTImporter &ImporterForOrigin(ASTContext &OriginContext);
H A DDeclCXX.h56 class ASTContext; variable
117 static AccessSpecDecl *Create(ASTContext &C, AccessSpecifier AS, in Create()
123 static AccessSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID);
478 bool hasSubobjectAtOffsetZeroOfEmptyBaseType(ASTContext &Ctx,
482 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC,
543 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
548 static CXXRecordDecl *CreateLambda(const ASTContext &C, DeclContext *DC,
552 static CXXRecordDecl *CreateDeserialized(const ASTContext &C, unsigned ID);
1038 void setCaptures(ASTContext &Context, ArrayRef<LambdaCapture> Captures);
1657 void viewInheritance(ASTContext& Context) const;
[all …]
H A DAttr.h35 class ASTContext; variable
70 void *operator new(size_t Bytes, ASTContext &C,
74 void operator delete(void *Ptr, ASTContext &C, size_t Alignment) noexcept { in delete()
79 Attr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in Attr()
106 Attr *clone(ASTContext &C) const;
116 TypeAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in TypeAttr()
129 StmtAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in StmtAttr()
142 InheritableAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in InheritableAttr()
167 DeclOrStmtAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in DeclOrStmtAttr()
182 InheritableParamAttr(ASTContext &Context, in InheritableParamAttr()
[all …]
H A DExpr.h42 class ASTContext; variable
257 ASTContext &Ctx) const;
290 LValueClassification ClassifyLValue(ASTContext &Ctx) const;
321 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const;
400 Classification Classify(ASTContext &Ctx) const { in Classify()
412 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ in ClassifyModifiable()
455 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
534 Optional<llvm::APSInt> getIntegerConstantExpr(const ASTContext &Ctx,
537 bool isIntegerConstantExpr(const ASTContext &Ctx,
542 bool isCXX98IntegralConstantExpr(const ASTContext &Ctx) const;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp200 RawComment *ASTContext::getRawCommentForDeclNoCacheImpl( in getRawCommentForDeclNoCacheImpl()
278 RawComment *ASTContext::getRawCommentForDeclNoCache(const Decl *D) const { in getRawCommentForDeclNoCache()
302 void ASTContext::addComment(const RawComment &RC) { in addComment()
378 const RawComment *ASTContext::getRawCommentForAnyRedecl( in getRawCommentForAnyRedecl()
449 void ASTContext::cacheRawCommentForDecl(const Decl &OriginalD, in cacheRawCommentForDecl()
475 void ASTContext::attachCommentsToJustParsedDecls(ArrayRef<Decl *> Decls, in attachCommentsToJustParsedDecls()
531 comments::FullComment *ASTContext::cloneFullComment(comments::FullComment *FC, in cloneFullComment()
546 comments::FullComment *ASTContext::getLocalCommentForDeclUncached(const Decl *D) const { in getLocalCommentForDeclUncached()
551 comments::FullComment *ASTContext::getCommentForDecl( in getCommentForDecl()
659 ASTContext::CanonicalTemplateTemplateParm::Profile(llvm::FoldingSetNodeID &ID, in Profile()
[all …]
H A DStmtOpenMP.cpp238 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create()
248 OMPParallelDirective *OMPParallelDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
257 OMPSimdDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create()
283 OMPSimdDirective *OMPSimdDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
293 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create()
328 OMPForDirective *OMPForDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
338 OMPTileDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create()
350 OMPTileDirective *OMPTileDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
359 OMPForSimdDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create()
393 OMPForSimdDirective *OMPForSimdDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
[all …]
H A DDeclTemplate.cpp47 TemplateParameterList::TemplateParameterList(const ASTContext& C, in TemplateParameterList()
117 TemplateParameterList::Create(const ASTContext &C, SourceLocation TemplateLoc, in Create()
211 void *allocateDefaultArgStorageChain(const ASTContext &C) { in allocateDefaultArgStorageChain()
287 ASTContext &Context = getASTContext(); in loadLazySpecializationsImpl()
341 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C, in Create()
351 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
358 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
440 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, in Create()
451 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
474 ClassTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
[all …]
H A DDeclOpenMP.cpp28 OMPThreadPrivateDecl *OMPThreadPrivateDecl::Create(ASTContext &C, in Create()
38 OMPThreadPrivateDecl *OMPThreadPrivateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
57 OMPAllocateDecl *OMPAllocateDecl::Create(ASTContext &C, DeclContext *DC, in Create()
66 OMPAllocateDecl *OMPAllocateDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
85 OMPRequiresDecl *OMPRequiresDecl::Create(ASTContext &C, DeclContext *DC, in Create()
92 OMPRequiresDecl *OMPRequiresDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
113 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create()
120 OMPDeclareReductionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
143 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create()
150 OMPDeclareMapperDecl *OMPDeclareMapperDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
[all …]
H A DExprCXX.cpp149 bool CXXTypeidExpr::isMostDerived(ASTContext &Context) const { in isMostDerived()
161 QualType CXXTypeidExpr::getTypeOperand(ASTContext &Context) const { in getTypeOperand()
168 QualType CXXUuidofExpr::getTypeOperand(ASTContext &Context) const { in getTypeOperand()
243 CXXNewExpr::Create(const ASTContext &Ctx, bool IsGlobalNew, in Create()
266 CXXNewExpr *CXXNewExpr::CreateEmpty(const ASTContext &Ctx, bool IsArray, in CreateEmpty()
320 const ASTContext &Context, Expr *Base, bool isArrow, in CXXPseudoDestructorExpr()
349 const ASTContext &Context, CXXRecordDecl *NamingClass, in UnresolvedLookupExpr()
369 const ASTContext &Context, CXXRecordDecl *NamingClass, in Create()
383 const ASTContext &Context, CXXRecordDecl *NamingClass, in Create()
401 const ASTContext &Context, unsigned NumResults, in CreateEmpty()
[all …]
H A DQualTypeNames.cpp31 const ASTContext &Ctx,
46 const ASTContext &Ctx, const TypeDecl *TD,
50 const ASTContext &Ctx, const Decl *decl,
54 const ASTContext &Ctx, NestedNameSpecifier *scope, bool WithGlobalNsPrefix);
56 static bool getFullyQualifiedTemplateName(const ASTContext &Ctx, in getFullyQualifiedTemplateName()
90 static bool getFullyQualifiedTemplateArgument(const ASTContext &Ctx, in getFullyQualifiedTemplateArgument()
116 static const Type *getFullyQualifiedTemplateType(const ASTContext &Ctx, in getFullyQualifiedTemplateType()
186 static NestedNameSpecifier *createOuterNNS(const ASTContext &Ctx, const Decl *D, in createOuterNNS()
212 const ASTContext &Ctx, NestedNameSpecifier *Scope, in getFullyQualifiedNestedNameSpecifier()
265 const ASTContext &Ctx, const Decl *Decl, in createNestedNameSpecifierForScopeOf()
[all …]
H A DDeclCXX.cpp60 AccessSpecDecl *AccessSpecDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
64 void LazyASTUnresolvedSet::getFromExternalSource(ASTContext &C) const { in getFromExternalSource()
123 CXXRecordDecl::CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, in CXXRecordDecl()
131 CXXRecordDecl *CXXRecordDecl::Create(const ASTContext &C, TagKind TK, in Create()
147 CXXRecordDecl::CreateLambda(const ASTContext &C, DeclContext *DC, in CreateLambda()
164 CXXRecordDecl::CreateDeserialized(const ASTContext &C, unsigned ID) { in CreateDeserialized()
194 ASTContext &C = getASTContext(); in setBases()
592 ASTContext &Ctx, const CXXRecordDecl *XFirst) { in hasSubobjectAtOffsetZeroOfEmptyBaseType()
868 ASTContext &Ctx = getASTContext(); in addedMember()
936 ASTContext &Context = getASTContext(); in addedMember()
[all …]
H A DStmt.cpp72 void *Stmt::operator new(size_t bytes, const ASTContext& C, in operator new()
360 int64_t Stmt::getID(const ASTContext &Context) const { in getID()
379 CompoundStmt *CompoundStmt::Create(const ASTContext &C, ArrayRef<Stmt *> Stmts, in Create()
386 CompoundStmt *CompoundStmt::CreateEmpty(const ASTContext &C, in CreateEmpty()
416 AttributedStmt *AttributedStmt::Create(const ASTContext &C, SourceLocation Loc, in Create()
425 AttributedStmt *AttributedStmt::CreateEmpty(const ASTContext &C, in CreateEmpty()
433 std::string AsmStmt::generateAsmString(const ASTContext &C) const { in generateAsmString()
533 void GCCAsmStmt::setOutputsAndInputsAndClobbers(const ASTContext &C, in setOutputsAndInputsAndClobbers()
595 const ASTContext &C, unsigned &DiagOffs) const { in AnalyzeAsmString()
771 std::string GCCAsmStmt::generateAsmString(const ASTContext &C) const { in generateAsmString()
[all …]
H A DOpenMPClause.cpp323 OMPOrderedClause *OMPOrderedClause::Create(const ASTContext &C, Expr *Num, in Create()
338 OMPOrderedClause *OMPOrderedClause::CreateEmpty(const ASTContext &C, in CreateEmpty()
374 OMPUpdateClause *OMPUpdateClause::Create(const ASTContext &C, in Create()
381 OMPUpdateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create()
395 OMPUpdateClause *OMPUpdateClause::CreateEmpty(const ASTContext &C, in CreateEmpty()
414 OMPPrivateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create()
426 OMPPrivateClause *OMPPrivateClause::CreateEmpty(const ASTContext &C, in CreateEmpty()
445 OMPFirstprivateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create()
459 OMPFirstprivateClause *OMPFirstprivateClause::CreateEmpty(const ASTContext &C, in CreateEmpty()
494 const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, in Create()
[all …]
H A DExprConcepts.cpp34 const ASTContext &C, NestedNameSpecifierLoc NNS, in ConceptSpecializationExpr()
72 ConceptSpecializationExpr::Create(const ASTContext &C, in Create()
90 const ASTContext &C, ConceptDecl *NamedConcept, in ConceptSpecializationExpr()
114 ConceptSpecializationExpr::Create(const ASTContext &C, in Create()
128 ConceptSpecializationExpr::Create(ASTContext &C, EmptyShell Empty, in Create()
144 RequiresExpr::RequiresExpr(ASTContext &C, SourceLocation RequiresKWLoc, in RequiresExpr()
187 RequiresExpr::RequiresExpr(ASTContext &C, EmptyShell Empty, in RequiresExpr()
194 RequiresExpr::Create(ASTContext &C, SourceLocation RequiresKWLoc, in Create()
208 RequiresExpr::Create(ASTContext &C, EmptyShell Empty, in Create()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h75 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context);
84 clang::ASTContext * const Context;
192 template <typename T> void match(const T &Node, ASTContext &Context) { in match()
195 void match(const clang::DynTypedNode &Node, ASTContext &Context);
199 void matchAST(ASTContext &Context);
251 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context);
255 ASTContext &Context);
261 SmallVector<BoundNodes, 1> match(MatcherT Matcher, ASTContext &Context);
300 ASTContext &Context) { in match()
310 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
H A DSourceCode.h27 ASTContext &Context);
34 ASTContext &Context) { in getExtendedRange()
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) { in getText()
80 ASTContext &Context) { in getExtendedText()
97 getRangeForEdit(const CharSourceRange &EditRange, const ASTContext &Context) { in getRangeForEdit()
H A DSourceCodeBuilders.h54 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);
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp90 auto &ASTContext = RD->getASTContext(); in visitRecord() local
91 const ASTRecordLayout &RL = ASTContext.getASTRecordLayout(RD); in visitRecord()
94 CharUnits BaselinePad = calculateBaselinePad(RD, ASTContext, RL); in visitRecord()
101 calculateOptimalPad(RD, ASTContext, RL); in visitRecord()
191 const ASTContext &ASTContext, in calculateBaselinePad() argument
194 CharUnits Offset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateBaselinePad()
200 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad()
202 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits); in calculateBaselinePad()
227 calculateOptimalPad(const RecordDecl *RD, const ASTContext &ASTContext, in calculateOptimalPad() argument
266 CharUnits NewOffset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateOptimalPad()

12345678910>>...18