Lines Matching defs:ControllingExpr
1693 Expr *ControllingExpr = nullptr;
1705 ControllingExpr = R.get();
1714 IsResultDependent = ControllingExpr
1715 ? ControllingExpr->isTypeDependent()
1718 ControllingExpr
1719 ? ControllingExpr->containsUnexpandedParameterPack()
1724 if (!inTemplateInstantiation() && !IsResultDependent && ControllingExpr &&
1725 ControllingExpr->HasSideEffects(Context, false))
1726 Diag(ControllingExpr->getExprLoc(),
1751 if (ControllingExpr && Types[i]->getType()->isIncompleteType())
1753 else if (ControllingExpr && !Types[i]->getType()->isObjectType())
1757 else if (ControllingExpr) {
1823 if (ControllingExpr)
1824 return GenericSelectionExpr::Create(Context, KeyLoc, ControllingExpr,
1840 else if (ControllingExpr &&
1842 ControllingExpr->getType().getCanonicalType(),
1852 auto GetControllingRangeAndType = [](Expr *ControllingExpr,
1856 if (ControllingExpr)
1857 ControllingExpr = ControllingExpr->IgnoreParens();
1859 SourceRange SR = ControllingExpr
1860 ? ControllingExpr->getSourceRange()
1862 QualType QT = ControllingExpr ? ControllingExpr->getType()
1872 auto P = GetControllingRangeAndType(ControllingExpr, ControllingType);
1889 auto P = GetControllingRangeAndType(ControllingExpr, ControllingType);
1903 if (ControllingExpr) {
1905 Context, KeyLoc, ControllingExpr, Types, Exprs, DefaultLoc, RParenLoc,