[llvm-commits] [llvm] r77489 - /llvm/trunk/include/llvm/ADT/PointerUnion.h

Douglas Gregor dgregor at apple.com
Wed Jul 29 11:27:22 PDT 2009


Author: dgregor
Date: Wed Jul 29 13:27:22 2009
New Revision: 77489

URL: http://llvm.org/viewvc/llvm-project?rev=77489&view=rev
Log:
Fix a typo, and all of its copies

Modified:
    llvm/trunk/include/llvm/ADT/PointerUnion.h

Modified: llvm/trunk/include/llvm/ADT/PointerUnion.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/PointerUnion.h?rev=77489&r1=77488&r2=77489&view=diff

==============================================================================
--- llvm/trunk/include/llvm/ADT/PointerUnion.h (original)
+++ llvm/trunk/include/llvm/ADT/PointerUnion.h Wed Jul 29 13:27:22 2009
@@ -79,7 +79,7 @@
       Val.setInt(1);
     }
     
-    /// isNull - Return true if the pointer help in the union is null,
+    /// isNull - Return true if the pointer held in the union is null,
     /// regardless of which type it is.
     bool isNull() const { return Val.getPointer() == 0; }
     operator bool() const { return !isNull(); }
@@ -176,7 +176,7 @@
       Val = V;
     }
     
-    /// isNull - Return true if the pointer help in the union is null,
+    /// isNull - Return true if the pointer held in the union is null,
     /// regardless of which type it is.
     bool isNull() const { return Val.isNull(); }
     operator bool() const { return !isNull(); }
@@ -281,7 +281,7 @@
       Val = InnerUnion2(V);
     }
     
-    /// isNull - Return true if the pointer help in the union is null,
+    /// isNull - Return true if the pointer held in the union is null,
     /// regardless of which type it is.
     bool isNull() const { return Val.isNull(); }
     operator bool() const { return !isNull(); }





More information about the llvm-commits mailing list