/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 387 DeclContext *LookupCtx = nullptr; 626 DeclContext *LookupCtx = nullptr; 727 DeclContext *DC = getFunctionLevelDeclContext(); 1603 DeclContext *SemanticContext; 1691 DeclContext *OutermostContext = CurContext; 1709 DeclContext *LookupContext = SemanticContext; 1915 DeclContext *DC = SemanticContext->getRedeclContext(); 2001 DeclContext *DC = Template->getDeclContext(); 2333 DeclContext *DC = Template->getDeclContext(); 3626 for (DeclContext *Ct [all...] |
H A D | SemaObjCProperty.cpp | 115 DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName()); 181 DeclContext *lexicalDC) { 236 DeclContext::lookup_result R = Super->lookup(Res->getDeclName()); 428 DeclContext *DC = CurContext; 517 // Create a new ObjCPropertyDecl with the DeclContext being 580 DeclContext *lexicalDC){ 621 DeclContext *DC = CDecl; 1151 DeclContext::lookup_result R = Ext->lookup(property->getDeclName()); 1445 // Redeclare the getter within the implementation as DeclContext. 1512 // Redeclare the setter within the implementation as DeclContext [all...] |
H A D | SemaDeclCXX.cpp | 457 DeclContext *ScopeDC = New->isLocalExternDecl() 732 DeclContext *const DC = CurContext; 2343 DeclContext *DC = computeDeclContext(*SS, true); 2371 DeclContext *DC = computeDeclContext(*SS, true); 3351 if (DeclContext *DC = computeDeclContext(SS, false)) 4083 DeclContext::lookup_result Result = ClassDecl->lookup(MemberOrBase); 4173 DeclContext *DC = computeDeclContext(SS, false); 6556 DeclContext::lookup_result R = Record->lookup(Record->getDeclName()); 6557 for (DeclContext::lookup_iterator I = R.begin(), E = R.end(); I != E; 9672 DeclContext [all...] |
H A D | SemaExprCXX.cpp | 258 DeclContext *LookupCtx = computeDeclContext(SearchType); 270 DeclContext *LookupCtx = computeDeclContext(LookupSS, EnteringContext); 1047 DeclContext *CurSemaContext, ASTContext &ASTCtx) { 1051 DeclContext *CurDC = CurSemaContext; 1070 // time the DeclContext tree is mature enough to query capture information 1080 // 2) If we run out of enclosing LSI's, check if the enclosing DeclContext 1084 // DeclContext should occur), so climb out the DeclContexts if they 1157 DeclContext *DC = getFunctionLevelDeclContext(); 2907 DeclContext *GlobalCtx = Context.getTranslationUnitDecl(); 2910 DeclContext [all...] |
H A D | SemaStmt.cpp | 2074 DeclContext *DC = SemaRef.CurContext; 4209 DeclContext *DC = CurContext; 4289 DeclContext *DC = CurContext; 4360 DeclContext *DC = CapturedDecl::castToDeclContext(CD); 4390 DeclContext *DC = CapturedDecl::castToDeclContext(CD);
|
H A D | SemaTemplateInstantiate.cpp | 69 DeclContext *Ctx = dyn_cast<DeclContext>(D); 1033 if (auto *DC = dyn_cast<DeclContext>(Old)) 1169 DeclContext *Owner = OrigTPL->getParam(0)->getDeclContext(); 1171 /* DeclContext *Owner */ Owner, TemplateArgs); 3426 DeclContext::lookup_result Lookup =
|
H A D | AnalysisBasedWarnings.cpp | 826 << const_cast<DeclContext*>(VD->getLexicalDeclContext()) 2089 if (cast<DeclContext>(D)->isDependentContext()) 2243 runUninitializedVariablesAnalysis(*cast<DeclContext>(D), *cfg, AC,
|
H A D | SemaExpr.cpp | 2035 DeclContext *Ctx = 2086 DeclContext *DC = SS.isEmpty() ? CurContext : nullptr; 2350 if (DeclContext *DC = computeDeclContext(SS, false)) { 2561 DeclContext *DC = computeDeclContext(SS, false); 3103 ValueDecl *var, DeclContext *DC); 3379 if (cast<DeclContext>(currentDecl)->isDependentContext()) 4395 DeclContext *DC = nullptr; 5536 DeclContext *DC = nullptr; 6139 DeclContext *Parent = FDecl->getParent(); 6196 const DeclContext *cons [all...] |
H A D | SemaAvailability.cpp | 91 const DeclContext *DC = ECD->getDeclContext();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CrossTU/ |
H A D | CrossTranslationUnit.cpp | 226 /// Recursively visits the decls of a DeclContext, and returns one with the 230 CrossTranslationUnitContext::findDefInDeclContext(const DeclContext *DC, 234 const auto *SubDC = dyn_cast<DeclContext>(D);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckObjCDealloc.cpp | 819 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); 820 for (DeclContext::lookup_iterator I = R.begin(), E = R.end(); I != E; ++I) {
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 46 class DeclContext; 202 /// DeclContext * 1254 // Adds a DeclContext to the diagnostic. The enable_if template magic is here 1256 // other arguments that derive from DeclContext (e.g., RecordDecls) will not 1260 std::is_same<std::remove_const_t<T>, DeclContext>::value,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 210 const DeclContext *DC = D.getDeclContext(); 212 DC = cast<DeclContext>(CD->getNonClosureContext()); 1086 auto FunctionName = [&](const DeclContext *DC) -> std::string { 1116 else if (const DeclContext *DC = D.getParentFunctionOrMethod()) 1365 getContext(), const_cast<DeclContext *>(D.getDeclContext()),
|
H A D | CGCUDANV.cpp | 281 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 615 DeclContext::lookup_result R = IDecl->lookup(Property->getDeclName()); 647 DeclContext::lookup_result R = ImpDecl->lookup(MD->getDeclName()); 1847 for (DeclContext::decl_iterator D = TU->decls_begin(), DEnd = TU->decls_end(); 1879 DeclContext::decl_iterator N = D; 1893 DeclContext::decl_iterator N = D;
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | SymbolFileNativePDB.cpp | 892 clang::DeclContext *context = m_ast->FromCompilerDeclContext(decl_ctx); 1512 clang::DeclContext *context = 1522 clang::DeclContext *context = m_ast->GetParentDeclContext(PdbSymUid(uid));
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | SymbolFilePDB.cpp | 650 std::move(err), "Unable to get DeclContext for UID"); 680 std::move(err), "Unable to get DeclContext containing UID"); 723 static_cast<clang::DeclContext *>(decl_ctx.GetOpaqueDeclContext())); 1695 clang::DeclContext *decl_context = nullptr; 1697 decl_context = static_cast<clang::DeclContext *>( 1985 "Unable to determine if DeclContext matches this symbol file");
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 2878 /// lexically declared within the given DeclContext. 2883 DeclContext *DC) { 3515 // DeclContext's Name Lookup Table Serialization 3654 DeclContext *DC) { 3660 DeclContext *DC) { 3669 ASTWriter::GenerateNameLookupTable(const DeclContext *ConstDC, 3676 auto *DC = const_cast<DeclContext*>(ConstDC); 3812 DeclContext::lookup_result Result = DC->noload_lookup(Name); 3846 /// visible from the given DeclContext. 3851 DeclContext *D [all...] |
H A D | ASTReader.cpp | 1144 DeclContext *DC) { 2956 DeclContext *DC = Ctx->getTranslationUnitDecl(); 3151 DeclContext *TU = ContextObj->getTranslationUnitDecl(); 7151 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); 7175 auto *DC = cast<DeclContext>(DCDecl); 7473 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant, 7590 ASTReader::FindExternalVisibleDeclsByName(const DeclContext *DC, 7593 "DeclContext has no visible decls in storage"); 7616 void ASTReader::completeVisibleDeclsMap(const DeclContext *DC) { 7636 const_cast<DeclContext *>(D [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | MemRegion.cpp | 896 /// StackFrameContext that matches a DeclContext, or find a VarRegion 900 const DeclContext *DC, 904 if (cast<DeclContext>(SFC->getDecl()) == DC) 980 const DeclContext *DC = D->getDeclContext();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 593 const DeclContext *DC = OMD->getDeclContext();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Mangle.cpp | 271 void MangleContext::mangleBlock(const DeclContext *DC, const BlockDecl *BD,
|
H A D | ASTDiagnostic.cpp | 438 DeclContext *DC = reinterpret_cast<DeclContext *> (Val); 442 // FIXME: Get the strings for DeclContext from some localized place
|
H A D | TypePrinter.cpp | 121 void AppendScope(DeclContext *DC, raw_ostream &OS); 1176 void TypePrinter::AppendScope(DeclContext *DC, raw_ostream &OS) {
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTContext.h | 520 llvm::DenseMap<const DeclContext *, std::unique_ptr<MangleNumberingContext>> 2808 /// DeclContext. 2809 MangleNumberingContext &getManglingNumberContext(const DeclContext *DC); 2987 friend class DeclContext; 3006 // by DeclContext objects. This probably should not be in ASTContext,
|