Searched refs:DeclContext (Results 76 - 100 of 199) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp321 const clang::DeclContext &decl_context,
325 clang::DeclContext::lookup_result result = decl_context.lookup(decl_name);
970 clang::DeclContext *
973 clang::DeclContext *result =
990 clang::DeclContext *result =
999 clang::DeclContext *PDBASTParser::GetDeclContextContainingSymbol(
1031 clang::DeclContext *curr_context = m_ast.GetTranslationUnitDecl();
1038 if (clang::DeclContext *child_context =
1074 const clang::DeclContext *decl_context) {
1098 PDBASTParser::FindNamespaceDecl(const clang::DeclContext *paren
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp66 DeclContext *DC = D->getDeclContext();
83 explicit EffectiveContext(DeclContext *DC)
134 DeclContext *getInnerContext() const {
140 DeclContext *Inner;
215 DeclContext *IC = S.computeDeclContext(getBaseObjectType());
264 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext();
265 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext();
329 static bool MightInstantiateTo(Sema &S, DeclContext *Context,
330 DeclContext *Friend) {
1125 DeclContext *D
[all...]
H A DCodeCompleteConsumer.cpp358 StringRef CodeCompletionTUInfo::getParentName(const DeclContext *DC) {
368 // If we already processed this DeclContext and assigned empty to it, the
374 SmallVector<const DeclContext *, 2> Contexts;
395 const DeclContext *CurDC = Contexts[I - 1];
403 // between empty because we didn't process the DeclContext yet.
466 void CodeCompletionBuilder::addParentContext(const DeclContext *DC) {
H A DScope.cpp193 if (const DeclContext *DC = getEntity())
194 OS << "Entity : (clang::DeclContext*)" << DC << '\n';
H A DIdentifierResolver.cpp99 bool IdentifierResolver::isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S,
138 DeclContext *DCtx = D->getDeclContext()->getRedeclContext();
H A DSemaDecl.cpp243 for (DeclContext *DC = S.CurContext;
298 DeclContext *LookupCtx = nullptr;
528 synthesizeCurrentNestedNameSpecifier(ASTContext &Context, DeclContext *DC) {
548 findRecordWithDependentBasesOfEnclosingMethod(const DeclContext *DC) {
696 } else if (DeclContext *DC = computeDeclContext(*SS, false)) {
749 else if (DeclContext *DC = computeDeclContext(*SS, false))
1263 void Sema::PushDeclContext(Scope *S, DeclContext *DC) {
1265 "The next DeclContext should be lexically contained in the current one.");
1271 assert(CurContext && "DeclContext imbalance!");
1298 void Sema::EnterDeclaratorContext(Scope *S, DeclContext *D
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp200 DeclContext *DC) {
391 void ASTResultSynthesizer::RecordPersistentTypes(DeclContext *FunDeclCtx) {
392 typedef DeclContext::specific_decl_iterator<TypeDecl> TypeDeclIterator;
H A DClangExpressionDeclMap.cpp639 "'{0}' in a NULL DeclContext",
660 const_cast<clang::DeclContext *>(context.m_decl_context));
994 clang::DeclContext *ctxt = clang::Decl::castToDeclContext(namespace_decl);
1111 clang::DeclContext *frame_decl_ctx =
1112 (clang::DeclContext *)frame_decl_context.GetOpaqueDeclContext();
1152 clang::DeclContext *func_decl_ctx =
1153 (clang::DeclContext *)func_decl_context.GetOpaqueDeclContext();
1729 clang::DeclContext *src_decl_context =
1730 (clang::DeclContext *)function->GetDeclContext()
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp31 bool FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx,
59 clang::DeclContext::lookup_result result =
553 clang::DeclContext::lookup_result lookup_result =
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h35 class DeclContext;
468 DeclContext *Owner;
489 TemplateDeclInstantiator(Sema &SemaRef, DeclContext *Owner,
H A DTypoCorrection.h34 class DeclContext;
393 DeclContext *CurContext;
H A DSema.h118 class DeclContext;
411 DeclContext *CurContext;
415 DeclContext *OriginalLexicalContext;
876 DeclContext *SavedContext;
883 ContextRAII(Sema &S, DeclContext *ContextToPush, bool NewThisContext = true)
936 SynthesizedFunctionScope(Sema &S, DeclContext *DC)
1219 /// \param DC - The DeclContext containing the lambda expression or
1222 getCurrentMangleNumberContext(const DeclContext *DC);
1575 Scope *getScopeForContext(DeclContext *Ctx);
2328 bool DiagnoseClassNameShadow(DeclContext *D
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h73 class DeclContext;
321 /// The on-disk hash table(s) used for DeclContext name lookup.
531 llvm::DenseMap<std::pair<DeclContext *, IdentifierInfo *>, NamedDecl *>
563 /// Map from a DeclContext to its lexical contents.
564 llvm::DenseMap<const DeclContext*, std::pair<ModuleFile*, LexicalContents>>
570 /// Map from a DeclContext to its lookup tables.
571 llvm::DenseMap<const DeclContext *,
608 uint64_t Offset, DeclContext *DC);
1091 /// The Decl IDs for the Sema/Lexical DeclContext of a Decl that has
1092 /// been loaded but its DeclContext wa
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp301 DeclContext *FromDC = FromD->getDeclContext();
302 DeclContext *FromLexicalDC = FromD->getLexicalDeclContext();
303 DeclContext *ToDC = ToD->getDeclContext();
304 DeclContext *ToLexicalDC = ToD->getLexicalDeclContext();
389 NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC,
394 Error ImportDeclContext(DeclContext *FromDC, bool ForceImport = false);
396 Decl *From, DeclContext *&ToDC, DeclContext *&ToLexicalDC);
412 /// DeclContext
[all...]
H A DLinkage.h132 LinkageInfo getLVForClosure(const DeclContext *DC, Decl *ContextDecl,
H A DItaniumMangle.cpp44 static const DeclContext *getEffectiveDeclContext(const Decl *D) {
65 const DeclContext *DC = D->getDeclContext();
82 static const DeclContext *getEffectiveParentContext(const DeclContext *DC) {
86 static bool isLocalContainerContext(const DeclContext *DC) {
91 const DeclContext *DC = getEffectiveDeclContext(D);
124 typedef std::pair<const DeclContext*, IdentifierInfo*> DiscriminatorKeyTy;
199 const DeclContext *DC = getEffectiveDeclContext(ND);
496 void mangleNestedName(GlobalDecl GD, const DeclContext *DC,
503 void manglePrefix(const DeclContext *D
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp96 static void Scan(IvarUsageMap &M, const DeclContext *C, const FileID FID,
148 // FIXME: In the future hopefully we can just use the lexical DeclContext
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DCXXInheritance.h81 DeclContext::lookup_result Decls;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp274 const DeclContext *
275 serialization::getDefinitiveDeclContext(const DeclContext *DC) {
299 // Each function, method, and block declaration is its own DeclContext.
328 llvm_unreachable("Unhandled DeclContext in AST reader");
H A DASTReaderDecl.cpp171 static DeclContext *getPrimaryDCForAnonymousDecl(DeclContext *LexicalDC);
174 DeclContext *DC,
176 static void setAnonymousDeclForMerging(ASTReader &Reader, DeclContext *DC,
203 /// chain hanging off an identifier or the DeclContext we searched in)
244 static DeclContext *getPrimaryContextForMerging(ASTReader &Reader,
245 DeclContext *DC);
404 std::pair<uint64_t, uint64_t> VisitDeclContext(DeclContext *DC);
560 // We don't want to deserialize the DeclContext of a template
562 // entities might be used in the formulation of its DeclContext (fo
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DPartialDiagnostic.h31 class DeclContext;
377 // Adds a DeclContext to the diagnostic. The enable_if template magic is here
379 // other arguments that derive from DeclContext (e.g., RecordDecls) will not
382 friend inline std::enable_if_t<std::is_same<T, DeclContext>::value,
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp348 if (auto *dc = llvm::dyn_cast<clang::DeclContext>(parent)) {
1210 CompilerDeclContext TypeSystemClang::CreateDeclContext(DeclContext *ctx) {
1211 // Check that the DeclContext actually belongs to this ASTContext.
1281 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
1369 DeclContext *const decl_context =
1421 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
1463 DeclContext *decl_ctx, OptionalClangModuleID owning_module,
1475 clang::DeclContext::lookup_result result = decl_ctx->lookup(decl_name);
1551 DeclContext *decl_ctx, OptionalClangModuleID owning_module,
1696 llvm::StringRef name, clang::DeclContext *decl_ct
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp21 const DeclContext *ParentDC;
31 const NamedDecl *Parent, const DeclContext *DC)
472 const DeclContext *DC) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp326 const DeclContext *DC = D->getDeclContext()->getEnclosingNamespaceContext();
331 while (const DeclContext *Parent = ND->getParent()) {
543 llvm::SmallPtrSet<const DeclContext *, 4> IgnoredContexts;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DMultiplexConsumer.cpp83 void AddedVisibleDecl(const DeclContext *DC, const Decl *D) override;
128 const DeclContext *DC, const Decl *D) {

Completed in 366 milliseconds

12345678