git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58341 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2008-10-28 19:12:58 +00:00
Родитель 6eec8e883d
Коммит 8320aaaa01
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -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