[PATCH] D14320: Fix createUniqueFile() to do what it is documented to do: create the unique file in a temporary directory if the model isn't absolute. Fix the callers of createUniqueFile() which were affected by this change. Add test cases to verify patch.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 08:04:22 PST 2015


rafael added a subscriber: rafael.
rafael requested changes to this revision.
rafael added a reviewer: rafael.
rafael added a comment.
This revision now requires changes to proceed.

The documentation should be changed.

The common use of this is to create a temp file that is then renamed. There is no point is having to form an absolute path to do that.


http://reviews.llvm.org/D14320





More information about the llvm-commits mailing list