diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-20 19:16:12 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-20 19:16:12 +0000 |
commit | 5d282185f517d651d965e86dab1b383e0cb5e919 (patch) | |
tree | 65c282eff4167e780e8648d07a792484baaaab10 /tools | |
parent | ed5e7bf422d6b908eb2f5bb55c3340d0e16f8efe (diff) | |
download | external_llvm-5d282185f517d651d965e86dab1b383e0cb5e919.zip external_llvm-5d282185f517d651d965e86dab1b383e0cb5e919.tar.gz external_llvm-5d282185f517d651d965e86dab1b383e0cb5e919.tar.bz2 |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bugpoint/BugDriver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 0116ab0..ad520d7 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. |