aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commit26ef510d5d20b89c637d13e2d9169c0458de775c (patch)
tree35c2e26971b5e2d190cfaeb8389bd00420e260f7 /include
parente657ec6701ee78e70ed7de43a9d98dbd00f330e5 (diff)
downloadexternal_llvm-26ef510d5d20b89c637d13e2d9169c0458de775c.zip
external_llvm-26ef510d5d20b89c637d13e2d9169c0458de775c.tar.gz
external_llvm-26ef510d5d20b89c637d13e2d9169c0458de775c.tar.bz2
Fix a typo, and all of its copies
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/PointerUnion.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/ADT/PointerUnion.h b/include/llvm/ADT/PointerUnion.h
index babb77d..33f2fcb 100644
--- a/include/llvm/ADT/PointerUnion.h
+++ b/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(); }