Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h272 llvm::PointerUnion<DeclContext*, MultipleDC*> DeclCtx; variable
274 bool isInSemaDC() const { return DeclCtx.is<DeclContext*>(); } in isInSemaDC()
275 bool isOutOfSemaDC() const { return DeclCtx.is<MultipleDC*>(); } in isOutOfSemaDC()
278 return DeclCtx.get<MultipleDC*>(); in getMultipleDC()
282 return DeclCtx.get<DeclContext*>(); in getSemanticDC()
397 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.h8794 IdentifierInfo *Id, unsigned InitStyle, Expr *Init, DeclContext *DeclCtx);
11831 TemplateCompareNewDeclInfo(const DeclContext *DeclCtx, in TemplateCompareNewDeclInfo() argument
11835 : DC(DeclCtx), LexicalDC(LexicalDeclCtx), Loc(Loc) { in TemplateCompareNewDeclInfo()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp359 DeclCtx = DC; in setDeclContext()
389 DeclCtx = SemaDC; in setDeclContextsImpl()
394 DeclCtx = MDC; in setDeclContextsImpl()
H A DASTContext.cpp193 const auto *DeclCtx = D->getDeclContext(); in getDeclLocsForCommentSearch() local
202 if (!(DeclCtx && in getDeclLocsForCommentSearch()
203 Decl::castFromDeclContext(DeclCtx)->getLocation().isMacroID())) { in getDeclLocsForCommentSearch()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp2967 const AnalysisDeclContext *DeclCtx = in emitReport() local
2973 if (DeclCtx->isBodyAutosynthesized() && in emitReport()
2974 !DeclCtx->isBodyAutosynthesizedFromModelFile()) in emitReport()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp851 IdentifierInfo *Id, unsigned InitStyle, Expr *Init, DeclContext *DeclCtx) { in createLambdaInitCaptureVarDecl() argument
862 VarDecl *NewVD = VarDecl::Create(Context, DeclCtx, Loc, Loc, Id, in createLambdaInitCaptureVarDecl()
H A DSemaLookup.cpp4721 DeclContext *Ctx = NSI.DeclCtx; in performQualifiedLookups()