diff options
| -rw-r--r-- | clang/include/clang/AST/Expr.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h index 7acd70411c3..20f51761dc7 100644 --- a/clang/include/clang/AST/Expr.h +++ b/clang/include/clang/AST/Expr.h @@ -46,7 +46,8 @@ protected: // type. Additionally, inspect Expr::isLvalue to determine whether // an expression that is adjusted in this manner should be // considered an lvalue. - assert((T.isNull() || !T->isReferenceType()) && "Expressions can't have reference type"); + assert((T.isNull() || !T->isReferenceType()) && + "Expressions can't have reference type"); } public: QualType getType() const { return TR; } @@ -856,8 +857,8 @@ class ExplicitCastExpr : public CastExpr { QualType TypeAsWritten; protected: - ExplicitCastExpr(StmtClass SC, QualType exprTy, Expr *op, QualType writtenTy) : - CastExpr(SC, exprTy, op), TypeAsWritten(writtenTy) {} + ExplicitCastExpr(StmtClass SC, QualType exprTy, Expr *op, QualType writtenTy) + : CastExpr(SC, exprTy, op), TypeAsWritten(writtenTy) {} public: /// getTypeAsWritten - Returns the type that this expression is |

