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

References

tools/clang/lib/Sema/Sema.cpp
 1769   getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo(IsStmtExpr));
 1773   FunctionScopeInfo *CurFunction = getCurFunction();
 1782   return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred();
tools/clang/lib/Sema/SemaChecking.cpp
12302     if (getCurFunction() &&
12303         !getCurFunction()->ModifiedNonNullParams.count(PV)) {
13963       getCurFunction()->markSafeWeakUse(LHS);
tools/clang/lib/Sema/SemaCodeComplete.cpp
 2210     if (SemaRef.getCurFunction() &&
 2211         !SemaRef.getCurFunction()->SwitchStack.empty()) {
 4963   if (getCurFunction()->SwitchStack.empty() || !CodeCompleter)
 4966   SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer();
tools/clang/lib/Sema/SemaCoroutine.cpp
  503   auto *ScopeInfo = getCurFunction();
  580   auto *ScopeInfo = S.getCurFunction();
  603   auto *ScopeInfo = getCurFunction();
  801       *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E);
  958   FunctionScopeInfo *Fn = getCurFunction();
 1528   auto *ScopeInfo = getCurFunction();
tools/clang/lib/Sema/SemaDecl.cpp
 7301           const auto *LSI = cast<LambdaScopeInfo>(getCurFunction());
 7309           cast<LambdaScopeInfo>(getCurFunction())
11758     if (FunctionScopeInfo *FSI = getCurFunction())
12480     getCurFunction()->addByrefBlockVar(var);
13764   if (getLangOpts().Coroutines && getCurFunction()->isCoroutine())
13842         computeNRVO(Body, getCurFunction());
13933         computeNRVO(Body, getCurFunction());
13935     if (getCurFunction()->ObjCShouldCallSuper) {
13938       getCurFunction()->ObjCShouldCallSuper = false;
13940     if (getCurFunction()->ObjCWarnForNoDesignatedInitChain) {
13965       getCurFunction()->ObjCWarnForNoDesignatedInitChain = false;
13967     if (getCurFunction()->ObjCWarnForNoInitDelegation) {
13972       getCurFunction()->ObjCWarnForNoInitDelegation = false;
13983   if (Body && getCurFunction()->HasPotentialAvailabilityViolations)
13986   assert(!getCurFunction()->ObjCShouldCallSuper &&
13999     if (getCurFunction()->NeedsScopeChecking() &&
tools/clang/lib/Sema/SemaDeclAttr.cpp
 8498       getCurFunction()->HasPotentialAvailabilityViolations = true;
tools/clang/lib/Sema/SemaDeclObjC.cpp
  463         getCurFunction()->ObjCIsDesignatedInit = true;
  464         getCurFunction()->ObjCWarnForNoDesignatedInitChain =
  467         getCurFunction()->ObjCIsSecondaryInit = true;
  468         getCurFunction()->ObjCWarnForNoInitDelegation = true;
  481           getCurFunction()->ObjCShouldCallSuper = true;
  485           getCurFunction()->ObjCShouldCallSuper = true;
  491         getCurFunction()->ObjCShouldCallSuper =
tools/clang/lib/Sema/SemaExpr.cpp
  308         << getCurFunction()->HasOMPDeclareReductionCombiner;
 1831     getCurFunction()->recordUseOfWeak(E);
 2615       getCurFunction()->recordUseOfWeak(Result);
11964           getCurFunction()->markSafeWeakUse(RHS.get());
12514   if (FunctionScopeInfo *FD = S.getCurFunction())
14304   if (getCurFunction()->NeedsScopeChecking() &&
14310   if (Body && getCurFunction()->HasPotentialAvailabilityViolations)
14418   if (getCurFunction())
14419     getCurFunction()->addBlock(BD);
18015     getCurFunction()->HasPotentialAvailabilityViolations = true;
tools/clang/lib/Sema/SemaExprMember.cpp
 1466         S.getCurFunction()->recordUseOfWeak(Result);
tools/clang/lib/Sema/SemaExprObjC.cpp
 2254     getCurFunction()->ObjCShouldCallSuper = false;
 3187           getCurFunction()->recordUseOfWeak(Result, Prop);
tools/clang/lib/Sema/SemaLookup.cpp
 4766       if (SemaRef.getCurFunction() &&
 4767           !SemaRef.getCurFunction()->SwitchStack.empty()) {
tools/clang/lib/Sema/SemaOpenMP.cpp
  384     const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction();
15666   getCurFunction()->setHasOMPDeclareReductionCombiner();
tools/clang/lib/Sema/SemaPseudoObject.cpp
  860       S.getCurFunction()->markSafeWeakUse(RefExpr);
  979     S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr,
tools/clang/lib/Sema/SemaStmt.cpp
  385   return getCurFunction()->CompoundScopes.back();
  433   if (getCurFunction()->SwitchStack.empty())
  438       getCurFunction()->SwitchStack.back().getPointer()->getCond();
  482   if (getCurFunction()->SwitchStack.empty()) {
  488     getCurFunction()->SwitchStack.back().setInt(true);
  494   getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(CS);
  506   if (getCurFunction()->SwitchStack.empty()) {
  512   getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(DS);
  750   getCurFunction()->SwitchStack.push_back(
  850   bool CaseListIsIncomplete = getCurFunction()->SwitchStack.back().getInt();
  851   assert(SS == getCurFunction()->SwitchStack.back().getPointer() &&
  854   getCurFunction()->SwitchStack.pop_back();
 3241   CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction());
 3583   if (isa<CapturingScopeInfo>(getCurFunction()))
 4073   sema::FunctionScopeInfo *FSI = getCurFunction();
 4156   sema::FunctionScopeInfo *FSI = getCurFunction();
tools/clang/lib/Sema/SemaStmtAttr.cpp
   37   auto *FnScope = S.getCurFunction();
tools/clang/lib/Sema/TreeTransform.h
 7181   auto *ScopeInfo = SemaRef.getCurFunction();