scan-build: Add a --keep-empty option for better testing.
authorJordan Rose <jordan_rose@apple.com>
Thu, 24 Jan 2013 23:07:59 +0000 (23:07 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 24 Jan 2013 23:07:59 +0000 (23:07 +0000)
commitb18179da33f61fdc763f518832642b75e3b9bfec
treebcff9292b253b5beb31e7d08c3fce4816946cf96
parentd4c392e6ff5f63e1ec5615ebb82c7037dd7e7b5d
scan-build: Add a --keep-empty option for better testing.

SATestBuild expects to compare output directories for each invocation of
scan-build that it runs, but scan-build clears out empty directories by
default. We were coincidentally not getting that behavior until r173294.

llvm-svn: 173383
clang/tools/scan-build/scan-build
clang/utils/analyzer/SATestBuild.py