[cfe-commits] r58689 - /cfe/trunk/lib/AST/Expr.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Tue Nov 4 03:45:56 PST 2008
Author: cornedbee
Date: Tue Nov 4 05:45:54 2008
New Revision: 58689
URL: http://llvm.org/viewvc/llvm-project?rev=58689&view=rev
Log:
Trivial style fix.
Modified:
cfe/trunk/lib/AST/Expr.cpp
Modified: cfe/trunk/lib/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Expr.cpp?rev=58689&r1=58688&r2=58689&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Expr.cpp (original)
+++ cfe/trunk/lib/AST/Expr.cpp Tue Nov 4 05:45:54 2008
@@ -1074,7 +1074,7 @@
bool Expr::isNullPointerConstant(ASTContext &Ctx) const {
// Strip off a cast to void*, if it exists. Except in C++.
if (const ExplicitCastExpr *CE = dyn_cast<ExplicitCastExpr>(this)) {
- if(!Ctx.getLangOptions().CPlusPlus) {
+ if (!Ctx.getLangOptions().CPlusPlus) {
// Check that it is a cast to void*.
if (const PointerType *PT = CE->getType()->getAsPointerType()) {
QualType Pointee = PT->getPointeeType();
More information about the cfe-commits
mailing list