projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++11] Replace some comparisons with 'nullptr' with simple boolean checks to reduce...
[oota-llvm.git]
/
include
/
llvm
/
Support
/
YAMLParser.h
diff --git
a/include/llvm/Support/YAMLParser.h
b/include/llvm/Support/YAMLParser.h
index cbe154464f32b5e32a77bd062107e9454d45027c..d9d632e00ebbc5f0792948be629865f0a2c9d0fe 100644
(file)
--- a/
include/llvm/Support/YAMLParser.h
+++ b/
include/llvm/Support/YAMLParser.h
@@
-305,7
+305,7
@@
public:
assert(Base && "Attempted to advance iterator past end!");
Base->increment();
// Create an end iterator.
- if (
Base->CurrentEntry == nullptr
)
+ if (
!Base->CurrentEntry
)
Base = nullptr;
return *this;
}