Home
last modified time | relevance | path

Searched refs:DeclCtx (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerWriter.cpp221 auto *DeclCtx = D->getDeclContext(); in HandleTagDeclDefinition() local
222 while (DeclCtx) { in HandleTagDeclDefinition()
223 if (auto *D = dyn_cast<TagDecl>(DeclCtx)) in HandleTagDeclDefinition()
226 DeclCtx = DeclCtx->getParent(); in HandleTagDeclDefinition()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h272 llvm::PointerUnion<DeclContext*, MultipleDC*> DeclCtx; variable
274 bool isInSemaDC() const { return isa<DeclContext *>(DeclCtx); } in isInSemaDC()
275 bool isOutOfSemaDC() const { return isa<MultipleDC *>(DeclCtx); } in isOutOfSemaDC()
277 MultipleDC *getMultipleDC() const { return cast<MultipleDC *>(DeclCtx); } in getMultipleDC()
279 DeclContext *getSemanticDC() const { return cast<DeclContext *>(DeclCtx); } in getSemanticDC()
394 DeclCtx(DC), Loc(L), DeclKind(DK), InvalidDecl(false), HasAttrs(false), in Decl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h210 DeclContext* DeclCtx; member
H A DSema.h9072 IdentifierInfo *Id, unsigned InitStyle, Expr *Init, DeclContext *DeclCtx);
12065 TemplateCompareNewDeclInfo(const DeclContext *DeclCtx, in TemplateCompareNewDeclInfo() argument
12069 : DC(DeclCtx), LexicalDC(LexicalDeclCtx), Loc(Loc) { in TemplateCompareNewDeclInfo()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp365 DeclCtx = DC; in setDeclContext()
395 DeclCtx = SemaDC; in setDeclContextsImpl()
400 DeclCtx = MDC; in setDeclContextsImpl()
H A DASTContext.cpp212 const auto *DeclCtx = D->getDeclContext(); in getDeclLocsForCommentSearch() local
221 if (!(DeclCtx && in getDeclLocsForCommentSearch()
222 Decl::castFromDeclContext(DeclCtx)->getLocation().isMacroID())) { in getDeclLocsForCommentSearch()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp3012 const AnalysisDeclContext *DeclCtx = in emitReport() local
3018 if (DeclCtx->isBodyAutosynthesized() && in emitReport()
3019 !DeclCtx->isBodyAutosynthesizedFromModelFile()) in emitReport()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp872 IdentifierInfo *Id, unsigned InitStyle, Expr *Init, DeclContext *DeclCtx) { in createLambdaInitCaptureVarDecl() argument
883 VarDecl *NewVD = VarDecl::Create(Context, DeclCtx, Loc, Loc, Id, in createLambdaInitCaptureVarDecl()
H A DSemaLookup.cpp4815 DeclContext *Ctx = NSI.DeclCtx; in performQualifiedLookups()