mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 08:08:01 +00:00
Fix a typo, and all of its copies
llvm-svn: 77489
This commit is contained in:
parent
9072f2cd18
commit
7bc7d66441
@ -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(); }
|
||||
|
Loading…
Reference in New Issue
Block a user