From: Chris Lattner Date: Sun, 26 Aug 2007 17:25:57 +0000 (+0000) Subject: fix a typo noticed by Gordon Henriksen X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3420d0de2c52fedf771d7ef20522f6080233e377;p=clang fix a typo noticed by Gordon Henriksen git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41451 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CodeGen/CGExprScalar.cpp b/CodeGen/CGExprScalar.cpp index df695823a7..0f6e4044b4 100644 --- a/CodeGen/CGExprScalar.cpp +++ b/CodeGen/CGExprScalar.cpp @@ -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");