r190735 - [analyzer] Put more uniqueness in scan-build's temporary directory names.

Ed Schouten ed at 80386.nl
Sun Sep 15 02:15:58 PDT 2013


2013/9/14 Jordan Rose <jordan_rose at apple.com>:
> Author: jrose
> Date: Fri Sep 13 19:41:32 2013
> New Revision: 190735
>
> URL: http://llvm.org/viewvc/llvm-project?rev=190735&view=rev
> Log:
> [analyzer] Put more uniqueness in scan-build's temporary directory names.
>
> This is necessary when running two scan-build processes in parallel. The
> directory naming scheme is now:
>
>   yyyy-MM-dd-HHmmss-PID-N
>   2013-09-13-174210-123-1
>
> where "PID" is the scan-build process ID, and "N" is a sequential counter
> (not likely to be needed now that seconds are mangled in, but just in case).
>
> PR17196, using a suggested fix from Greg Czajkowski!

If you were to pick T als a date-time delimiter, at least the first
part of the string could be parsed as if it were ISO 8601:

http://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations

-- 
Ed Schouten <ed at 80386.nl>



More information about the cfe-commits mailing list