[PATCH] D12774: createUniqueFile() is documented to create the file in the temporary directory unless it's supplied an absolute path.Make sure the output filepath supplied to createUniqueFile() in HTMLDiagnostics::ReportDiag() is absolute.

Vedant Kumar via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 17 00:03:02 PDT 2015


vsk added a subscriber: vsk.
vsk added a comment.

Could you handle the error code coming out of make_absolute? It looks like it calls current_path(), which can fail in interesting ways.


http://reviews.llvm.org/D12774





More information about the cfe-commits mailing list