search for: tempfilepath

Displaying 2 results from an estimated 2 matches for "tempfilepath".

2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...::remove(filePath, existed) ) > + return ec; > + > + // Create new file of specified size in same directory but with random name. > + SmallString<128> modelStr; > + modelStr.assign(filePath); > + modelStr.append(".tmp%%%%%%%"); > + SmallString<128> tempFilePath; > + if ( error_code ec = sys::fs::unique_file_sized(Twine(modelStr), size, > + tempFilePath, false) ) { This should be: Twine(filePath) + ".tmp%%%%%%%" > + return ec; > + } Unneeded block. > + > + // If requeste...
2012 May 17
3
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
I now have an implementation of FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld. -------------- next part -------------- A non-text attachment was scrubbed... Name: FileOutputBuffer.patch Type: application/octet-stream Size: 25308 bytes Desc: not available URL: