mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
[C++] Use 'nullptr'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -202,7 +202,7 @@ public:
|
||||
const std::string &BitcodeFile = "",
|
||||
const std::string &SharedObj = "",
|
||||
bool RemoveBitcode = false,
|
||||
std::string *Error = 0) const;
|
||||
std::string *Error = nullptr) const;
|
||||
|
||||
/// EmitProgressBitcode - This function is used to output M to a file named
|
||||
/// "bugpoint-ID.bc".
|
||||
@@ -244,7 +244,7 @@ public:
|
||||
/// this method will never return null.
|
||||
Module *runPassesOn(Module *M, const std::vector<std::string> &Passes,
|
||||
bool AutoDebugCrashes = false, unsigned NumExtraArgs = 0,
|
||||
const char * const *ExtraArgs = NULL);
|
||||
const char * const *ExtraArgs = nullptr);
|
||||
|
||||
/// runPasses - Run the specified passes on Program, outputting a bitcode
|
||||
/// file and writting the filename into OutputFile if successful. If the
|
||||
@@ -259,7 +259,7 @@ public:
|
||||
const std::vector<std::string> &PassesToRun,
|
||||
std::string &OutputFilename, bool DeleteOutput = false,
|
||||
bool Quiet = false, unsigned NumExtraArgs = 0,
|
||||
const char * const *ExtraArgs = NULL) const;
|
||||
const char * const *ExtraArgs = nullptr) const;
|
||||
|
||||
/// runManyPasses - Take the specified pass list and create different
|
||||
/// combinations of passes to compile the program with. Compile the program with
|
||||
|
Reference in New Issue
Block a user