Home
last modified time | relevance | path

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

12345678910>>...20

/freebsd/contrib/llvm-project/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,
417 void Extend(ASTContext &Context, IdentifierInfo *Identifier,
431 void Extend(ASTContext &Context, NamespaceDecl *Namespace,
446 void Extend(ASTContext &Context, NamespaceAliasDecl *Alias,
[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()
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 DStmtOpenMP.h176 static OMPCanonicalLoop *createEmpty(const ASTContext &Ctx) { in createEmpty()
1912 static OMPSectionDirective *Create(const ASTContext &C,
1977 static OMPScopeDirective *CreateEmpty(const ASTContext &C,
2030 static OMPSingleDirective *CreateEmpty(const ASTContext &C,
2070 static OMPMasterDirective *Create(const ASTContext &C,
2714 static OMPTaskwaitDirective *Create(const ASTContext &C,
2842 static OMPFlushDirective *CreateEmpty(const ASTContext &C,
2884 static OMPDepobjDirective *Create(const ASTContext &C,
3073 static OMPAtomicDirective *Create(const ASTContext &C,
3595 static OMPTeamsDirective *CreateEmpty(const ASTContext &C,
[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 DDeclTemplate.h116 static TemplateParameterList *Create(const ASTContext &C,
206 void print(raw_ostream &Out, const ASTContext &Context,
208 void print(raw_ostream &Out, const ASTContext &Context,
625 const ASTContext &Context) { in Profile()
997 CommonBase *newCommon(ASTContext &C) const override;
1731 void setDefaultArgument(const ASTContext &C,
1863 CreateDeserialized(ASTContext &C, unsigned ID);
2053 const ASTContext &Context) {
2115 CreateDeserialized(ASTContext &C, unsigned ID);
2849 const ASTContext &Context) {
[all …]
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 DDecl.h55 class ASTContext; variable
99 ASTContext &Ctx;
105 explicit TranslationUnitDecl(ASTContext &ctx);
120 ASTContext &getASTContext() const { return Ctx; } in getASTContext()
125 static TranslationUnitDecl *Create(ASTContext &C);
1310 VarDecl *getDefinition(ASTContext &);
1657 bool isNoDestroy(const ASTContext &) const;
3165 bool isZeroSize(const ASTContext &Ctx) const;
3350 friend class ASTContext; variable
4354 bool isMsStruct(const ASTContext &C) const;
[all …]
H A DAttr.h36 class ASTContext; variable
72 void *operator new(size_t Bytes, ASTContext &C,
76 void operator delete(void *Ptr, ASTContext &C, size_t Alignment) noexcept { in delete()
81 Attr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in Attr()
108 Attr *clone(ASTContext &C) const;
120 TypeAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in TypeAttr()
133 StmtAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in StmtAttr()
146 InheritableAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in InheritableAttr()
171 DeclOrStmtAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in DeclOrStmtAttr()
186 InheritableParamAttr(ASTContext &Context, in InheritableParamAttr()
[all …]
H A DDeclCXX.h56 class ASTContext; variable
1718 void viewInheritance(ASTContext& Context) const;
2057 CXXMethodDecl(Kind DK, ASTContext &C, CXXRecordDecl *RD,
2362 int64_t getID(const ASTContext &Context) const;
3131 NamespaceAliasDecl(ASTContext &C, DeclContext *DC, in NamespaceAliasDecl()
3343 UsingShadowDecl(Kind K, ASTContext &C, EmptyShell);
3559 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
3923 CreateDeserialized(ASTContext &C, unsigned ID);
4014 CreateDeserialized(ASTContext &C, unsigned ID);
4302 friend class ASTContext; variable
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.h200 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;
263 clang::ASTContext *source_ctx) in ASTImporterDelegate()
333 clang::ASTContext *m_source_ctx;
350 clang::ASTContext *m_dst_ctx;
375 void removeOriginsWithContext(clang::ASTContext *ctx) { in removeOriginsWithContext()
434 ImporterDelegateSP GetDelegate(clang::ASTContext *dst_ctx, in GetDelegate()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DSourceCodeBuilders.h54 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 DSourceCode.h28 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()
117 getFileRangeForEdit(const CharSourceRange &EditRange, const ASTContext &Context,
137 getFileRange(const CharSourceRange &EditRange, const ASTContext &Context, in getFileRange()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h76 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context);
85 clang::ASTContext * const Context;
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);
303 ASTContext &Context) { in match()
313 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match()
319 match(MatcherT Matcher, ASTContext &Context) { in match()
329 ASTContext &Context) { in matchDynamic()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
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 DASTContext.cpp869 ASTContext::ASTContext(LangOptions &LOpts, SourceManager &SM, in ASTContext() function in ASTContext
894 void ASTContext::cleanup() { in cleanup()
933 ASTContext::~ASTContext() { cleanup(); } in ~ASTContext()
949 void ASTContext::PrintStats() const { in PrintStats()
1041 void ASTContext::PerModuleInitializers::resolve(ASTContext &Ctx) { in resolve()
1450 ASTContext::TemplateOrSpecializationInfo
1550 ASTContext::overridden_method_range
1565 void ASTContext::getOverriddenMethods( in getOverriddenMethods()
3211 void ASTContext::adjustExceptionSpec( in adjustExceptionSpec()
3826 ASTContext::BuiltinVectorTypeInfo
[all …]
H A DStmtOpenMP.cpp262 OMPMetaDirective *OMPMetaDirective::Create(const ASTContext &C, in Create()
584 const ASTContext &C, const DeclarationNameInfo &Name, in Create()
680 OMPParallelForSimdDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
698 OMPParallelMasterDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
714 OMPParallelMaskedDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
732 OMPParallelSectionsDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
970 OMPTargetParallelDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
1205 OMPMasterTaskLoopDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
1250 OMPMaskedTaskLoopDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
1750 OMPDistributeSimdDirective::CreateEmpty(const ASTContext &C, in CreateEmpty()
[all …]
H A DDeclTemplate.cpp48 TemplateParameterList::TemplateParameterList(const ASTContext& C, in TemplateParameterList()
253 void *allocateDefaultArgStorageChain(const ASTContext &C) { in allocateDefaultArgStorageChain()
339 ASTContext &Context = getASTContext(); in loadLazySpecializationsImpl()
427 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
528 ClassTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
590 ASTContext &Context = getASTContext(); in findPartialSpecialization()
625 ASTContext &Context = getASTContext(); in getInjectedClassNameSpecialization()
881 TemplateArgumentList::CreateCopy(ASTContext &Context, in CreateCopy()
1115 Create(ASTContext &Context, TagKind TK,DeclContext *DC, in Create()
1192 TypeAliasTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
[all …]
H A DDeclCXX.cpp196 ASTContext &C = getASTContext(); in setBases()
1367 ASTContext &Ctx = getASTContext(); in addedMember()
1831 ASTContext &Ctx = getASTContext(); in getVisibleConversionFunctions()
1973 ASTContext &Context = getASTContext(); in getDestructor()
2413 ASTContext &Context = getASTContext(); in isUsualDeallocationFunction()
2478 ASTContext &Context = getASTContext(); in isCopyAssignmentOperator()
2499 ASTContext &Context = getASTContext(); in isMoveAssignmentOperator()
2544 ASTContext &C = Decl->getASTContext(); in getThisType()
2565 ASTContext &C = getParentASTContext(); in getFunctionObjectParameterReferenceType()
2781 ASTContext &Context = getASTContext(); in isCopyOrMoveConstructor()
[all …]
H A DExprCXX.cpp325 const ASTContext &Context, Expr *Base, bool isArrow, in CXXPseudoDestructorExpr()
354 const ASTContext &Context, CXXRecordDecl *NamingClass, in UnresolvedLookupExpr()
374 const ASTContext &Context, CXXRecordDecl *NamingClass, in Create()
388 const ASTContext &Context, CXXRecordDecl *NamingClass, in Create()
406 const ASTContext &Context, unsigned NumResults, in CreateEmpty()
562 CXXOperatorCallExpr::Create(const ASTContext &Ctx, in Create()
1043 CXXTemporary *CXXTemporary::Create(const ASTContext &C, in Create()
1506 const ASTContext &Ctx, bool HasTemplateKWAndArgsInfo, in CreateEmpty()
1606 const ASTContext &Context, unsigned NumResults, in CreateEmpty()
1669 const ASTContext &Context) const { in getParameterType()
[all …]
H A DQualTypeNames.cpp31 const ASTContext &Ctx,
46 const ASTContext &Ctx, const TypeDecl *TD,
50 const ASTContext &Ctx, const Decl *decl,
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()
214 const ASTContext &Ctx, NestedNameSpecifier *Scope, in getFullyQualifiedNestedNameSpecifier()
267 const ASTContext &Ctx, const Decl *Decl, in createNestedNameSpecifierForScopeOf()
319 const ASTContext &Ctx, const Type *TypePtr, in createNestedNameSpecifierForScopeOf()
378 QualType getFullyQualifiedType(QualType QT, const ASTContext &Ctx, in getFullyQualifiedType()
[all …]
H A DASTConcept.cpp23 const ASTContext &C, const UnsatisfiedConstraintRecord &Detail, in CreatUnsatisfiedConstraintRecord()
44 const ASTContext &C, const ConstraintSatisfaction &Satisfaction) in ASTConstraintSatisfaction()
55 const ASTContext &C, const ASTConstraintSatisfaction &Satisfaction) in ASTConstraintSatisfaction()
66 ASTConstraintSatisfaction::Create(const ASTContext &C, in Create()
76 const ASTContext &C, const ASTConstraintSatisfaction &Satisfaction) { in Rebuild()
84 llvm::FoldingSetNodeID &ID, const ASTContext &C, in Profile()
93 ConceptReference::Create(const ASTContext &C, NestedNameSpecifierLoc NNS, in Create()
/freebsd/contrib/llvm-project/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()
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 …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp65 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()
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DCommentToXML.h15 class ASTContext; variable
30 const ASTContext &Context);
34 const ASTContext &Context);
38 const ASTContext &Context);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfoImpl.h50 ABIArgInfo coerceToIntArray(QualType Ty, ASTContext &Context,
128 bool isEmptyField(ASTContext &Context, const FieldDecl *FD, bool AllowArrays,
136 bool isEmptyRecord(ASTContext &Context, QualType T, bool AllowArrays,
147 const Type *isSingleElementStruct(QualType T, ASTContext &Context);
152 bool isSIMDVectorType(ASTContext &Context, QualType Ty);
154 bool isRecordWithSIMDVectorType(ASTContext &Context, QualType Ty);

12345678910>>...20