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
This commit is contained in:
Reid Spencer 2004-12-20 19:16:12 +00:00
parent ed5e7bf422
commit 5d282185f5

View 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.