| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTImporter.h | 97 clang::Decl *CopyDecl(clang::ASTContext *dst_ctx, clang::Decl *decl); 110 clang::Decl *DeportDecl(clang::ASTContext *dst_ctx, clang::Decl *decl); 200 void InstallMapCompleter(clang::ASTContext *dst_ctx, in InstallMapCompleter() 215 void ForgetDestination(clang::ASTContext *dst_ctx); 216 void ForgetSource(clang::ASTContext *dst_ctx, clang::ASTContext *src_ctx); 221 DeclOrigin(clang::ASTContext *_ctx, clang::Decl *_decl) in DeclOrigin() 239 clang::ASTContext *ctx = nullptr; 262 ASTImporterDelegate(ClangASTImporter &main, clang::ASTContext *target_ctx, in ASTImporterDelegate() 263 clang::ASTContext *source_ctx) in ASTImporterDelegate() 292 CxxModuleScope(ASTImporterDelegate &delegate, clang::ASTContext *dst_ctx) in CxxModuleScope() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | NestedNameSpecifier.h | 30 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 D | ASTUnresolvedSet.h | 34 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() 84 void reserve(ASTContext &C, unsigned N) { in reserve() 88 void append(ASTContext &C, iterator I, iterator E) { in append() 101 void getFromExternalSource(ASTContext &C) const; 104 ASTUnresolvedSet &get(ASTContext &C) const { in get() 110 void reserve(ASTContext &C, unsigned N) { Impl.reserve(C, N); } in reserve() 112 void addLazyDecl(ASTContext &C, uintptr_t ID, AccessSpecifier AS) { in addLazyDecl()
|
| H A D | StmtOpenMP.h | 163 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, 653 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, 662 static OMPParallelDirective *CreateEmpty(const ASTContext &C, 1603 static OMPSimdDirective *Create(const ASTContext &C, SourceLocation StartLoc, 1616 static OMPSimdDirective *CreateEmpty(const ASTContext &C, unsigned NumClauses, 1681 static OMPForDirective *Create(const ASTContext &C, SourceLocation StartLoc, [all …]
|
| H A D | ASTContextAllocate.h | 21 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 D | DeclTemplate.h | 96 TemplateParameterList(const ASTContext& C, SourceLocation TemplateLoc, 113 static TemplateParameterList *Create(const ASTContext &C, 201 void print(raw_ostream &Out, const ASTContext &Context, 203 void print(raw_ostream &Out, const ASTContext &Context, 223 FixedSizeTemplateParameterListStorage(const ASTContext &C, in FixedSizeTemplateParameterListStorage() 262 static TemplateArgumentList *CreateCopy(ASTContext &Context, 302 void *allocateDefaultArgStorageChain(const ASTContext &C); 374 void setInherited(const ASTContext &C, ParmDecl *InheritedFrom) { in setInherited() 526 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template, 619 ASTContext &Context) { in Profile() [all …]
|
| H A D | ExternalASTMerger.h | 54 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 D | Decl.h | 54 class ASTContext; variable 97 ASTContext &Ctx; 103 explicit TranslationUnitDecl(ASTContext &ctx); 118 ASTContext &getASTContext() const { return Ctx; } in getASTContext() 123 static TranslationUnitDecl *Create(ASTContext &C); 154 static PragmaCommentDecl *Create(const ASTContext &C, TranslationUnitDecl *DC, 158 static PragmaCommentDecl *CreateDeserialized(ASTContext &C, unsigned ID, 188 static PragmaDetectMismatchDecl *Create(const ASTContext &C, 193 CreateDeserialized(ASTContext &C, unsigned ID, unsigned NameValueSize); 228 static ExternCContextDecl *Create(const ASTContext &C, [all …]
|
| H A D | Attr.h | 34 class ASTContext; variable 64 void *operator new(size_t Bytes, ASTContext &C, 68 void operator delete(void *Ptr, ASTContext &C, size_t Alignment) noexcept { in delete() 73 Attr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in Attr() 100 Attr *clone(ASTContext &C) const; 112 TypeAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in TypeAttr() 125 StmtAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in StmtAttr() 138 InheritableAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in InheritableAttr() 163 DeclOrStmtAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in DeclOrStmtAttr() 178 InheritableParamAttr(ASTContext &Context, in InheritableParamAttr() [all …]
|
| H A D | DeclCXX.h | 56 class ASTContext; variable 117 static AccessSpecDecl *Create(ASTContext &C, AccessSpecifier AS, in Create() 123 static AccessSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID); 437 void AddCaptureList(ASTContext &Ctx, Capture *CaptureList); 492 bool hasSubobjectAtOffsetZeroOfEmptyBaseType(ASTContext &Ctx, 496 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC, 557 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC, 562 static CXXRecordDecl *CreateLambda(const ASTContext &C, DeclContext *DC, 566 static CXXRecordDecl *CreateDeserialized(const ASTContext &C, unsigned ID); 1052 void setCaptures(ASTContext &Context, ArrayRef<LambdaCapture> Captures); [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Transformer/ |
| H A D | SourceCodeBuilders.h | 54 bool isKnownPointerLikeType(QualType Ty, ASTContext &Context); 63 const ASTContext &Context); 68 const ASTContext &Context); 73 const ASTContext &Context); 83 std::optional<std::string> buildDot(const Expr &E, const ASTContext &Context); 93 std::optional<std::string> buildArrow(const Expr &E, const ASTContext &Context); 114 buildAccess(const Expr &E, ASTContext &Context,
|
| H A D | SourceCode.h | 28 ASTContext &Context); 35 ASTContext &Context) { in getExtendedRange() 49 CharSourceRange getAssociatedRange(const Decl &D, ASTContext &Context); 52 StringRef getText(CharSourceRange Range, const ASTContext &Context); 56 StringRef getText(const T &Node, const ASTContext &Context) { in getText() 85 ASTContext &Context) { in getExtendedText() 111 getFileRangeForEdit(const CharSourceRange &EditRange, const ASTContext &Context, 131 getFileRange(const CharSourceRange &EditRange, const ASTContext &Context, in getFileRange()
|
| /openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchFinder.h | 76 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context); 85 clang::ASTContext * const Context; 194 template <typename T> void match(const T &Node, ASTContext &Context) { in match() 197 void match(const clang::DynTypedNode &Node, ASTContext &Context); 201 void matchAST(ASTContext &Context); 254 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context); 258 ASTContext &Context); 264 SmallVector<BoundNodes, 1> match(MatcherT Matcher, ASTContext &Context); 303 ASTContext &Context) { in match() 313 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | DeclOpenMP.cpp | 28 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 D | StmtOpenMP.cpp | 262 OMPMetaDirective *OMPMetaDirective::Create(const ASTContext &C, in Create() 273 OMPMetaDirective *OMPMetaDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() 282 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() 292 OMPParallelDirective *OMPParallelDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() 301 OMPSimdDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() 327 OMPSimdDirective *OMPSimdDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() 337 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() 398 OMPForDirective *OMPForDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() 408 OMPTileDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() 420 OMPTileDirective *OMPTileDirective::CreateEmpty(const ASTContext &C, in CreateEmpty() [all …]
|
| H A D | ASTContext.cpp | 205 RawComment *ASTContext::getRawCommentForDeclNoCacheImpl( in getRawCommentForDeclNoCacheImpl() 283 RawComment *ASTContext::getRawCommentForDeclNoCache(const Decl *D) const { in getRawCommentForDeclNoCache() 310 void ASTContext::addComment(const RawComment &RC) { in addComment() 386 const RawComment *ASTContext::getRawCommentForAnyRedecl( in getRawCommentForAnyRedecl() 457 void ASTContext::cacheRawCommentForDecl(const Decl &OriginalD, in cacheRawCommentForDecl() 483 void ASTContext::attachCommentsToJustParsedDecls(ArrayRef<Decl *> Decls, in attachCommentsToJustParsedDecls() 539 comments::FullComment *ASTContext::cloneFullComment(comments::FullComment *FC, in cloneFullComment() 554 comments::FullComment *ASTContext::getLocalCommentForDeclUncached(const Decl *D) const { in getLocalCommentForDeclUncached() 559 comments::FullComment *ASTContext::getCommentForDecl( in getCommentForDecl() 667 ASTContext::CanonicalTemplateTemplateParm::Profile(llvm::FoldingSetNodeID &ID, in Profile() [all …]
|
| H A D | DeclTemplate.cpp | 48 TemplateParameterList::TemplateParameterList(const ASTContext& C, in TemplateParameterList() 119 TemplateParameterList::Create(const ASTContext &C, SourceLocation TemplateLoc, in Create() 220 void *allocateDefaultArgStorageChain(const ASTContext &C) { in allocateDefaultArgStorageChain() 306 ASTContext &Context = getASTContext(); in loadLazySpecializationsImpl() 377 FunctionTemplateDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, in Create() 387 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 394 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 460 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, DeclContext *DC, in Create() 472 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 495 ClassTemplateDecl::newCommon(ASTContext &C) const { in newCommon() [all …]
|
| H A D | ExprCXX.cpp | 150 bool CXXTypeidExpr::isMostDerived(ASTContext &Context) const { in isMostDerived() 162 QualType CXXTypeidExpr::getTypeOperand(ASTContext &Context) const { in getTypeOperand() 169 QualType CXXUuidofExpr::getTypeOperand(ASTContext &Context) const { in getTypeOperand() 244 CXXNewExpr::Create(const ASTContext &Ctx, bool IsGlobalNew, in Create() 267 CXXNewExpr *CXXNewExpr::CreateEmpty(const ASTContext &Ctx, bool IsArray, in CreateEmpty() 322 const ASTContext &Context, Expr *Base, bool isArrow, in CXXPseudoDestructorExpr() 351 const ASTContext &Context, CXXRecordDecl *NamingClass, in UnresolvedLookupExpr() 371 const ASTContext &Context, CXXRecordDecl *NamingClass, in Create() 385 const ASTContext &Context, CXXRecordDecl *NamingClass, in Create() 403 const ASTContext &Context, unsigned NumResults, in CreateEmpty() [all …]
|
| H A D | DeclCXX.cpp | 60 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() 196 ASTContext &C = getASTContext(); in setBases() 597 ASTContext &Ctx, const CXXRecordDecl *XFirst) { in hasSubobjectAtOffsetZeroOfEmptyBaseType() 862 ASTContext &Ctx = getASTContext(); in addedMember() 922 ASTContext &Context = getASTContext(); in addedMember() [all …]
|
| H A D | QualTypeNames.cpp | 31 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() 94 static bool getFullyQualifiedTemplateArgument(const ASTContext &Ctx, in getFullyQualifiedTemplateArgument() 120 static const Type *getFullyQualifiedTemplateType(const ASTContext &Ctx, in getFullyQualifiedTemplateType() 188 static NestedNameSpecifier *createOuterNNS(const ASTContext &Ctx, const Decl *D, in createOuterNNS() 214 const ASTContext &Ctx, NestedNameSpecifier *Scope, in getFullyQualifiedNestedNameSpecifier() 267 const ASTContext &Ctx, const Decl *Decl, in createNestedNameSpecifierForScopeOf() [all …]
|
| H A D | ExprConcepts.cpp | 34 const ASTContext &C, NestedNameSpecifierLoc NNS, in ConceptSpecializationExpr() 62 const ASTContext &C, ConceptDecl *NamedConcept, in Create() 71 const ASTContext &C, NestedNameSpecifierLoc NNS, in Create() 83 const ASTContext &C, ConceptDecl *NamedConcept, in ConceptSpecializationExpr() 107 const ASTContext &C, ConceptDecl *NamedConcept, in Create() 126 RequiresExpr::RequiresExpr(ASTContext &C, SourceLocation RequiresKWLoc, in RequiresExpr() 169 RequiresExpr::RequiresExpr(ASTContext &C, EmptyShell Empty, in RequiresExpr() 176 RequiresExpr::Create(ASTContext &C, SourceLocation RequiresKWLoc, in Create() 190 RequiresExpr::Create(ASTContext &C, EmptyShell Empty, in Create()
|
| H A D | ASTConcept.cpp | 24 const ASTContext &C, const UnsatisfiedConstraintRecord &Detail, in CreatUnsatisfiedConstraintRecord() 45 const ASTContext &C, const ConstraintSatisfaction &Satisfaction) in ASTConstraintSatisfaction() 56 const ASTContext &C, const ASTConstraintSatisfaction &Satisfaction) in ASTConstraintSatisfaction() 67 ASTConstraintSatisfaction::Create(const ASTContext &C, in Create() 77 const ASTContext &C, const ASTConstraintSatisfaction &Satisfaction) { in Rebuild() 85 llvm::FoldingSetNodeID &ID, const ASTContext &C, in Profile()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 90 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() 199 if (FD->isZeroSize(ASTContext)) in calculateBaselinePad() 205 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad() 207 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits); in calculateBaselinePad() 232 calculateOptimalPad(const RecordDecl *RD, const ASTContext &ASTContext, in calculateOptimalPad() argument [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/ |
| H A D | SourceCodeBuilders.cpp | 65 bool tooling::isKnownPointerLikeType(QualType Ty, ASTContext &Context) { in isKnownPointerLikeType() 76 const ASTContext &Context) { in buildParens() 86 tooling::buildDereference(const Expr &E, const ASTContext &Context) { in buildDereference() 107 const ASTContext &Context) { in buildAddressOf() 132 buildAccessForValue(const Expr &E, const ASTContext &Context) { in buildAccessForValue() 158 buildAccessForPointer(const Expr &E, const ASTContext &Context) { in buildAccessForPointer() 181 const ASTContext &Context) { in buildDot() 186 const ASTContext &Context) { in buildArrow() 201 static bool treatLikePointer(QualType Ty, PLTClass C, ASTContext &Context) { in treatLikePointer() 214 ASTContext &Context, in buildAccess()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Index/ |
| H A D | CommentToXML.h | 15 class ASTContext; variable 30 const ASTContext &Context); 34 const ASTContext &Context); 38 const ASTContext &Context);
|