Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp220 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-src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp668 // - We don't want the callee's `DeclCtx`, `ReturnVal`, `ReturnLoc` or in join()
378 Environment(DataflowAnalysisContext & DACtx,const DeclContext & DeclCtx) Environment() argument
384 const DeclContext *DeclCtx = getDeclCtx(); initialize() local
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h259 /// DeclCtx - Holds either a DeclContext* or a MultipleDC*.
272 llvm::PointerUnion<DeclContext*, MultipleDC*> DeclCtx;
274 bool isInSemaDC() const { return DeclCtx.is<DeclContext*>(); } in isOutOfSemaDC()
275 bool isOutOfSemaDC() const { return DeclCtx.is<MultipleDC*>(); }
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()
271 llvm::PointerUnion<DeclContext*, MultipleDC*> DeclCtx; global() variable
/freebsd-src/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h210 DeclContext* DeclCtx;
214 DeclContext* DeclCtx; global() member
H A DSema.h8794 IdentifierInfo *Id, unsigned InitStyle, Expr *Init, DeclContext *DeclCtx);
11831 TemplateCompareNewDeclInfo(const DeclContext *DeclCtx,
11835 : DC(DeclCtx), LexicalDC(LexicalDeclCtx), Loc(Loc) {
8658 TemplateCompareNewDeclInfo(const DeclContext * DeclCtx,const DeclContext * LexicalDeclCtx,SourceLocation Loc) TemplateCompareNewDeclInfo() argument
/freebsd-src/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h
/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp359 DeclCtx = DC; in setLexicalDeclContext()
389 DeclCtx = SemaDC; in isInLocalScopeForInstantiation()
394 DeclCtx = MDC; in isInAnonymousNamespace()
H A DASTContext.cpp193 const auto *DeclCtx = D->getDeclContext(); in getDeclLocsForCommentSearch()
202 if (!(DeclCtx && in getDeclLocsForCommentSearch()
203 Decl::castFromDeclContext(DeclCtx)->getLocation().isMacroID())) { in getDeclLocsForCommentSearch()
190 const auto *DeclCtx = D->getDeclContext(); getDeclLocsForCommentSearch() local
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp2967 const AnalysisDeclContext *DeclCtx = in findReportInEquivalenceClass()
2973 if (DeclCtx->isBodyAutosynthesized() && in findReportInEquivalenceClass()
2974 !DeclCtx->isBodyAutosynthesizedFromModelFile()) in findReportInEquivalenceClass()
2936 const AnalysisDeclContext *DeclCtx = emitReport() local
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp851 IdentifierInfo *Id, unsigned InitStyle, Expr *Init, DeclContext *DeclCtx) { in getDummyLambdaType()
862 VarDecl *NewVD = VarDecl::Create(Context, DeclCtx, Loc, Loc, Id, in getDummyLambdaType()
809 createLambdaInitCaptureVarDecl(SourceLocation Loc,QualType InitCaptureType,SourceLocation EllipsisLoc,IdentifierInfo * Id,unsigned InitStyle,Expr * Init,DeclContext * DeclCtx) createLambdaInitCaptureVarDecl() argument
H A DSemaLookup.cpp4721 DeclContext *Ctx = NSI.DeclCtx; in getNextCorrection()