Add an optional 'bool makeAbsolute' in llvm::sys::fs::unique_file function.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 28 Jul 2011 00:29:20 +0000 (00:29 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 28 Jul 2011 00:29:20 +0000 (00:29 +0000)
commit814450a429325339f5445f231c24ced1bf329422
tree07b1f9dea446817c1b9a46200d302bc291df7efb
parent7b2958392c2be221ff1f0d2ffd45d453dec515dd
Add an optional 'bool makeAbsolute' in llvm::sys::fs::unique_file function.

If true and 'model' parameter is not an absolute path, a temp directory will be prepended.
Make it true by default to match current behaviour.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136310 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FileSystem.h
lib/Support/Unix/PathV2.inc
lib/Support/Windows/PathV2.inc