Home
last modified time | relevance | path

Searched defs:DC (Results 1 – 25 of 154) sorted by relevance

1234567

/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DASTLambda.h33 inline bool isLambdaCallOperator(const DeclContext *DC) { in isLambdaCallOperator()
38 inline bool isLambdaCallWithExplicitObjectParameter(const DeclContext *DC) { in isLambdaCallWithExplicitObjectParameter()
43 inline bool isLambdaCallWithImplicitObjectParameter(const DeclContext *DC) { in isLambdaCallWithImplicitObjectParameter()
77 inline bool isGenericLambdaCallOperatorSpecialization(DeclContext *DC) { in isGenericLambdaCallOperatorSpecialization()
83 const DeclContext *DC) { in isGenericLambdaCallOperatorOrStaticInvokerSpecialization()
95 inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) { in getLambdaAwareParentOfDeclContext()
H A DDeclOpenMP.h50 static T *createDirective(const ASTContext &C, DeclContext *DC, in createDirective() argument
272 static OMPDeclareReductionDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() argument
302 OMPDeclareMapperDecl(DeclContext * DC,SourceLocation L,DeclarationName Name,QualType Ty,DeclarationName VarName,OMPDeclareMapperDecl * PrevDeclInScope) OMPDeclareMapperDecl() argument
371 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
387 OMPCapturedExprDecl(ASTContext & C,DeclContext * DC,IdentifierInfo * Id,QualType Type,TypeSourceInfo * TInfo,SourceLocation StartLoc) OMPCapturedExprDecl() argument
422 OMPRequiresDecl(DeclContext * DC,SourceLocation L) OMPRequiresDecl() argument
479 OMPAllocateDecl(DeclContext * DC,SourceLocation L) OMPAllocateDecl() argument
[all...]
H A DDecl.h133 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() argument
239 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() argument
261 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N) in NamedDecl() argument
373 const DeclContext *DC = getDeclContext(); in isCXXClassMember() local
509 LabelDecl(DeclContext * DC,SourceLocation IdentL,IdentifierInfo * II,LabelStmt * S,SourceLocation StartL) LabelDecl() argument
696 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
712 ValueDecl(Kind DK,DeclContext * DC,SourceLocation L,DeclarationName N,QualType T) ValueDecl() argument
790 DeclaratorDecl(Kind DK,DeclContext * DC,SourceLocation L,DeclarationName N,QualType T,TypeSourceInfo * TInfo,SourceLocation StartL) DeclaratorDecl() argument
1240 if (const DeclContext *DC = getLexicalDeclContext()) isLocalVarDecl() local
1254 const DeclContext *DC = getLexicalDeclContext()->getRedeclContext(); isFunctionOrMethodVarDecl() local
1721 ImplicitParamDecl(ASTContext & C,DeclContext * DC,SourceLocation IdLoc,IdentifierInfo * Id,QualType Type,ImplicitParamKind ParamKind) ImplicitParamDecl() argument
1755 ParmVarDecl(Kind DK,ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,QualType T,TypeSourceInfo * TInfo,StorageClass S,Expr * DefArg) ParmVarDecl() argument
3011 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
3077 FieldDecl(Kind DK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,QualType T,TypeSourceInfo * TInfo,Expr * BW,bool Mutable,InClassInitStyle InitStyle) FieldDecl() argument
3366 NamedDecl(DK,DC,L,Id) NamedDecl() argument
3406 TypedefNameDecl(Kind DK,ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,TypeSourceInfo * TInfo) TypedefNameDecl() argument
3494 TypedefDecl(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,TypeSourceInfo * TInfo) TypedefDecl() argument
3517 TypeAliasDecl(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,TypeSourceInfo * TInfo) TypeAliasDecl() argument
3816 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
4381 FileScopeAsmDecl(DeclContext * DC,StringLiteral * asmstring,SourceLocation StartL,SourceLocation EndL) FileScopeAsmDecl() argument
4421 TopLevelStmtDecl(DeclContext * DC,SourceLocation L,Stmt * S) TopLevelStmtDecl() argument
4630 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
4726 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
4840 ExportDecl(DeclContext * DC,SourceLocation ExportLoc) ExportDecl() argument
4872 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
4879 EmptyDecl(DeclContext * DC,SourceLocation L) EmptyDecl() argument
4929 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
[all...]
H A DPrettyPrinter.h49 virtual bool isScopeVisible(const DeclContext *DC) const { return false; } in isScopeVisible() argument
H A DDeclCXX.h90 AccessSpecDecl(AccessSpecifier AS, DeclContext *DC, in AccessSpecDecl() argument
118 DeclContext *DC, SourceLocation ASLoc, in Create() argument
1951 CXXDeductionGuideDecl(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,ExplicitSpecifier ES,const DeclarationNameInfo & NameInfo,QualType T,TypeSourceInfo * TInfo,SourceLocation EndLocation,CXXConstructorDecl * Ctor,DeductionCandidate Kind) CXXDeductionGuideDecl() argument
2024 RequiresExprBodyDecl(ASTContext & C,DeclContext * DC,SourceLocation StartLoc) RequiresExprBodyDecl() argument
2044 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
2993 castFromDeclContext(const DeclContext * DC) castFromDeclContext() argument
3025 UsingDirectiveDecl(DeclContext * DC,SourceLocation UsingLoc,SourceLocation NamespcLoc,NestedNameSpecifierLoc QualifierLoc,SourceLocation IdentLoc,NamedDecl * Nominated,DeclContext * CommonAncestor) UsingDirectiveDecl() argument
3131 NamespaceAliasDecl(ASTContext & C,DeclContext * DC,SourceLocation NamespaceLoc,SourceLocation AliasLoc,IdentifierInfo * Alias,NestedNameSpecifierLoc QualifierLoc,SourceLocation IdentLoc,NamedDecl * Namespace) NamespaceAliasDecl() argument
3349 Create(ASTContext & C,DeclContext * DC,SourceLocation Loc,DeclarationName Name,BaseUsingDecl * Introducer,NamedDecl * Target) Create() argument
3419 BaseUsingDecl(Kind DK,DeclContext * DC,SourceLocation L,DeclarationName N) BaseUsingDecl() argument
3516 UsingDecl(DeclContext * DC,SourceLocation UL,NestedNameSpecifierLoc QualifierLoc,const DeclarationNameInfo & NameInfo,bool HasTypenameKeyword) UsingDecl() argument
3609 ConstructorUsingShadowDecl(ASTContext & C,DeclContext * DC,SourceLocation Loc,UsingDecl * Using,NamedDecl * Target,bool TargetInVirtualBase) ConstructorUsingShadowDecl() argument
3714 UsingEnumDecl(DeclContext * DC,DeclarationName DN,SourceLocation UL,SourceLocation EL,SourceLocation NL,TypeSourceInfo * EnumType) UsingEnumDecl() argument
3795 UsingPackDecl(DeclContext * DC,NamedDecl * InstantiatedFrom,ArrayRef<NamedDecl * > UsingDecls) UsingPackDecl() argument
3869 UnresolvedUsingValueDecl(DeclContext * DC,QualType Ty,SourceLocation UsingLoc,NestedNameSpecifierLoc QualifierLoc,const DeclarationNameInfo & NameInfo,SourceLocation EllipsisLoc) UnresolvedUsingValueDecl() argument
3964 UnresolvedUsingTypenameDecl(DeclContext * DC,SourceLocation UsingLoc,SourceLocation TypenameLoc,NestedNameSpecifierLoc QualifierLoc,SourceLocation TargetNameLoc,IdentifierInfo * TargetName,SourceLocation EllipsisLoc) UnresolvedUsingTypenameDecl() argument
4056 StaticAssertDecl(DeclContext * DC,SourceLocation StaticAssertLoc,Expr * AssertExpr,Expr * Message,SourceLocation RParenLoc,bool Failed) StaticAssertDecl() argument
4109 BindingDecl(DeclContext * DC,SourceLocation IdLoc,IdentifierInfo * Id) BindingDecl() argument
4163 DecompositionDecl(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation LSquareLoc,QualType T,TypeSourceInfo * TInfo,StorageClass SC,ArrayRef<BindingDecl * > Bindings) DecompositionDecl() argument
4231 MSPropertyDecl(DeclContext * DC,SourceLocation L,DeclarationName N,QualType T,TypeSourceInfo * TInfo,SourceLocation StartL,IdentifierInfo * Getter,IdentifierInfo * Setter) MSPropertyDecl() argument
[all...]
H A DLexicallyOrderedRecursiveASTVisitor.h79 bool TraverseDeclContextHelper(DeclContext *DC) { in TraverseDeclContextHelper()
/freebsd-src/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp103 LLVMDisasmContext *DC = new LLVMDisasmContext( in LLVMCreateDisasmCPUFeatures() local
133 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); in LLVMDisasmDispose() local
139 static void emitComments(LLVMDisasmContext *DC, in emitComments()
169 static int getItineraryLatency(LLVMDisasmContext *DC, const MCInst &Inst) { in getItineraryLatency()
195 static int getLatency(LLVMDisasmContext *DC, const MCInst &Inst) { in getLatency()
231 static void emitLatency(LLVMDisasmContext *DC, const MCInst &Inst) { in emitLatency()
256 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); in LLVMDisasmInstruction() local
305 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); in LLVMSetDisasmOptions() local
312 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); in LLVMSetDisasmOptions() local
319 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); in LLVMSetDisasmOptions() local
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp104 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { in add()
110 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { in remove()
128 DeclContext *DC = ND->getDeclContext()->getPrimaryContext(); in add() local
137 DeclContext *DC = ND->getDeclContext()->getPrimaryContext(); in remove() local
163 ASTImporterLookupTable::lookup(DeclContext *DC, DeclarationName Name) const { in lookup()
176 bool ASTImporterLookupTable::contains(DeclContext *DC, NamedDecl *ND) const { in contains()
198 DeclContext *DC = Entry.first; in dump() local
H A DDeclOpenMP.cpp29 DeclContext *DC, in Create() argument
57 OMPAllocateDecl *OMPAllocateDecl::Create(ASTContext &C, DeclContext *DC, in Create() argument
85 Create(ASTContext & C,DeclContext * DC,SourceLocation L,ArrayRef<OMPClause * > CL) Create() argument
103 OMPDeclareReductionDecl(Kind DK,DeclContext * DC,SourceLocation L,DeclarationName Name,QualType Ty,OMPDeclareReductionDecl * PrevDeclInScope) OMPDeclareReductionDecl() argument
113 Create(ASTContext & C,DeclContext * DC,SourceLocation L,DeclarationName Name,QualType T,OMPDeclareReductionDecl * PrevDeclInScope) Create() argument
143 Create(ASTContext & C,DeclContext * DC,SourceLocation L,DeclarationName Name,QualType T,DeclarationName VarName,ArrayRef<OMPClause * > Clauses,OMPDeclareMapperDecl * PrevDeclInScope) Create() argument
174 Create(ASTContext & C,DeclContext * DC,IdentifierInfo * Id,QualType T,SourceLocation StartLoc) Create() argument
[all...]
H A DDeclTemplate.cpp263 TemplateDecl::TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, in TemplateDecl() argument
410 Create(ASTContext & C,DeclContext * DC,SourceLocation L,DeclarationName Name,TemplateParameterList * Params,NamedDecl * Decl) Create() argument
493 Create(ASTContext & C,DeclContext * DC,SourceLocation L,DeclarationName Name,TemplateParameterList * Params,NamedDecl * Decl) Create() argument
640 Create(const ASTContext & C,DeclContext * DC,SourceLocation KeyLoc,SourceLocation NameLoc,unsigned D,unsigned P,IdentifierInfo * Id,bool Typename,bool ParameterPack,bool HasTypeConstraint,std::optional<unsigned> NumExpanded) Create() argument
717 NonTypeTemplateParmDecl(DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,unsigned D,unsigned P,IdentifierInfo * Id,QualType T,TypeSourceInfo * TInfo,ArrayRef<QualType> ExpandedTypes,ArrayRef<TypeSourceInfo * > ExpandedTInfos) NonTypeTemplateParmDecl() argument
734 Create(const ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,unsigned D,unsigned P,IdentifierInfo * Id,QualType T,bool ParameterPack,TypeSourceInfo * TInfo) Create() argument
750 Create(const ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,unsigned D,unsigned P,IdentifierInfo * Id,QualType T,TypeSourceInfo * TInfo,ArrayRef<QualType> ExpandedTypes,ArrayRef<TypeSourceInfo * > ExpandedTInfos) Create() argument
809 TemplateTemplateParmDecl(DeclContext * DC,SourceLocation L,unsigned D,unsigned P,IdentifierInfo * Id,TemplateParameterList * Params,ArrayRef<TemplateParameterList * > Expansions) TemplateTemplateParmDecl() argument
821 Create(const ASTContext & C,DeclContext * DC,SourceLocation L,unsigned D,unsigned P,bool ParameterPack,IdentifierInfo * Id,TemplateParameterList * Params) Create() argument
830 Create(const ASTContext & C,DeclContext * DC,SourceLocation L,unsigned D,unsigned P,IdentifierInfo * Id,TemplateParameterList * Params,ArrayRef<TemplateParameterList * > Expansions) Create() argument
909 ClassTemplateSpecializationDecl(ASTContext & Context,Kind DK,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,ClassTemplateDecl * SpecializedTemplate,ArrayRef<TemplateArgument> Args,ClassTemplateSpecializationDecl * PrevDecl) ClassTemplateSpecializationDecl() argument
929 Create(ASTContext & Context,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,ClassTemplateDecl * SpecializedTemplate,ArrayRef<TemplateArgument> Args,ClassTemplateSpecializationDecl * PrevDecl) Create() argument
1030 Create(ASTContext & C,DeclContext * DC,SourceLocation L,DeclarationName Name,TemplateParameterList * Params,Expr * ConstraintExpr) Create() argument
1054 ImplicitConceptSpecializationDecl(DeclContext * DC,SourceLocation SL,ArrayRef<TemplateArgument> ConvertedArgs) ImplicitConceptSpecializationDecl() argument
1067 Create(const ASTContext & C,DeclContext * DC,SourceLocation SL,ArrayRef<TemplateArgument> ConvertedArgs) Create() argument
1095 ClassTemplatePartialSpecializationDecl(ASTContext & Context,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,TemplateParameterList * Params,ClassTemplateDecl * SpecializedTemplate,ArrayRef<TemplateArgument> Args,const ASTTemplateArgumentListInfo * ArgInfos,ClassTemplatePartialSpecializationDecl * PrevDecl) ClassTemplatePartialSpecializationDecl() argument
1115 Create(ASTContext & Context,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,TemplateParameterList * Params,ClassTemplateDecl * SpecializedTemplate,ArrayRef<TemplateArgument> Args,const TemplateArgumentListInfo & ArgInfos,QualType CanonInjectedType,ClassTemplatePartialSpecializationDecl * PrevDecl) Create() argument
1152 Create(ASTContext & Context,DeclContext * DC,SourceLocation L,MutableArrayRef<TemplateParameterList * > Params,FriendUnion Friend,SourceLocation FLoc) Create() argument
1175 Create(ASTContext & C,DeclContext * DC,SourceLocation L,DeclarationName Name,TemplateParameterList * Params,NamedDecl * Decl) Create() argument
1212 Create(ASTContext & C,DeclContext * DC,SourceLocation L,DeclarationName Name,TemplateParameterList * Params,VarDecl * Decl) Create() argument
1321 VarTemplateSpecializationDecl(Kind DK,ASTContext & Context,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,VarTemplateDecl * SpecializedTemplate,QualType T,TypeSourceInfo * TInfo,StorageClass S,ArrayRef<TemplateArgument> Args) VarTemplateSpecializationDecl() argument
1337 Create(ASTContext & Context,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,VarTemplateDecl * SpecializedTemplate,QualType T,TypeSourceInfo * TInfo,StorageClass S,ArrayRef<TemplateArgument> Args) Create() argument
1404 VarTemplatePartialSpecializationDecl(ASTContext & Context,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,TemplateParameterList * Params,VarTemplateDecl * SpecializedTemplate,QualType T,TypeSourceInfo * TInfo,StorageClass S,ArrayRef<TemplateArgument> Args,const ASTTemplateArgumentListInfo * ArgInfos) VarTemplatePartialSpecializationDecl() argument
1420 Create(ASTContext & Context,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,TemplateParameterList * Params,VarTemplateDecl * SpecializedTemplate,QualType T,TypeSourceInfo * TInfo,StorageClass S,ArrayRef<TemplateArgument> Args,const TemplateArgumentListInfo & ArgInfos) Create() argument
1451 createMakeIntegerSeqParameterList(const ASTContext & C,DeclContext * DC) createMakeIntegerSeqParameterList() argument
1500 createTypePackElementParameterList(const ASTContext & C,DeclContext * DC) createTypePackElementParameterList() argument
1522 createBuiltinTemplateParameterList(const ASTContext & C,DeclContext * DC,BuiltinTemplateKind BTK) createBuiltinTemplateParameterList() argument
1535 BuiltinTemplateDecl(const ASTContext & C,DeclContext * DC,DeclarationName Name,BuiltinTemplateKind BTK) BuiltinTemplateDecl() argument
1545 DeclContext *DC = C.getTranslationUnitDecl(); Create() local
[all...]
H A DDeclBase.cpp290 auto *DC = getFriendObjectKind() || isLocalExternDecl() in getTemplateDepth() local
268 auto *DC = getFriendObjectKind() || isLocalExternDecl() isTemplated() local
275 if (auto *DC = dyn_cast<DeclContext>(this)) getTemplateDepth() local
296 for (const DeclContext *DC = LexicalParent ? getLexicalDeclContext() getParentFunctionOrMethod() local
336 setDeclContext(DeclContext * DC) setDeclContext() argument
340 setLexicalDeclContext(DeclContext * DC) setLexicalDeclContext() argument
394 for (const DeclContext *DC = getDeclContext(); DC; DC = DC->getParent()) { isInAnonymousNamespace() local
404 const DeclContext *DC = getDeclContext(); isInStdNamespace() local
409 const auto *DC = dyn_cast<DeclContext>(this); isFileContextDecl() local
490 DeclContext *DC = getDeclContext(); getTranslationUnitDecl() local
1075 const DeclContext *DC = getLexicalDeclContext(); isInExportDeclContext() local
1111 getKind(const DeclContext * DC) getKind() argument
1306 isLinkageSpecContext(const DeclContext * DC,LinkageSpecLanguageIDs ID) isLinkageSpecContext() argument
1321 const DeclContext *DC = this; getExternCContext() local
1347 DeclContext *DC = this; getNonTransparentContext() local
1524 SetNoExternalVisibleDeclsForName(const DeclContext * DC,DeclarationName Name) SetNoExternalVisibleDeclsForName() argument
1539 SetExternalVisibleDeclsForName(const DeclContext * DC,DeclarationName Name,ArrayRef<NamedDecl * > Decls) SetExternalVisibleDeclsForName() argument
1656 auto *DC = D->getDeclContext(); removeDecl() local
1733 for (auto *DC : Contexts) { buildLookup() local
1745 for (auto *DC : Contexts) buildLookup() local
1949 DeclContext *DC = this; getOuterLexicalRecordContext() local
[all...]
H A DExternalASTSource.cpp98 FindExternalVisibleDeclsByName(const DeclContext * DC,DeclarationName Name) FindExternalVisibleDeclsByName() argument
103 completeVisibleDeclsMap(const DeclContext * DC) completeVisibleDeclsMap() argument
106 FindExternalLexicalDecls(const DeclContext * DC,llvm::function_ref<bool (Decl::Kind)> IsKindWeWant,SmallVectorImpl<Decl * > & Result) FindExternalLexicalDecls() argument
H A DDecl.cpp305 const DeclContext *DC = D->getDeclContext(); in getOutermostFuncOrBlockContext() local
699 for (const DeclContext *DC = D->getDeclContext(); getLVForNamespaceScopeDecl() local
1141 const DeclContext *DC = getDeclContext()->getRedeclContext(); isReserved() local
1308 getLVForClosure(const DeclContext * DC,Decl * ContextDecl,LVComputationKind computation) getLVForClosure() argument
1767 for (const DeclContext *DC : llvm::reverse(Contexts)) { printNestedNameSpecifier() local
2131 VarDecl(Kind DK,ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,const IdentifierInfo * Id,QualType T,TypeSourceInfo * TInfo,StorageClass SC) VarDecl() argument
2148 Create(ASTContext & C,DeclContext * DC,SourceLocation StartL,SourceLocation IdL,const IdentifierInfo * Id,QualType T,TypeSourceInfo * TInfo,StorageClass S) Create() argument
2213 const DeclContext *DC = D.getDeclContext(); getDeclLanguageLinkage() local
2229 const DeclContext *DC = D.getDeclContext(); isDeclExternC() local
2905 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,QualType T,TypeSourceInfo * TInfo,StorageClass S,Expr * DefArg) Create() argument
3027 FunctionDecl(Kind DK,ASTContext & C,DeclContext * DC,SourceLocation StartLoc,const DeclarationNameInfo & NameInfo,QualType T,TypeSourceInfo * TInfo,StorageClass S,bool UsesFPIntrin,bool isInlineSpecified,ConstexprSpecKind ConstexprKind,Expr * TrailingRequiresClause) FunctionDecl() argument
3468 for (const DeclContext *DC = getDeclContext(); isGlobal() local
4489 Create(const ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,QualType T,TypeSourceInfo * TInfo,Expr * BW,bool Mutable,InClassInitStyle InitStyle) Create() argument
4643 TagDecl(Kind DK,TagKind TK,const ASTContext & C,DeclContext * DC,SourceLocation L,IdentifierInfo * Id,TagDecl * PrevDecl,SourceLocation StartL) TagDecl() argument
4779 EnumDecl(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,EnumDecl * PrevDecl,bool Scoped,bool ScopedUsingClassTag,bool Fixed) EnumDecl() argument
4796 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,EnumDecl * PrevDecl,bool IsScoped,bool IsScopedUsingClassTag,bool IsFixed) Create() argument
4937 RecordDecl(Kind DK,TagKind TK,const ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,RecordDecl * PrevDecl) RecordDecl() argument
4959 Create(const ASTContext & C,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,RecordDecl * PrevDecl) Create() argument
5156 BlockDecl(DeclContext * DC,SourceLocation CaretLoc) BlockDecl() argument
5216 Create(const ASTContext & C,TranslationUnitDecl * DC,SourceLocation CommentLoc,PragmaMSCommentKind CommentKind,StringRef Arg) Create() argument
5238 Create(const ASTContext & C,TranslationUnitDecl * DC,SourceLocation Loc,StringRef Name,StringRef Value) Create() argument
5263 Create(const ASTContext & C,TranslationUnitDecl * DC) Create() argument
5269 Create(ASTContext & C,DeclContext * DC,SourceLocation IdentL,IdentifierInfo * II) Create() argument
5274 Create(ASTContext & C,DeclContext * DC,SourceLocation IdentL,IdentifierInfo * II,SourceLocation GnuLabelL) Create() argument
5309 Create(ASTContext & C,DeclContext * DC,SourceLocation IdLoc,IdentifierInfo * Id,QualType Type,ImplicitParamKind ParamKind) Create() argument
5327 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,const DeclarationNameInfo & NameInfo,QualType T,TypeSourceInfo * TInfo,StorageClass SC,bool UsesFPIntrin,bool isInlineSpecified,bool hasWrittenPrototype,ConstexprSpecKind ConstexprKind,Expr * TrailingRequiresClause) Create() argument
5346 Create(ASTContext & C,DeclContext * DC,SourceLocation L) Create() argument
5354 CapturedDecl(DeclContext * DC,unsigned NumParams) CapturedDecl() argument
5358 Create(ASTContext & C,DeclContext * DC,unsigned NumParams) Create() argument
5376 EnumConstantDecl(const ASTContext & C,DeclContext * DC,SourceLocation L,IdentifierInfo * Id,QualType T,Expr * E,const llvm::APSInt & V) EnumConstantDecl() argument
5398 IndirectFieldDecl(ASTContext & C,DeclContext * DC,SourceLocation L,DeclarationName N,QualType T,MutableArrayRef<NamedDecl * > CH) IndirectFieldDecl() argument
5411 Create(ASTContext & C,DeclContext * DC,SourceLocation L,IdentifierInfo * Id,QualType T,llvm::MutableArrayRef<NamedDecl * > CH) Create() argument
5433 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,TypeSourceInfo * TInfo) Create() argument
5483 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,TypeSourceInfo * TInfo) Create() argument
5513 Create(ASTContext & C,DeclContext * DC,StringLiteral * Str,SourceLocation AsmLoc,SourceLocation RParenLoc) Create() argument
5534 DeclContext *DC = C.getTranslationUnitDecl(); Create() local
5551 Create(ASTContext & C,DeclContext * DC,SourceLocation L) Create() argument
5559 HLSLBufferDecl(DeclContext * DC,bool CBuffer,SourceLocation KwLoc,IdentifierInfo * ID,SourceLocation IDLoc,SourceLocation LBrace) HLSLBufferDecl() argument
5582 DeclContext *DC = LexicalParent; Create() local
5608 ImportDecl(DeclContext * DC,SourceLocation StartLoc,Module * Imported,ArrayRef<SourceLocation> IdentifierLocs) ImportDecl() argument
5619 ImportDecl(DeclContext * DC,SourceLocation StartLoc,Module * Imported,SourceLocation EndLoc) ImportDecl() argument
5626 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,Module * Imported,ArrayRef<SourceLocation> IdentifierLocs) Create() argument
5634 CreateImplicit(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,Module * Imported,SourceLocation EndLoc) CreateImplicit() argument
5672 Create(ASTContext & C,DeclContext * DC,SourceLocation ExportLoc) Create() argument
[all...]
H A DDeclCXX.cpp124 CXXRecordDecl(Kind K,TagKind TK,const ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,CXXRecordDecl * PrevDecl) CXXRecordDecl() argument
132 Create(const ASTContext & C,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,CXXRecordDecl * PrevDecl,bool DelayTypeCreation) Create() argument
147 CreateLambda(const ASTContext & C,DeclContext * DC,TypeSourceInfo * Info,SourceLocation Loc,unsigned DependencyKind,bool IsGeneric,LambdaCaptureDefault CaptureDefault) CreateLambda() argument
1992 isDeclContextInNamespace(const DeclContext * DC) isDeclContextInNamespace() argument
2155 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,ExplicitSpecifier ES,const DeclarationNameInfo & NameInfo,QualType T,TypeSourceInfo * TInfo,SourceLocation EndLocation,CXXConstructorDecl * Ctor,DeductionCandidate Kind) Create() argument
2172 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc) Create() argument
2894 LinkageSpecDecl(DeclContext * DC,SourceLocation ExternLoc,SourceLocation LangLoc,LinkageSpecLanguageIDs lang,bool HasBraces) LinkageSpecDecl() argument
2905 Create(ASTContext & C,DeclContext * DC,SourceLocation ExternLoc,SourceLocation LangLoc,LinkageSpecLanguageIDs Lang,bool HasBraces) Create() argument
2922 Create(ASTContext & C,DeclContext * DC,SourceLocation L,SourceLocation NamespaceLoc,NestedNameSpecifierLoc QualifierLoc,SourceLocation IdentLoc,NamedDecl * Used,DeclContext * CommonAncestor) Create() argument
2949 NamespaceDecl(ASTContext & C,DeclContext * DC,bool Inline,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,NamespaceDecl * PrevDecl,bool Nested) NamespaceDecl() argument
2967 Create(ASTContext & C,DeclContext * DC,bool Inline,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,NamespaceDecl * PrevDecl,bool Nested) Create() argument
3022 Create(ASTContext & C,DeclContext * DC,SourceLocation UsingLoc,SourceLocation AliasLoc,IdentifierInfo * Alias,NestedNameSpecifierLoc QualifierLoc,SourceLocation IdentLoc,NamedDecl * Namespace) Create() argument
3076 UsingShadowDecl(Kind K,ASTContext & C,DeclContext * DC,SourceLocation Loc,DeclarationName Name,BaseUsingDecl * Introducer,NamedDecl * Target) UsingShadowDecl() argument
3108 Create(ASTContext & C,DeclContext * DC,SourceLocation Loc,UsingDecl * Using,NamedDecl * Target,bool IsVirtual) Create() argument
3157 Create(ASTContext & C,DeclContext * DC,SourceLocation UL,NestedNameSpecifierLoc QualifierLoc,const DeclarationNameInfo & NameInfo,bool HasTypename) Create() argument
3178 Create(ASTContext & C,DeclContext * DC,SourceLocation UL,SourceLocation EL,SourceLocation NL,TypeSourceInfo * EnumType) Create() argument
3200 Create(ASTContext & C,DeclContext * DC,NamedDecl * InstantiatedFrom,ArrayRef<NamedDecl * > UsingDecls) Create() argument
3222 Create(ASTContext & C,DeclContext * DC,SourceLocation UsingLoc,NestedNameSpecifierLoc QualifierLoc,const DeclarationNameInfo & NameInfo,SourceLocation EllipsisLoc) Create() argument
3250 Create(ASTContext & C,DeclContext * DC,SourceLocation UsingLoc,SourceLocation TypenameLoc,NestedNameSpecifierLoc QualifierLoc,SourceLocation TargetNameLoc,DeclarationName TargetName,SourceLocation EllipsisLoc) Create() argument
3270 Create(ASTContext & Ctx,DeclContext * DC,SourceLocation Loc,DeclarationName Name) Create() argument
3281 UnresolvedUsingIfExistsDecl(DeclContext * DC,SourceLocation Loc,DeclarationName Name) UnresolvedUsingIfExistsDecl() argument
3290 Create(ASTContext & C,DeclContext * DC,SourceLocation StaticAssertLoc,Expr * AssertExpr,Expr * Message,SourceLocation RParenLoc,bool Failed) Create() argument
3317 Create(ASTContext & C,DeclContext * DC,SourceLocation IdLoc,IdentifierInfo * Id) Create() argument
3341 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation LSquareLoc,QualType T,TypeSourceInfo * TInfo,StorageClass SC,ArrayRef<BindingDecl * > Bindings) Create() argument
3382 Create(ASTContext & C,DeclContext * DC,SourceLocation L,DeclarationName N,QualType T,TypeSourceInfo * TInfo,SourceLocation StartL,IdentifierInfo * Getter,IdentifierInfo * Setter) Create() argument
3400 MSGuidDecl(DeclContext * DC,QualType T,Parts P) MSGuidDecl() argument
3405 DeclContext *DC = C.getTranslationUnitDecl(); Create() local
3498 UnnamedGlobalConstantDecl(const ASTContext & C,DeclContext * DC,QualType Ty,const APValue & Val) UnnamedGlobalConstantDecl() argument
3513 DeclContext *DC = C.getTranslationUnitDecl(); Create() local
[all...]
H A DDeclObjC.cpp68 ObjCContainerDecl::ObjCContainerDecl(Kind DK, DeclContext *DC, in ObjCContainerDecl() argument
893 const DeclContext *DC = getDeclContext(); in isDesignatedInitializerForTheInterface() local
1543 const ASTContext &C, DeclContext *DC, SourceLocation atLoc, in Create() argument
178 findPropertyDecl(const DeclContext * DC,const IdentifierInfo * propertyID,ObjCPropertyQueryKind queryKind) findPropertyDecl() argument
1567 ObjCInterfaceDecl(const ASTContext & C,DeclContext * DC,SourceLocation AtLoc,IdentifierInfo * Id,ObjCTypeParamList * typeParamList,SourceLocation CLoc,ObjCInterfaceDecl * PrevDecl,bool IsInternal) ObjCInterfaceDecl() argument
1839 Create(ASTContext & C,ObjCContainerDecl * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,QualType T,TypeSourceInfo * TInfo,AccessControl ac,Expr * BW,bool synthesized) Create() argument
1882 auto *DC = cast<ObjCContainerDecl>(getDeclContext()); getContainingInterface() local
1917 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,QualType T,Expr * BW) Create() argument
1936 ObjCProtocolDecl(ASTContext & C,DeclContext * DC,IdentifierInfo * Id,SourceLocation nameLoc,SourceLocation atStartLoc,ObjCProtocolDecl * PrevDecl) ObjCProtocolDecl() argument
1947 Create(ASTContext & C,DeclContext * DC,IdentifierInfo * Id,SourceLocation nameLoc,SourceLocation atStartLoc,ObjCProtocolDecl * PrevDecl) Create() argument
2123 ObjCCategoryDecl(DeclContext * DC,SourceLocation AtLoc,SourceLocation ClassNameLoc,SourceLocation CategoryNameLoc,IdentifierInfo * Id,ObjCInterfaceDecl * IDecl,ObjCTypeParamList * typeParamList,SourceLocation IvarLBraceLoc,SourceLocation IvarRBraceLoc) ObjCCategoryDecl() argument
2136 Create(ASTContext & C,DeclContext * DC,SourceLocation AtLoc,SourceLocation ClassNameLoc,SourceLocation CategoryNameLoc,IdentifierInfo * Id,ObjCInterfaceDecl * IDecl,ObjCTypeParamList * typeParamList,SourceLocation IvarLBraceLoc,SourceLocation IvarRBraceLoc) Create() argument
2194 Create(ASTContext & C,DeclContext * DC,IdentifierInfo * Id,ObjCInterfaceDecl * ClassInterface,SourceLocation nameLoc,SourceLocation atStartLoc,SourceLocation CategoryNameLoc) Create() argument
2298 Create(ASTContext & C,DeclContext * DC,ObjCInterfaceDecl * ClassInterface,ObjCInterfaceDecl * SuperDecl,SourceLocation nameLoc,SourceLocation atStartLoc,SourceLocation superLoc,SourceLocation IvarLBraceLoc,SourceLocation IvarRBraceLoc) Create() argument
2349 Create(ASTContext & C,DeclContext * DC,SourceLocation L,IdentifierInfo * Id,ObjCInterfaceDecl * AliasedClass) Create() argument
2368 Create(ASTContext & C,DeclContext * DC,SourceLocation L,IdentifierInfo * Id,SourceLocation AtLoc,SourceLocation LParenLoc,QualType T,TypeSourceInfo * TSI,PropertyControl propControl) Create() argument
2402 Create(ASTContext & C,DeclContext * DC,SourceLocation atLoc,SourceLocation L,ObjCPropertyDecl * property,Kind PK,ObjCIvarDecl * ivar,SourceLocation ivarLoc) Create() argument
[all...]
H A DExternalASTMerger.cpp38 const DeclContext *CanonicalizeDC(const DeclContext *DC) { in CanonicalizeDC()
45 LookupSameContext(Source<TranslationUnitDecl *> SourceTU, const DeclContext *DC, in LookupSameContext()
277 void ExternalASTMerger::ForEachMatchingDC(const DeclContext *DC, in ForEachMatchingDC()
474 bool ExternalASTMerger::FindExternalVisibleDeclsByName(const DeclContext *DC, in FindExternalVisibleDeclsByName()
524 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant, in FindExternalLexicalDecls()
H A DASTDumper.cpp27 dumpInvalidDeclContext(const DeclContext * DC) dumpInvalidDeclContext() argument
54 dumpLookups(const DeclContext * DC,bool DumpDecls) dumpLookups() argument
264 const DeclContext *DC = this; dumpLookups() local
[all...]
H A DDeclFriend.cpp34 FriendDecl *FriendDecl::Create(ASTContext &C, DeclContext *DC, in Create() argument
H A DItaniumMangle.cpp46 static bool isLocalContainerContext(const DeclContext *DC) { in isLocalContainerContext() argument
163 discriminator = ++Discriminator[std::make_pair(DC, ND->getIdentifier())]; in getNextDiscriminator() local
208 return getEffectiveDeclContext(cast<Decl>(DC)); in getEffectiveParentContext() argument
515 void mangleUnqualifiedName(GlobalDecl GD, const DeclContext *DC, in mangleUnqualifiedName() argument
687 const DeclContext *DC = D->getDeclContext(); getEffectiveDeclContext() local
789 const DeclContext *DC = getEffectiveDeclContext(D); shouldMangleCXXName() local
971 isStdNamespace(const DeclContext * DC) isStdNamespace() argument
1046 const DeclContext *DC = Context.getEffectiveDeclContext(D); GetLocalClassDecl() local
1064 const DeclContext *DC = Context.getEffectiveDeclContext(ND); mangleNameWithAbiTags() local
1147 const DeclContext *DC = Context.getEffectiveDeclContext(TD); mangleTemplateName() local
1157 mangleUnscopedName(GlobalDecl GD,const DeclContext * DC,const AbiTagList * AdditionalAbiTags) mangleUnscopedName() argument
1170 mangleUnscopedTemplateName(GlobalDecl GD,const DeclContext * DC,const AbiTagList * AdditionalAbiTags) mangleUnscopedTemplateName() argument
1462 mangleUnqualifiedName(GlobalDecl GD,DeclarationName Name,const DeclContext * DC,unsigned KnownArity,const AbiTagList * AdditionalAbiTags) mangleUnqualifiedName() argument
1771 mangleNestedName(GlobalDecl GD,const DeclContext * DC,const AbiTagList * AdditionalAbiTags,bool NoFunction) mangleNestedName() argument
1833 getParentOfLocalEntity(const DeclContext * DC) getParentOfLocalEntity() argument
1858 const DeclContext *DC = Context.getEffectiveDeclContext(RD ? RD : D); mangleLocalName() local
1956 const DeclContext *DC = Context.getEffectiveDeclContext(Block); mangleBlockForPrefix() local
2059 const DeclContext *DC = Context.getEffectiveDeclContext(Concept); mangleTypeConstraint() local
2188 manglePrefix(const DeclContext * DC,bool NoFunction) manglePrefix() argument
2219 const DeclContext *DC = Context.getEffectiveDeclContext(ND); manglePrefix() local
2273 const DeclContext *DC = Context.getEffectiveDeclContext(ND); mangleTemplatePrefix() local
2319 const auto *DC = Context.getEffectiveDeclContext(ND); mangleClosurePrefix() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp25 checkModuleImportContext(Sema & S,Module * M,SourceLocation ImportLoc,DeclContext * DC,bool FromInclude=false) checkModuleImportContext() argument
544 for (auto *DC = D->getLexicalDeclContext(); DC; DC = DC->getLexicalParent()) getEnclosingExportDecl() local
681 for (auto *DC = CurContext; DC; DC = DC->getLexicalParent()) { ActOnModuleBegin() local
722 for (auto *DC = CurContext; DC; DC = DC->getLexicalParent()) { ActOnModuleEnd() local
785 for (const DeclContext *DC = CurContext; DC; DC = DC->getLexicalParent()) { ActOnStartExportDecl() local
824 checkExportedDeclContext(Sema & S,DeclContext * DC,SourceLocation BlockStart) checkExportedDeclContext() argument
868 if (auto *DC = dyn_cast<DeclContext>(D)) { checkExportedDecl() local
[all...]
H A DScope.cpp250 if (const DeclContext *DC = getEntity()) dumpImpl() local
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.h62 void MaterializeVisibleDecls(const clang::DeclContext *DC) {} in MaterializeVisibleDecls() argument
214 bool FindExternalVisibleDeclsByName(const clang::DeclContext *DC, in FindExternalVisibleDeclsByName() argument
220 const clang::DeclContext *DC, in FindExternalLexicalDecls() argument
H A DASTUtils.h63 FindExternalVisibleDeclsByName(const clang::DeclContext * DC,clang::DeclarationName Name) FindExternalVisibleDeclsByName() argument
68 completeVisibleDeclsMap(const clang::DeclContext * DC) completeVisibleDeclsMap() argument
86 FindExternalLexicalDecls(const clang::DeclContext * DC,llvm::function_ref<bool (clang::Decl::Kind)> IsKindWeWant,llvm::SmallVectorImpl<clang::Decl * > & Result) FindExternalLexicalDecls() argument
330 FindExternalVisibleDeclsByName(const clang::DeclContext * DC,clang::DeclarationName Name) FindExternalVisibleDeclsByName() argument
338 completeVisibleDeclsMap(const clang::DeclContext * DC) completeVisibleDeclsMap() argument
345 FindExternalLexicalDecls(const clang::DeclContext * DC,llvm::function_ref<bool (clang::Decl::Kind)> IsKindWeWant,llvm::SmallVectorImpl<clang::Decl * > & Result) FindExternalLexicalDecls() argument
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp32 const DeclContext *DC, bool isBase, bool isIBType) in TypeIndexer()
247 const DeclContext *DC, in indexTypeSourceInfo()
258 const DeclContext *DC, in indexTypeLoc()
271 const DeclContext *DC) { in indexNestedNameSpecifierLoc()
H A DIndexDecl.cpp52 const DeclContext *DC) { in handleTemplateArgumentLoc() argument
105 auto *DC = Parm->getDeclContext(); in handleDeclarator() local
609 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUsingDecl() local
627 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); VisitUsingDirectiveDecl() local
644 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); VisitUnresolvedUsingValueDecl() local
653 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); VisitUnresolvedUsingTypenameDecl() local
793 indexDeclContext(const DeclContext * DC) indexDeclContext() argument
[all...]

1234567