Searched refs:DeclCtx (Results 1 – 11 of 11) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 220 auto *DeclCtx = D->getDeclContext(); in HandleTagDeclDefinition() local 221 while (DeclCtx) { in HandleTagDeclDefinition() 222 if (auto *D = dyn_cast<TagDecl>(DeclCtx)) in HandleTagDeclDefinition() 225 DeclCtx = DeclCtx->getParent(); in HandleTagDeclDefinition()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.cpp | 378 const DeclContext &DeclCtx) in Environment() argument 380 CallStack.push_back(&DeclCtx); in Environment() 384 const DeclContext *DeclCtx = getDeclCtx(); in initialize() local 385 if (DeclCtx == nullptr) in initialize() 388 if (const auto *FuncDecl = dyn_cast<FunctionDecl>(DeclCtx)) { in initialize() 399 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(DeclCtx)) { in initialize() 411 cast<CXXMethodDecl>(DeclCtx->getNonClosureAncestor()); in initialize()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclBase.h | 271 llvm::PointerUnion<DeclContext*, MultipleDC*> DeclCtx; variable 273 bool isInSemaDC() const { return DeclCtx.is<DeclContext*>(); } in isInSemaDC() 274 bool isOutOfSemaDC() const { return DeclCtx.is<MultipleDC*>(); } in isOutOfSemaDC() 277 return DeclCtx.get<MultipleDC*>(); in getMultipleDC() 281 return DeclCtx.get<DeclContext*>(); in getSemanticDC() 396 DeclCtx(DC), Loc(L), DeclKind(DK), InvalidDecl(false), HasAttrs(false), in Decl()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaInternal.h | 214 DeclContext* DeclCtx; member
|
| H A D | Sema.h | 7293 IdentifierInfo *Id, unsigned InitStyle, Expr *Init, DeclContext *DeclCtx); 8658 TemplateCompareNewDeclInfo(const DeclContext *DeclCtx, in TemplateCompareNewDeclInfo() argument 8662 : DC(DeclCtx), LexicalDC(LexicalDeclCtx), Loc(Loc) { in TemplateCompareNewDeclInfo()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.h | 167 Environment(DataflowAnalysisContext &DACtx, const DeclContext &DeclCtx);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclBase.cpp | 337 DeclCtx = DC; in setDeclContext() 367 DeclCtx = SemaDC; in setDeclContextsImpl() 372 DeclCtx = MDC; in setDeclContextsImpl()
|
| H A D | ASTContext.cpp | 190 const auto *DeclCtx = D->getDeclContext(); in getDeclLocsForCommentSearch() local 199 if (!(DeclCtx && in getDeclLocsForCommentSearch() 200 Decl::castFromDeclContext(DeclCtx)->getLocation().isMacroID())) { in getDeclLocsForCommentSearch()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporter.cpp | 2936 const AnalysisDeclContext *DeclCtx = in emitReport() local 2942 if (DeclCtx->isBodyAutosynthesized() && in emitReport() 2943 !DeclCtx->isBodyAutosynthesizedFromModelFile()) in emitReport()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 809 IdentifierInfo *Id, unsigned InitStyle, Expr *Init, DeclContext *DeclCtx) { in createLambdaInitCaptureVarDecl() argument 820 VarDecl *NewVD = VarDecl::Create(Context, DeclCtx, Loc, Loc, Id, in createLambdaInitCaptureVarDecl()
|
| H A D | SemaLookup.cpp | 4790 DeclContext *Ctx = NSI.DeclCtx; in performQualifiedLookups()
|