summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-20 19:16:12 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-20 19:16:12 +0000
commit08b4bd74961c890b3b06627044f953ce6cc7ce3f (patch)
tree2c739de9f597e885f1ae1d73dd4983140ae347ad /llvm/tools/bugpoint/BugDriver.cpp
parent8005e66f0a0b5cbc0417afbbbced13d4fad4112e (diff)
downloadbcm5719-llvm-08b4bd74961c890b3b06627044f953ce6cc7ce3f.tar.gz
bcm5719-llvm-08b4bd74961c890b3b06627044f953ce6cc7ce3f.zip
Allow compilers that can't distinguish between a class instantiation and
the declaration of a function to compile this. llvm-svn: 19073
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/BugDriver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp
index 0116ab09a57..ad520d76786 100644
--- a/llvm/tools/bugpoint/BugDriver.cpp
+++ b/llvm/tools/bugpoint/BugDriver.cpp
@@ -175,7 +175,8 @@ bool BugDriver::run() {
// Make sure the reference output file gets deleted on exit from this
// function, if appropriate.
- FileRemover RemoverInstance(sys::Path(ReferenceOutputFile), CreatedOutput);
+ sys::Path ROF(ReferenceOutputFile);
+ FileRemover RemoverInstance(ROF, CreatedOutput);
// Diff the output of the raw program against the reference output. If it
// matches, then we have a miscompilation bug.
OpenPOWER on IntegriCloud