/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CrossTU/ |
H A D | CrossTranslationUnit.h | 191 const T *findDefInDeclContext(const DeclContext *DC,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 721 DeclContext *DC = getFunctionLevelDeclContext(); local 743 isa<CXXMethodDecl>(DC) && cast<CXXMethodDecl>(DC)->isInstance()) { 744 QualType ThisType = cast<CXXMethodDecl>(DC)->getThisType(); 1909 DeclContext *DC = SemanticContext->getRedeclContext(); local 1910 DC->makeDeclVisibleInContext(NewTemplate); 1911 if (Scope *EnclosingScope = getScopeForDeclContext(S, DC)) 1966 DeclContext *DC = Template->getDeclContext(); member in struct:__anon42::ConvertConstructorToDeductionGuideTransform 2065 SemaRef.Context, DC, Loc, Loc, nullptr, T, 2086 SemaRef.Context, DC, TT 2288 DeclContext *DC = Template->getDeclContext(); local 4593 DeclContext *DC; local 7826 DeclContext *DC = S.CurContext->getRedeclContext(); local 8380 DeclContext *DC = CurContext; local 10712 DeclContext *DC = CurContext; local [all...] |
H A D | SemaExpr.cpp | 92 const Decl *DC = cast_or_null<Decl>(S.getCurObjCLexicalContext()); local 93 if (DC && !DC->hasAttr<UnusedAttr>()) 2053 DeclContext *DC = SS.isEmpty() ? CurContext : nullptr; local 2054 while (DC) { 2055 if (isa<CXXRecordDecl>(DC)) { 2056 LookupQualifiedName(R, DC); 2072 DC == CurMethod->getParent() && !isDefaultArgument; 2107 DC = DC 2528 DeclContext *DC = computeDeclContext(SS, false); local 4286 DeclContext *DC = nullptr; local 4903 DeclContext *DC = nullptr; local 10986 DeclContext *DC = CurContext; local 11589 DeclContext *DC = S.CurContext, *Prev = nullptr; local 15791 diagnoseUncapturableValueReference(Sema &S, SourceLocation loc, ValueDecl *var, DeclContext *DC) argument 15864 getParentOfCapturingContextOrNull(DeclContext *DC, VarDecl *Var, SourceLocation Loc, const bool Diagnose, Sema &S) argument 16166 DeclContext *DC = CurContext; local [all...] |
H A D | SemaDeclCXX.cpp | 718 DeclContext *const DC = CurContext; local 824 /*CreateBuiltins*/DC->getRedeclContext()->isTranslationUnit()); 834 bool ConsiderLinkage = DC->isFunctionOrMethod() && 836 FilterLookupForScope(Previous, DC, S, ConsiderLinkage, 844 auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name); 860 ActOnVariableDeclarator(S, D, DC, TInfo, Previous, 2334 DeclContext *DC = computeDeclContext(*SS, true); 2335 return dyn_cast_or_null<CXXRecordDecl>(DC); 2362 DeclContext *DC = computeDeclContext(*SS, true); 2363 CurDecl = dyn_cast_or_null<CXXRecordDecl>(DC); [all...] |
H A D | SemaExprCXX.cpp | 191 DeclContext *DC = computeDeclContext(SS, EnteringContext); local 192 if (DC && DC->isFileContext()) { 194 LookupCtx = DC; 196 } else if (DC && isa<CXXRecordDecl>(DC)) { 1003 // tracking the enclosing DC for step 2 if needed). Note the topmost LSI on 1042 "run out of enclosing LSI's, yet the enclosing DC is a " 1083 DeclContext *DC = getFunctionLevelDeclContext(); local 1086 if (CXXMethodDecl *method = dyn_cast<CXXMethodDecl>(DC)) { [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGVTables.cpp | 1032 const DeclContext *DC = RD; local 1034 auto *D = cast<Decl>(DC); 1035 DC = DC->getParent(); 1036 if (isa<TranslationUnitDecl>(DC->getRedeclContext())) {
|
H A D | CGCUDANV.cpp | 276 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); local 281 for (const auto &Result : DC->lookup(&cudaLaunchKernelII)) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | CodeCoverage.cpp | 150 DemangleCache DC; member in class:__anon2842::CodeCoverageTool 285 auto View = SourceCoverageView::create(DC.demangle(Function.Name), 318 StringRef Funcname = DC.demangle(Function->Name); 513 DC.DemangledNames[Function.Name] = Symbols[I++].rtrim(); 1002 Report.renderFunctionReports(SourceFiles, DC, llvm::outs());
|
/freebsd-11-stable/libexec/getty/ |
H A D | main.c | 246 if (getty_chat(IC, CT, DC) > 0) { 269 i = getty_chat(AC, CT, DC);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 328 const DeclContext *DC = D->getDeclContext()->getEnclosingNamespaceContext(); local 329 const auto *ND = dyn_cast<NamespaceDecl>(DC);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 663 StringRef getParentName(const DeclContext *DC); 737 void addParentContext(const DeclContext *DC);
|
H A D | Sema.h | 874 SynthesizedFunctionScope(Sema &S, DeclContext *DC) argument 875 : S(S), SavedContext(S, DC) { 879 if (auto *FD = dyn_cast<FunctionDecl>(DC)) 882 assert(isa<ObjCMethodDecl>(DC)); 1148 /// \param DC - The DeclContext containing the lambda expression or 1151 getCurrentMangleNumberContext(const DeclContext *DC); 2177 bool DiagnoseClassNameShadow(DeclContext *DC, DeclarationNameInfo Info); 2178 bool diagnoseQualifiedDeclaration(CXXScopeSpec &SS, DeclContext *DC, 2190 static bool adjustContextForLocalExternDecl(DeclContext *&DC); 2216 NamedDecl* ActOnTypedefDeclarator(Scope* S, Declarator& D, DeclContext* DC, 11952 const DeclContext *DC = getCurLexicalContext(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Mangle.h | 125 void mangleBlock(const DeclContext *DC, const BlockDecl *BD,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIInstrInfo.cpp | 3702 unsigned DC = DppCt->getImm(); 3703 if (DC == DppCtrl::DPP_UNUSED1 || DC == DppCtrl::DPP_UNUSED2 || 3704 DC == DppCtrl::DPP_UNUSED3 || DC > DppCtrl::DPP_LAST || 3705 (DC >= DppCtrl::DPP_UNUSED4_FIRST && DC <= DppCtrl::DPP_UNUSED4_LAST) || 3706 (DC >= DppCtrl::DPP_UNUSED5_FIRST && DC <= DppCtrl::DPP_UNUSED5_LAST) || 3707 (DC > [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64InstPrinter.cpp | 827 // DC aliases 830 const AArch64DC::DC *DC = AArch64DC::lookupDCByEncoding(Encoding); local 831 if (!DC || !DC->haveFeatures(STI.getFeatureBits())) 836 Name = std::string(DC->Name);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 961 Decl *DC; member in class:clang::ObjCDeclContextSwitch 965 : P(p), DC(p.getObjCDeclContext()), 966 WithinObjCContainer(P.ParsingInObjCContainer, DC != nullptr) { 967 if (DC) 968 P.Actions.ActOnObjCTemporaryExitContainerContext(cast<DeclContext>(DC)); 971 if (DC) 972 P.Actions.ActOnObjCReenterContainerContext(cast<DeclContext>(DC));
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 703 auto DC = CurrentDecl->getDeclContext(); local 704 if (DC->isFileContext()) 709 if (auto *DCBlock = dyn_cast<BlockDecl>(DC)) 712 else if (auto *DCDecl = dyn_cast<Decl>(DC)) 862 for (const DeclContext *DC = CD->getParent(); DC; DC = DC->getParent()) 865 if (DC->isFunctionOrMethod() && (DC 1682 DeclContext *DC = MemberDecl->getDeclContext(); local [all...] |
H A D | TextNodeDumper.cpp | 268 const auto *DC = dyn_cast<DeclContext>(D); local 269 if (DC && DC->hasExternalLexicalStorage()) {
|
/freebsd-11-stable/contrib/gcc/ |
H A D | libgcc2.h | 163 typedef _Complex float DCtype __attribute__ ((mode (DC)));
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 605 /// Read the record that describes the lexical contents of a DC. 608 uint64_t Offset, DeclContext *DC); 610 /// Read the record that describes the visible contents of a DC. 1879 bool FindExternalVisibleDeclsByName(const DeclContext *DC, 1885 /// \param DC The declaration context whose declarations will be 1896 FindExternalLexicalDecls(const DeclContext *DC, 2211 void completeVisibleDeclsMap(const DeclContext *DC) override;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | MemRegion.cpp | 820 const DeclContext *DC, 824 if (cast<DeclContext>(SFC->getDecl()) == DC) 877 const DeclContext *DC = D->getDeclContext(); local 879 getStackOrCaptureRegionForDeclContext(LC, DC, D); 819 getStackOrCaptureRegionForDeclContext(const LocationContext *LC, const DeclContext *DC, const VarDecl *VD) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 131 void VisitDeclContext(DeclContext *DC); 291 if (DeclContext *DC = dyn_cast<DeclContext>(D)) 292 VisitDeclContext(DC); 322 auto *DC = D->getDeclContext(); local 323 while (auto *NS = dyn_cast<NamespaceDecl>(DC->getRedeclContext())) { 329 DC = NS->getParent(); 1752 void ASTDeclWriter::VisitDeclContext(DeclContext *DC) { argument 1753 Record.AddOffset(Writer.WriteDeclContextLexicalBlock(Context, DC)); 1754 Record.AddOffset(Writer.WriteDeclContextVisibleBlock(Context, DC)); 2014 // DC [all...] |
H A D | ASTReader.cpp | 1150 DeclContext *DC) { 1179 assert(!isa<TranslationUnitDecl>(DC) && 1185 auto &Lex = LexicalDecls[DC]; 1193 DC->setHasExternalLexicalStorage(true); 2955 DeclContext *DC = Ctx->getTranslationUnitDecl(); 2956 if (DC->hasExternalLexicalStorage() && !Ctx->getLangOpts().CPlusPlus) 2957 DC->setMustBuildLookupTable(); 7074 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); 7081 if (isa<TranslationUnitDecl>(DC) || isa<NamespaceDecl>(DC) || 1147 ReadLexicalDeclContextStorage(ModuleFile &M, BitstreamCursor &Cursor, uint64_t Offset, DeclContext *DC) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 1255 operator<<(const DiagnosticBuilder &DB, T *DC) { 1256 DB.AddTaggedVal(reinterpret_cast<intptr_t>(DC),
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFUnit.cpp | 171 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section, argument 177 : Context(DC), InfoSection(Section), Header(Header), Abbrev(DA),
|