]> granicus.if.org Git - clang/commitdiff
fix a typo noticed by Gordon Henriksen
authorChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 17:25:57 +0000 (17:25 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 17:25:57 +0000 (17:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41451 91177308-0d34-0410-b5e6-96231b3b80d8

CodeGen/CGExprScalar.cpp

index df695823a78a36671a3f8af911f11af292178ae3..0f6e4044b48fda919b2ba94982b53fa5f0abcd25 100644 (file)
@@ -63,7 +63,7 @@ public:
   }
     
   /// EmitConversionToBool - Convert the specified expression value to a
-  /// boolean (i1) truth value.  This is equivalent to "Val == 0".
+  /// boolean (i1) truth value.  This is equivalent to "Val != 0".
   Value *EmitConversionToBool(Value *Src, QualType DstTy);
     
   /// EmitScalarConversion - Emit a conversion from the specified type to the
@@ -250,7 +250,7 @@ public:
 //===----------------------------------------------------------------------===//
 
 /// EmitConversionToBool - Convert the specified expression value to a
-/// boolean (i1) truth value.  This is equivalent to "Val == 0".
+/// boolean (i1) truth value.  This is equivalent to "Val != 0".
 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) {
   assert(SrcType->isCanonical() && "EmitScalarConversion strips typedefs");