From: Reid Spencer Date: Mon, 20 Dec 2004 19:16:12 +0000 (+0000) Subject: Allow compilers that can't distinguish between a class instantiation and X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5d282185f517d651d965e86dab1b383e0cb5e919;p=oota-llvm.git Allow compilers that can't distinguish between a class instantiation and 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 --- diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 0116ab09a57..ad520d76786 100644 --- a/tools/bugpoint/BugDriver.cpp +++ b/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.