aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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(); }