Searched refs:DeclCtx (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclBase.h | 272 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 D | SemaInternal.h | 210 DeclContext* DeclCtx; member
|
H A D | Sema.h | 8794 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 D | DeclBase.cpp | 359 DeclCtx = DC; in setDeclContext() 389 DeclCtx = SemaDC; in setDeclContextsImpl() 394 DeclCtx = MDC; in setDeclContextsImpl()
|
H A D | ASTContext.cpp | 193 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 D | BugReporter.cpp | 2967 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 D | SemaLambda.cpp | 851 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 D | SemaLookup.cpp | 4721 DeclContext *Ctx = NSI.DeclCtx; in performQualifiedLookups()
|