[llvm] r185716 - Add a higher level createTemporaryFile function.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Jul 25 07:48:40 PDT 2013


> When Suffix == "", this creates a file with a trailing '.', and while there is nothing functionally wrong with this, it does look a bit odd. Do you think that we could make this:
>
> Prefix + "-%%%%%%" + (Suffix.empty() ? StringRef("") : StringRef(".")) + Suffix
>
> Or something similar instead?

Sure, what do you think of the attached patch?

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 1511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130725/b40623ef/attachment.obj>


More information about the llvm-commits mailing list