Searched refs:DeclCtx (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerWriter.cpp | 221 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 D | DeclBase.h | 272 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 D | SemaInternal.h | 210 DeclContext* DeclCtx; member
|
| H A D | Sema.h | 9072 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 D | DeclBase.cpp | 365 DeclCtx = DC; in setDeclContext() 395 DeclCtx = SemaDC; in setDeclContextsImpl() 400 DeclCtx = MDC; in setDeclContextsImpl()
|
| H A D | ASTContext.cpp | 212 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 D | BugReporter.cpp | 3012 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 D | SemaLambda.cpp | 872 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 D | SemaLookup.cpp | 4815 DeclContext *Ctx = NSI.DeclCtx; in performQualifiedLookups()
|