mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
[C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -457,7 +457,7 @@ public:
|
||||
/// Materialize - Make sure the GlobalValue is fully read. If the module is
|
||||
/// corrupt, this returns true and fills in the optional string with
|
||||
/// information about the problem. If successful, this returns false.
|
||||
bool Materialize(GlobalValue *GV, std::string *ErrInfo = 0);
|
||||
bool Materialize(GlobalValue *GV, std::string *ErrInfo = nullptr);
|
||||
/// Dematerialize - If the GlobalValue is read in, and if the GVMaterializer
|
||||
/// supports it, release the memory for the function, and set it up to be
|
||||
/// materialized lazily. If !isDematerializable(), this method is a noop.
|
||||
@ -603,7 +603,7 @@ public:
|
||||
|
||||
/// An raw_ostream inserter for modules.
|
||||
inline raw_ostream &operator<<(raw_ostream &O, const Module &M) {
|
||||
M.print(O, 0);
|
||||
M.print(O, nullptr);
|
||||
return O;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user