]> granicus.if.org Git - clang/commitdiff
Trivial style fix.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 4 Nov 2008 11:45:54 +0000 (11:45 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 4 Nov 2008 11:45:54 +0000 (11:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58689 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/Expr.cpp

index 58541af07be3bab87d84c6b0bce60f0929304dd2..85129b483b4f00238dd19b41c9c7ff809da54864 100644 (file)
@@ -1074,7 +1074,7 @@ bool Expr::isIntegerConstantExpr(llvm::APSInt &Result, ASTContext &Ctx,
 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();