Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp125 for (auto &CSC : llvm::reverse(SemaRef.CodeSynthesisContexts)) { in getEnclosingTypeAliasTemplateDecl()
808 CodeSynthesisContexts.push_back(Ctx); in pushCodeSynthesisContext()
820 auto &Active = CodeSynthesisContexts.back(); in popCodeSynthesisContext()
829 assert(CodeSynthesisContexts.size() >= in popCodeSynthesisContext()
832 if (CodeSynthesisContexts.size() == in popCodeSynthesisContext()
841 if (CodeSynthesisContexts.size() == in popCodeSynthesisContext()
845 CodeSynthesisContexts.pop_back(); in popCodeSynthesisContext()
851 auto &Active = SemaRef.CodeSynthesisContexts.back(); in Clear()
858 SemaRef.CodeSynthesisContexts.back()); in Clear()
882 SemaRef.CodeSynthesisContexts.size()); in CheckInstantiationDepth()
[all …]
H A DSema.cpp666 if (!CodeSynthesisContexts.empty() && in diagnoseZeroToNullptrConversion()
667 CodeSynthesisContexts.back().Kind == in diagnoseZeroToNullptrConversion()
2353 assert(!CodeSynthesisContexts.empty()); in getCurBlock()
2380 assert(!CodeSynthesisContexts.empty()); in getEnclosingLambda()
2405 assert(!CodeSynthesisContexts.empty()); in getCurLambda()
H A DSemaLookup.cpp1582 unsigned N = CodeSynthesisContexts.size(); in getLookupModules()
1585 Module *M = CodeSynthesisContexts[I].Entity ? in getLookupModules()
1586 getDefiningModule(*this, CodeSynthesisContexts[I].Entity) : in getLookupModules()
1875 if (AcceptableWithinParent && SemaRef.CodeSynthesisContexts.empty() && in isAcceptableSlow()
5145 if (!CodeSynthesisContexts.empty()) in makeTypoCorrectionConsumer()
H A DSemaTemplateInstantiateDecl.cpp2265 SemaRef.CodeSynthesisContexts.back().Kind != in VisitFunctionDecl()
2520 SemaRef.CodeSynthesisContexts.back().Kind != in VisitCXXMethodDecl()
4752 ActiveInstType &ActiveInst = SemaRef.CodeSynthesisContexts.back(); in InitFunctionInstantiation()
6249 assert(CodeSynthesisContexts.back().Kind == in FindInstantiatedDecl()
H A DSemaTemplate.cpp4695 CodeSynthesisContexts.back().Kind == in CheckTemplateTypeArgument()
11012 if (!getLangOpts().CPlusPlus || CodeSynthesisContexts.empty()) in getTopMostPointOfInstantiation()
11021 for (const CodeSynthesisContext &CSC : CodeSynthesisContexts) { in getTopMostPointOfInstantiation()
H A DSemaType.cpp4549 if (S.CodeSynthesisContexts.empty()) { in GetFullTypeForDeclarator()
8973 if (CodeSynthesisContexts.empty() && in hasAcceptableDefinition()
9473 if (AsUnevaluated && CodeSynthesisContexts.empty() && in BuildDecltypeType()
H A DSemaExpr.cpp2380 !CodeSynthesisContexts.empty() && in DiagnoseDependentMemberLookup()
2381 CodeSynthesisContexts.back().Kind == in DiagnoseDependentMemberLookup()
18014 CodeSynthesisContexts.size()) in MarkFunctionReferenced()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h13120 SmallVector<CodeSynthesisContext, 16> CodeSynthesisContexts; variable
13207 if (!CodeSynthesisContexts.empty() && in PrintContextStack()
13208 CodeSynthesisContexts.size() != LastEmittedCodeSynthesisContextDepth) { in PrintContextStack()
13210 LastEmittedCodeSynthesisContextDepth = CodeSynthesisContexts.size(); in PrintContextStack()
13472 return CodeSynthesisContexts.size() > NonInstantiationEntries; in inTemplateInstantiation()