forked from OSchip/llvm-project
Wrap a couple of long lines. (Test commit.)
llvm-svn: 102420
This commit is contained in:
parent
a3cc83bc82
commit
f205977e6f
|
@ -1288,7 +1288,8 @@ Expr::isLvalueResult Expr::isLvalueInternal(ASTContext &Ctx) const {
|
||||||
return LV_Valid;
|
return LV_Valid;
|
||||||
case ObjCPropertyRefExprClass: // FIXME: check if read-only property.
|
case ObjCPropertyRefExprClass: // FIXME: check if read-only property.
|
||||||
return LV_Valid;
|
return LV_Valid;
|
||||||
case ObjCImplicitSetterGetterRefExprClass: // FIXME: check if read-only property.
|
case ObjCImplicitSetterGetterRefExprClass:
|
||||||
|
// FIXME: check if read-only property.
|
||||||
return LV_Valid;
|
return LV_Valid;
|
||||||
case PredefinedExprClass:
|
case PredefinedExprClass:
|
||||||
return LV_Valid;
|
return LV_Valid;
|
||||||
|
@ -2021,7 +2022,8 @@ static ICEDiag CheckICE(const Expr* E, ASTContext &Ctx) {
|
||||||
// then only the true side is actually considered in an integer constant
|
// then only the true side is actually considered in an integer constant
|
||||||
// expression, and it is fully evaluated. This is an important GNU
|
// expression, and it is fully evaluated. This is an important GNU
|
||||||
// extension. See GCC PR38377 for discussion.
|
// extension. See GCC PR38377 for discussion.
|
||||||
if (const CallExpr *CallCE = dyn_cast<CallExpr>(Exp->getCond()->IgnoreParenCasts()))
|
if (const CallExpr *CallCE
|
||||||
|
= dyn_cast<CallExpr>(Exp->getCond()->IgnoreParenCasts()))
|
||||||
if (CallCE->isBuiltinCall(Ctx) == Builtin::BI__builtin_constant_p) {
|
if (CallCE->isBuiltinCall(Ctx) == Builtin::BI__builtin_constant_p) {
|
||||||
Expr::EvalResult EVResult;
|
Expr::EvalResult EVResult;
|
||||||
if (!E->Evaluate(EVResult, Ctx) || EVResult.HasSideEffects ||
|
if (!E->Evaluate(EVResult, Ctx) || EVResult.HasSideEffects ||
|
||||||
|
|
Loading…
Reference in New Issue