diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-28 04:05:08 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-28 04:05:08 +0000 |
commit | e73658ddbb995c432db9ae171798102a5a42ffda (patch) | |
tree | 9884185545168acee002d3fab1bc6f4e123ac0d1 /llvm/tools/bugpoint/ToolRunner.h | |
parent | 09ced5f66b41107fedea949e1c1deee081ca51c7 (diff) | |
download | bcm5719-llvm-e73658ddbb995c432db9ae171798102a5a42ffda.tar.gz bcm5719-llvm-e73658ddbb995c432db9ae171798102a5a42ffda.zip |
[C++] Use 'nullptr'.
llvm-svn: 207394
Diffstat (limited to 'llvm/tools/bugpoint/ToolRunner.h')
-rw-r--r-- | llvm/tools/bugpoint/ToolRunner.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/llvm/tools/bugpoint/ToolRunner.h b/llvm/tools/bugpoint/ToolRunner.h index 38a58356a65..6e7b95c7847 100644 --- a/llvm/tools/bugpoint/ToolRunner.h +++ b/llvm/tools/bugpoint/ToolRunner.h @@ -63,7 +63,7 @@ public: FileType fileType, const std::string &InputFile, const std::string &OutputFile, - std::string *Error = 0, + std::string *Error = nullptr, const std::vector<std::string> &GCCArgs = std::vector<std::string>(), unsigned Timeout = 0, @@ -89,15 +89,17 @@ class AbstractInterpreter { public: static LLC *createLLC(const char *Argv0, std::string &Message, const std::string &GCCBinary, - const std::vector<std::string> *Args = 0, - const std::vector<std::string> *GCCArgs = 0, + const std::vector<std::string> *Args = nullptr, + const std::vector<std::string> *GCCArgs = nullptr, bool UseIntegratedAssembler = false); - static AbstractInterpreter* createLLI(const char *Argv0, std::string &Message, - const std::vector<std::string> *Args=0); + static AbstractInterpreter* + createLLI(const char *Argv0, std::string &Message, + const std::vector<std::string> *Args = nullptr); - static AbstractInterpreter* createJIT(const char *Argv0, std::string &Message, - const std::vector<std::string> *Args=0); + static AbstractInterpreter* + createJIT(const char *Argv0, std::string &Message, + const std::vector<std::string> *Args = nullptr); static AbstractInterpreter* createCustomCompiler(std::string &Message, |