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.cpp123 for (auto &CSC : llvm::reverse(SemaRef.CodeSynthesisContexts)) { in getEnclosingTypeAliasTemplateDecl()
317 for (auto &Inst : llvm::reverse(SemaRef.CodeSynthesisContexts)) { in HandleFunction()
627 if (!SemaRef.CodeSynthesisContexts.empty()) in InstantiatingTemplate()
629 SemaRef.CodeSynthesisContexts.back().InConstraintSubstitution; in InstantiatingTemplate()
836 CodeSynthesisContexts.push_back(Ctx); in pushCodeSynthesisContext()
847 auto &Active = CodeSynthesisContexts.back(); in popCodeSynthesisContext()
856 assert(CodeSynthesisContexts.size() >= in popCodeSynthesisContext()
859 if (CodeSynthesisContexts.size() == in popCodeSynthesisContext()
868 if (CodeSynthesisContexts.size() == in popCodeSynthesisContext()
872 CodeSynthesisContexts.pop_back(); in popCodeSynthesisContext()
[all …]
H A DSema.cpp729 if (!CodeSynthesisContexts.empty() && in diagnoseZeroToNullptrConversion()
730 CodeSynthesisContexts.back().Kind == in diagnoseZeroToNullptrConversion()
2520 assert(!CodeSynthesisContexts.empty()); in getCurBlock()
2548 assert(!CodeSynthesisContexts.empty()); in getEnclosingLambdaOrBlock()
2573 assert(!CodeSynthesisContexts.empty()); in getCurLambda()
H A DSemaLookup.cpp1612 unsigned N = CodeSynthesisContexts.size(); in getLookupModules()
1615 Module *M = CodeSynthesisContexts[I].Entity ? in getLookupModules()
1616 getDefiningModule(*this, CodeSynthesisContexts[I].Entity) : in getLookupModules()
1912 if (AcceptableWithinParent && SemaRef.CodeSynthesisContexts.empty() && in isAcceptableSlow()
5237 if (!CodeSynthesisContexts.empty()) in makeTypoCorrectionConsumer()
H A DSemaTemplateInstantiateDecl.cpp2812 SemaRef.CodeSynthesisContexts.back().Kind != in VisitFunctionDecl()
3066 SemaRef.CodeSynthesisContexts.back().Kind != in VisitCXXMethodDecl()
5314 ActiveInstType &ActiveInst = SemaRef.CodeSynthesisContexts.back(); in InitFunctionInstantiation()
6940 CodeSynthesisContexts.back().Kind == in FindInstantiatedDecl()
H A DSemaType.cpp4597 if (S.CodeSynthesisContexts.empty()) { in GetFullTypeForDeclarator()
9258 if (CodeSynthesisContexts.empty() && in hasAcceptableDefinition()
9758 if (AsUnevaluated && CodeSynthesisContexts.empty() && in BuildDecltypeType()
H A DSemaTemplate.cpp5076 CodeSynthesisContexts.back().Kind == in CheckTemplateTypeArgument()
11576 if (!getLangOpts().CPlusPlus || CodeSynthesisContexts.empty()) in getTopMostPointOfInstantiation()
11585 for (const CodeSynthesisContext &CSC : CodeSynthesisContexts) { in getTopMostPointOfInstantiation()
H A DSemaExpr.cpp2454 !CodeSynthesisContexts.empty() && in DiagnoseDependentMemberLookup()
2455 CodeSynthesisContexts.back().Kind == in DiagnoseDependentMemberLookup()
18448 CodeSynthesisContexts.size()) in MarkFunctionReferenced()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h13388 SmallVector<CodeSynthesisContext, 16> CodeSynthesisContexts; variable
13472 if (!CodeSynthesisContexts.empty() && in PrintContextStack()
13473 CodeSynthesisContexts.size() != LastEmittedCodeSynthesisContextDepth) { in PrintContextStack()
13475 LastEmittedCodeSynthesisContextDepth = CodeSynthesisContexts.size(); in PrintContextStack()
13751 return CodeSynthesisContexts.size() > NonInstantiationEntries; in inTemplateInstantiation()
13756 return !CodeSynthesisContexts.empty() && in inConstraintSubstitution()
13757 CodeSynthesisContexts.back().InConstraintSubstitution; in inConstraintSubstitution()