Lines Matching defs:ControllingExpr
1662 Expr *ControllingExpr = nullptr;
1674 ControllingExpr = R.get();
1683 IsResultDependent = ControllingExpr
1684 ? ControllingExpr->isTypeDependent()
1687 ControllingExpr
1688 ? ControllingExpr->containsUnexpandedParameterPack()
1693 if (!inTemplateInstantiation() && !IsResultDependent && ControllingExpr &&
1694 ControllingExpr->HasSideEffects(Context, false))
1695 Diag(ControllingExpr->getExprLoc(),
1720 if (ControllingExpr && Types[i]->getType()->isIncompleteType())
1722 else if (ControllingExpr && !Types[i]->getType()->isObjectType())
1726 else if (ControllingExpr) {
1792 if (ControllingExpr)
1793 return GenericSelectionExpr::Create(Context, KeyLoc, ControllingExpr,
1809 else if (ControllingExpr &&
1811 ControllingExpr->getType().getCanonicalType(),
1821 auto GetControllingRangeAndType = [](Expr *ControllingExpr,
1825 if (ControllingExpr)
1826 ControllingExpr = ControllingExpr->IgnoreParens();
1828 SourceRange SR = ControllingExpr
1829 ? ControllingExpr->getSourceRange()
1831 QualType QT = ControllingExpr ? ControllingExpr->getType()
1841 auto P = GetControllingRangeAndType(ControllingExpr, ControllingType);
1858 auto P = GetControllingRangeAndType(ControllingExpr, ControllingType);
1872 if (ControllingExpr) {
1874 Context, KeyLoc, ControllingExpr, Types, Exprs, DefaultLoc, RParenLoc,