summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorEnea Zaffanella <zaffanella@cs.unipr.it>2010-04-27 07:38:32 +0000
committerEnea Zaffanella <zaffanella@cs.unipr.it>2010-04-27 07:38:32 +0000
commitf205977e6fffc01f11faaee00bcc673da24b1fac (patch)
tree71d0d11f80487edc6e15d84696d0599802a5c40e /clang
parenta3cc83bc8203a5f299f654a51ec6931ad10b50e7 (diff)
downloadbcm5719-llvm-f205977e6fffc01f11faaee00bcc673da24b1fac.tar.gz
bcm5719-llvm-f205977e6fffc01f11faaee00bcc673da24b1fac.zip
Wrap a couple of long lines. (Test commit.)
llvm-svn: 102420
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/AST/Expr.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp
index 72ffe00f486..8770bfd3aa4 100644
--- a/clang/lib/AST/Expr.cpp
+++ b/clang/lib/AST/Expr.cpp
@@ -1288,7 +1288,8 @@ Expr::isLvalueResult Expr::isLvalueInternal(ASTContext &Ctx) const {
return LV_Valid;
case ObjCPropertyRefExprClass: // FIXME: check if read-only property.
return LV_Valid;
- case ObjCImplicitSetterGetterRefExprClass: // FIXME: check if read-only property.
+ case ObjCImplicitSetterGetterRefExprClass:
+ // FIXME: check if read-only property.
return LV_Valid;
case PredefinedExprClass:
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
// expression, and it is fully evaluated. This is an important GNU
// 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) {
Expr::EvalResult EVResult;
if (!E->Evaluate(EVResult, Ctx) || EVResult.HasSideEffects ||
OpenPOWER on IntegriCloud