fix isIntegerConstantExpr evaluation of unary !.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46364 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Expr.cpp b/AST/Expr.cpp
index becce2a..51aa09c 100644
--- a/AST/Expr.cpp
+++ b/AST/Expr.cpp
@@ -703,7 +703,7 @@
       }
       break;
     case UnaryOperator::LNot: {
-      bool Val = Result != 0;
+      bool Val = Result == 0;
       Result.zextOrTrunc(
         static_cast<uint32_t>(Ctx.getTypeSize(getType(),
                                               Exp->getOperatorLoc())));