summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-28 04:05:08 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-28 04:05:08 +0000
commite73658ddbb995c432db9ae171798102a5a42ffda (patch)
tree9884185545168acee002d3fab1bc6f4e123ac0d1 /llvm/tools/bugpoint/BugDriver.cpp
parent09ced5f66b41107fedea949e1c1deee081ca51c7 (diff)
downloadbcm5719-llvm-e73658ddbb995c432db9ae171798102a5a42ffda.tar.gz
bcm5719-llvm-e73658ddbb995c432db9ae171798102a5a42ffda.zip
[C++] Use 'nullptr'.
llvm-svn: 207394
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/BugDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp
index e4f66ed5b31..cecccbe0f0e 100644
--- a/llvm/tools/bugpoint/BugDriver.cpp
+++ b/llvm/tools/bugpoint/BugDriver.cpp
@@ -116,7 +116,7 @@ Module *llvm::ParseInputFile(const std::string &Filename,
// parsed), and false on success.
//
bool BugDriver::addSources(const std::vector<std::string> &Filenames) {
- assert(Program == 0 && "Cannot call addSources multiple times!");
+ assert(!Program && "Cannot call addSources multiple times!");
assert(!Filenames.empty() && "Must specify at least on input filename!");
// Load the first input file.
OpenPOWER on IntegriCloud