]> granicus.if.org Git - clang/commit
[analyzer] Put more uniqueness in scan-build's temporary directory names.
authorJordan Rose <jordan_rose@apple.com>
Sat, 14 Sep 2013 00:41:32 +0000 (00:41 +0000)
committerJordan Rose <jordan_rose@apple.com>
Sat, 14 Sep 2013 00:41:32 +0000 (00:41 +0000)
commitf8a89ce9f09f04fbb80426f4940f0c601a017b5e
tree71646174595f7dd96f93229d1163889b341087f0
parent0f43a6daddd41722a4183a49b344f85b5aefbb33
[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!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190735 91177308-0d34-0410-b5e6-96231b3b80d8
tools/scan-build/scan-build