/freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/ |
H A D | Disassembler.cpp | 103 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() argument 169 getItineraryLatency(LLVMDisasmContext * DC,const MCInst & Inst) getItineraryLatency() argument 194 getLatency(LLVMDisasmContext * DC,const MCInst & Inst) getLatency() argument 230 emitLatency(LLVMDisasmContext * DC,const MCInst & Inst) emitLatency() argument 255 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); LLVMDisasmInstruction() local 304 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); LLVMSetDisasmOptions() local 311 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); LLVMSetDisasmOptions() local 318 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); LLVMSetDisasmOptions() local 334 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); LLVMSetDisasmOptions() local 341 LLVMDisasmContext *DC = static_cast<LLVMDisasmContext *>(DCR); LLVMSetDisasmOptions() local [all...] |
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTImporterLookupTable.cpp | 104 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 D | DeclOpenMP.cpp | 29 DeclContext *DC, in Create() 57 OMPAllocateDecl *OMPAllocateDecl::Create(ASTContext &C, DeclContext *DC, in Create() 86 OMPRequiresDecl *OMPRequiresDecl::Create(ASTContext &C, DeclContext *DC, in Create() 105 Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, in OMPDeclareReductionDecl() 115 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create() 145 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create() 176 OMPCapturedExprDecl *OMPCapturedExprDecl::Create(ASTContext &C, DeclContext *DC, in Create()
|
H A D | DeclBase.cpp | 290 auto *DC = getFriendObjectKind() || isLocalExternDecl() in isTemplated() local 297 if (auto *DC = dyn_cast<DeclContext>(this)) in getTemplateDepth() local 312 const DeclContext *DC = in getTemplateDepth() local 318 for (const DeclContext *DC = LexicalParent ? getLexicalDeclContext() in getParentFunctionOrMethod() local 358 void Decl::setDeclContext(DeclContext *DC) { in setDeclContext() 362 void Decl::setLexicalDeclContext(DeclContext *DC) { in setLexicalDeclContext() 416 for (const DeclContext *DC = getDeclContext(); DC; DC = DC->getParent()) { in isInAnonymousNamespace() local 426 const DeclContext *DC = getDeclContext(); in isInStdNamespace() local 431 const auto *DC = dyn_cast<DeclContext>(this); in isFileContextDecl() local 512 DeclContext *DC = getDeclContext(); in getTranslationUnitDecl() local [all …]
|
H A D | DeclTemplate.cpp | 263 TemplateDecl::TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, in TemplateDecl() 411 FunctionTemplateDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, in Create() 494 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, DeclContext *DC, in Create() 642 const ASTContext &C, DeclContext *DC, SourceLocation KeyLoc, in Create() 726 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, in NonTypeTemplateParmDecl() 743 const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in Create() 757 const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in Create() 823 DeclContext *DC, SourceLocation L, unsigned D, unsigned P, in TemplateTemplateParmDecl() 835 TemplateTemplateParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create() 844 TemplateTemplateParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create() [all …]
|
H A D | ExternalASTSource.cpp | 96 ExternalASTSource::FindExternalVisibleDeclsByName(const DeclContext *DC, in FindExternalVisibleDeclsByName() 101 void ExternalASTSource::completeVisibleDeclsMap(const DeclContext *DC) {} in completeVisibleDeclsMap() 104 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant, in FindExternalLexicalDecls()
|
H A D | Decl.cpp | 305 const DeclContext *DC = D->getDeclContext(); in getOutermostFuncOrBlockContext() local 706 for (const DeclContext *DC = D->getDeclContext(); in getLVForNamespaceScopeDecl() local 1148 const DeclContext *DC = getDeclContext()->getRedeclContext(); in isReserved() local 1308 LinkageInfo LinkageComputer::getLVForClosure(const DeclContext *DC, in getLVForClosure() 1752 for (const DeclContext *DC : llvm::reverse(Contexts)) { in printNestedNameSpecifier() local 2116 VarDecl::VarDecl(Kind DK, ASTContext &C, DeclContext *DC, in VarDecl() 2133 VarDecl *VarDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation StartL, in Create() 2198 const DeclContext *DC = D.getDeclContext(); in getDeclLanguageLinkage() local 2214 const DeclContext *DC = D.getDeclContext(); in isDeclExternC() local 2907 ParmVarDecl *ParmVarDecl::Create(ASTContext &C, DeclContext *DC, in Create() [all …]
|
H A D | DeclCXX.cpp | 125 DeclContext *DC, SourceLocation StartLoc, in CXXRecordDecl() 133 DeclContext *DC, SourceLocation StartLoc, in Create() 148 CXXRecordDecl::CreateLambda(const ASTContext &C, DeclContext *DC, in CreateLambda() 2034 static bool isDeclContextInNamespace(const DeclContext *DC) { in isDeclContextInNamespace() 2196 ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in Create() 2213 ASTContext &C, DeclContext *DC, SourceLocation StartLoc) { in Create() 2947 LinkageSpecDecl::LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl() 2958 LinkageSpecDecl *LinkageSpecDecl::Create(ASTContext &C, DeclContext *DC, in Create() 2975 UsingDirectiveDecl *UsingDirectiveDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3002 NamespaceDecl::NamespaceDecl(ASTContext &C, DeclContext *DC, bool Inline, in NamespaceDecl() [all …]
|
H A D | DeclObjC.cpp | 68 ObjCContainerDecl::ObjCContainerDecl(Kind DK, DeclContext *DC, in ObjCContainerDecl() 179 ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC, in findPropertyDecl() 893 const DeclContext *DC = getDeclContext(); in isDesignatedInitializerForTheInterface() local 1543 const ASTContext &C, DeclContext *DC, SourceLocation atLoc, in Create() 1564 const ASTContext &C, DeclContext *DC, SourceLocation AtLoc, in ObjCInterfaceDecl() 1833 ObjCIvarDecl *ObjCIvarDecl::Create(ASTContext &C, ObjCContainerDecl *DC, in Create() 1876 auto *DC = cast<ObjCContainerDecl>(getDeclContext()); in getContainingInterface() local 1911 *ObjCAtDefsFieldDecl::Create(ASTContext &C, DeclContext *DC, in Create() 1930 ObjCProtocolDecl::ObjCProtocolDecl(ASTContext &C, DeclContext *DC, in ObjCProtocolDecl() 1941 ObjCProtocolDecl *ObjCProtocolDecl::Create(ASTContext &C, DeclContext *DC, in Create() [all …]
|
H A D | ExternalASTMerger.cpp | 38 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 D | DeclFriend.cpp | 34 FriendDecl *FriendDecl::Create(ASTContext &C, DeclContext *DC, in Create()
|
H A D | ASTDumper.cpp | 26 void ASTDumper::dumpInvalidDeclContext(const DeclContext *DC) { in dumpInvalidDeclContext() 53 void ASTDumper::dumpLookups(const DeclContext *DC, bool DumpDecls) { in dumpLookups() 276 const DeclContext *DC = this; in dumpLookups() local
|
H A D | ASTImporter.cpp | 1876 NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC, in ImportDeclParts() 2461 DeclContext *DC, *LexicalDC; in VisitEmptyDecl() local 2489 DeclContext *DC, *LexicalDC; in VisitBindingDecl() local 2529 DeclContext *DC = *DCOrErr; in VisitAccessSpecDecl() local 2548 DeclContext *DC = *DCOrErr; in VisitStaticAssertDecl() local 2572 DeclContext *DC, *LexicalDC; in VisitNamespaceDecl() local 2655 DeclContext *DC, *LexicalDC; in VisitNamespaceAliasDecl() local 2702 DeclContext *DC = cast_or_null<DeclContext>( in VisitTypedefNameDecl() local 2816 DeclContext *DC, *LexicalDC; in VisitTypeAliasTemplateDecl() local 2875 DeclContext *DC, *LexicalDC; in VisitLabelDecl() local [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangASTSource.h | 62 void MaterializeVisibleDecls(const clang::DeclContext *DC) {} in MaterializeVisibleDecls() 214 bool FindExternalVisibleDeclsByName(const clang::DeclContext *DC, in FindExternalVisibleDeclsByName() 220 const clang::DeclContext *DC, in FindExternalLexicalDecls()
|
H A D | ASTUtils.h | 69 bool FindExternalVisibleDeclsByName(const clang::DeclContext *DC, in FindExternalVisibleDeclsByName() 74 void completeVisibleDeclsMap(const clang::DeclContext *DC) override { in completeVisibleDeclsMap() 92 const clang::DeclContext *DC, in FindExternalLexicalDecls() 336 bool FindExternalVisibleDeclsByName(const clang::DeclContext *DC, in FindExternalVisibleDeclsByName() 344 void completeVisibleDeclsMap(const clang::DeclContext *DC) override { in completeVisibleDeclsMap() 351 const clang::DeclContext *DC, in FindExternalLexicalDecls()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaModule.cpp | 26 SourceLocation ImportLoc, DeclContext *DC, in checkModuleImportContext() 634 for (auto *DC = D->getLexicalDeclContext(); DC; DC = DC->getLexicalParent()) in getEnclosingExportDecl() local 775 for (auto *DC = CurContext; DC; DC = DC->getLexicalParent()) { in ActOnAnnotModuleBegin() local 816 for (auto *DC = CurContext; DC; DC = DC->getLexicalParent()) { in ActOnAnnotModuleEnd() local 879 for (const DeclContext *DC = CurContext; DC; DC = DC->getLexicalParent()) { in ActOnStartExportDecl() local 920 static bool checkExportedDeclContext(Sema &S, DeclContext *DC, in checkExportedDeclContext() 974 if (auto *DC = dyn_cast<DeclContext>(D)) { in checkExportedDecl() local
|
H A D | SemaTemplateDeductionGuide.cpp | 91 static auto WalkUp = [](DeclContext *DC, DeclContext *TargetDC) { in mightReferToOuterTemplateParameters() 203 DeclContext *DC = OriginalTemplate->getDeclContext(); local 245 transformTemplateTypeParam(Sema &SemaRef, DeclContext *DC, in transformTemplateTypeParam() 274 transformTemplateParam(Sema &SemaRef, DeclContext *DC, in transformTemplateParam() 311 DeclContext *DC = Template->getDeclContext(); member 712 bool hasDeclaredDeductionGuides(DeclarationName Name, DeclContext *DC) { in hasDeclaredDeductionGuides() 725 NamedDecl *transformTemplateParameter(Sema &SemaRef, DeclContext *DC, in transformTemplateParameter() 1323 DeclContext *DC = Template->getDeclContext(); in DeclareAggregateDeductionGuideFromInitList() local 1370 DeclContext *DC = Template->getDeclContext(); in DeclareImplicitDeductionGuides() local
|
H A D | Scope.cpp | 259 if (const DeclContext *DC = getEntity()) in dumpImpl() local
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclOpenMP.h | 50 static T *createDirective(const ASTContext &C, DeclContext *DC, in createDirective() 272 static OMPDeclareReductionDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 302 OMPDeclareMapperDecl(DeclContext *DC, SourceLocation L, DeclarationName Name, in OMPDeclareMapperDecl() 371 static OMPDeclareMapperDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 387 OMPCapturedExprDecl(ASTContext &C, DeclContext *DC, IdentifierInfo *Id, in OMPCapturedExprDecl() 423 OMPRequiresDecl(DeclContext *DC, SourceLocation L) in OMPRequiresDecl() 480 OMPAllocateDecl(DeclContext *DC, SourceLocation L) in OMPAllocateDecl()
|
H A D | Decl.h | 133 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 239 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 261 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N) in NamedDecl() 373 const DeclContext *DC = getDeclContext(); in isCXXClassMember() local 509 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() 657 static NamespaceDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 673 ValueDecl(Kind DK, DeclContext *DC, SourceLocation L, in ValueDecl() 751 DeclaratorDecl(Kind DK, DeclContext *DC, SourceLocation L, in DeclaratorDecl() 1204 if (const DeclContext *DC = getLexicalDeclContext()) in isLocalVarDecl() local 1218 const DeclContext *DC = getLexicalDeclContext()->getRedeclContext(); in isFunctionOrMethodVarDecl() local [all …]
|
H A D | PrettyPrinter.h | 49 virtual bool isScopeVisible(const DeclContext *DC) const { return false; } in isScopeVisible()
|
H A D | DeclCXX.h | 90 AccessSpecDecl(AccessSpecifier AS, DeclContext *DC, in AccessSpecDecl() 118 DeclContext *DC, SourceLocation ASLoc, in Create() 1963 CXXDeductionGuideDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in CXXDeductionGuideDecl() 2037 RequiresExprBodyDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc) in RequiresExprBodyDecl() 2058 static RequiresExprBodyDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 3007 static LinkageSpecDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 3039 UsingDirectiveDecl(DeclContext *DC, SourceLocation UsingLoc, in UsingDirectiveDecl() 3145 NamespaceAliasDecl(ASTContext &C, DeclContext *DC, in NamespaceAliasDecl() 3363 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create() 3433 BaseUsingDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N) in BaseUsingDecl() [all …]
|
H A D | LexicallyOrderedRecursiveASTVisitor.h | 79 bool TraverseDeclContextHelper(DeclContext *DC) { in TraverseDeclContextHelper()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 32 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 D | IndexDecl.cpp | 52 const DeclContext *DC) { in handleTemplateArgumentLoc() 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(); in VisitUsingDirectiveDecl() local 644 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUnresolvedUsingValueDecl() local 653 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUnresolvedUsingTypenameDecl() local 798 bool IndexingContext::indexDeclContext(const DeclContext *DC) { in indexDeclContext()
|