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] More 'nullptr' conversion or in some cases just using a boolean check instead...
[oota-llvm.git]
/
lib
/
MC
/
MCFunction.cpp
diff --git
a/lib/MC/MCFunction.cpp
b/lib/MC/MCFunction.cpp
index 767e1e0f470f5e23015f92f0152a0611a0d393e8..9066d31a40f66d9f5b566e4de88ba9a031cab8ff 100644
(file)
--- a/
lib/MC/MCFunction.cpp
+++ b/
lib/MC/MCFunction.cpp
@@
-35,7
+35,7
@@
MCBasicBlock *MCFunction::find(uint64_t StartAddr) {
for (const_iterator I = begin(), E = end(); I != E; ++I)
if ((*I)->getInsts()->getBeginAddr() == StartAddr)
return *I;
- return
0
;
+ return
nullptr
;
}
const MCBasicBlock *MCFunction::find(uint64_t StartAddr) const {