[cfe-commits] r41451 - /cfe/trunk/CodeGen/CGExprScalar.cpp

Chris Lattner sabre at nondot.org
Sun Aug 26 10:25:57 PDT 2007


Author: lattner
Date: Sun Aug 26 12:25:57 2007
New Revision: 41451

URL: http://llvm.org/viewvc/llvm-project?rev=41451&view=rev
Log:
fix a typo noticed by Gordon Henriksen

Modified:
    cfe/trunk/CodeGen/CGExprScalar.cpp

Modified: cfe/trunk/CodeGen/CGExprScalar.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGExprScalar.cpp?rev=41451&r1=41450&r2=41451&view=diff

==============================================================================
--- cfe/trunk/CodeGen/CGExprScalar.cpp (original)
+++ cfe/trunk/CodeGen/CGExprScalar.cpp Sun Aug 26 12:25:57 2007
@@ -63,7 +63,7 @@
   }
     
   /// 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 @@
 //===----------------------------------------------------------------------===//
 
 /// 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");
   





More information about the cfe-commits mailing list