aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT
diff options
context:
space:
mode:
authorDouglas Gregor <doug.gregor@gmail.com>2009-07-29 18:27:22 +0000
committerDouglas Gregor <doug.gregor@gmail.com>2009-07-29 18:27:22 +0000
commitc9dc5497d5a4bba7ae3c26bdb25c7975739bc633 (patch)
tree35c2e26971b5e2d190cfaeb8389bd00420e260f7 /include/llvm/ADT
parent907c9e038910795e74aa41758a1d77ec932406de (diff)
downloadexternal_llvm-c9dc5497d5a4bba7ae3c26bdb25c7975739bc633.zip
external_llvm-c9dc5497d5a4bba7ae3c26bdb25c7975739bc633.tar.gz
external_llvm-c9dc5497d5a4bba7ae3c26bdb25c7975739bc633.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/llvm/ADT')
-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(); }