reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Sema/Template.h
  291         : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope),
  293       SemaRef.CurrentInstantiationScope = this;
  314       SemaRef.CurrentInstantiationScope = Outer;
  325       LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope;
  354       SemaRef.CurrentInstantiationScope = oldScope;
  490       StartingScope = SemaRef.CurrentInstantiationScope;
tools/clang/lib/Sema/SemaChecking.cpp
14044   if (CurrentInstantiationScope)
14062   assert(!CurrentInstantiationScope); // Ensured by caller
tools/clang/lib/Sema/SemaDecl.cpp
13463         S.CurrentInstantiationScope->InstantiatedLocal(VD, VD);
tools/clang/lib/Sema/SemaStmt.cpp
  414   if (NumElts != 0 && !CurrentInstantiationScope &&
tools/clang/lib/Sema/SemaTemplate.cpp
 1879       SemaRef.CurrentInstantiationScope->InstantiatedLocal(TemplateParam,
 2000     SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam);
 5439   if (ArgIdx < NumArgs && CurrentInstantiationScope &&
 5440       CurrentInstantiationScope->getPartiallySubstitutedPack()) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
  763     if (auto *Scope = S.CurrentInstantiationScope)
 3044         CurrentInstantiationScope->SetPartiallySubstitutedPack(
 3339           CurrentInstantiationScope, NumExplicitlySpecified,
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  840       SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack);
  846             = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){
  865             = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){
  884         SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old);
  886           SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg(
  909       SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New);
 1085   getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst);
 1137     getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var);
 1146     getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var);
 1442     = getSema().CurrentInstantiationScope->findInstantiationOf(PD);
 1894     CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm);
 1897     CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm);
 2232     assert(CurrentInstantiationScope == Instantiator.getStartingScope());
 2233     CurrentInstantiationScope = I->Scope;
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  623       if (CurrentInstantiationScope)
  624         Saved = CurrentInstantiationScope->cloneScopes(OuterMostScope);
  846   SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD);
 1009       SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Field);
 1232     SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum);
 1290         SemaRef.CurrentInstantiationScope->InstantiatedLocal(EC, EnumConst);
 1694     SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Record);
 2423   SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst);
 2572   SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param);
 2706   SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param);
 2833       SemaRef.CurrentInstantiationScope->InstantiatedLocal(Shadow, InstShadow);
 2910       SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewD);
 2969     SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewD);
 3054         SemaRef.CurrentInstantiationScope->findInstantiationOf(PrevDeclInScope)
 3061   SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewDRD);
 3081     SemaRef.CurrentInstantiationScope->InstantiatedLocal(
 3084     SemaRef.CurrentInstantiationScope->InstantiatedLocal(
 3097       SemaRef.CurrentInstantiationScope->InstantiatedLocal(
 3100       SemaRef.CurrentInstantiationScope->InstantiatedLocal(
 3152         SemaRef.CurrentInstantiationScope->findInstantiationOf(PrevDeclInScope)
 3158   SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewDMD);
 3174     SemaRef.CurrentInstantiationScope->InstantiatedLocal(
 3844         LocalInstantiationScope *Scope = SemaRef.CurrentInstantiationScope;
 4560       CurrentInstantiationScope->InstantiatedLocal(OldVar, NewVar);
 5337     if (CurrentInstantiationScope) {
 5338       if (auto Found = CurrentInstantiationScope->findInstantiationOf(D)) {
 5380       CurrentInstantiationScope->InstantiatedLocal(D, Inst);
 5391     CurrentInstantiationScope->InstantiatedLocal(D, Inst);
tools/clang/lib/Sema/SemaTemplateVariadic.cpp
  687         = CurrentInstantiationScope->findInstantiationOf(
  716     if (!IsVarDeclPack && CurrentInstantiationScope) {
  718                     = CurrentInstantiationScope->getPartiallySubstitutedPack()){
  769           CurrentInstantiationScope->getPartiallySubstitutedPack();
  805           = CurrentInstantiationScope->findInstantiationOf(