summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-07-29 18:27:22 +0000
committerDouglas Gregor <dgregor@apple.com>2009-07-29 18:27:22 +0000
commit1901e3e165ce5d9ecf527fa2dd7d51b57be3fe58 (patch)
tree293b05b55aae7605159f371f9a7432ab863c1228 /llvm
parentaa87ebc0c1201b68e5bfd8bbce663fff456a5088 (diff)
downloadbcm5719-llvm-1901e3e165ce5d9ecf527fa2dd7d51b57be3fe58.tar.gz
bcm5719-llvm-1901e3e165ce5d9ecf527fa2dd7d51b57be3fe58.zip
Fix a typo, and all of its copies
llvm-svn: 77489
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ADT/PointerUnion.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/ADT/PointerUnion.h b/llvm/include/llvm/ADT/PointerUnion.h
index babb77db8c3..33f2fcb1139 100644
--- a/llvm/include/llvm/ADT/PointerUnion.h
+++ b/llvm/include/llvm/ADT/PointerUnion.h
@@ -79,7 +79,7 @@ namespace llvm {
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 @@ namespace llvm {
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 @@ namespace llvm {
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(); }
OpenPOWER on IntegriCloud