Allow compilers that can't distinguish between a class instantiation and
authorReid Spencer <rspencer@reidspencer.com>
Mon, 20 Dec 2004 19:16:12 +0000 (19:16 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 20 Dec 2004 19:16:12 +0000 (19:16 +0000)
the declaration of a function to compile this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19073 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/BugDriver.cpp

index 0116ab09a57b8e5f848fffb136774b2eadce75e4..ad520d76786da855a12994c8bd8a1cedddc0290b 100644 (file)
@@ -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.