]> granicus.if.org Git - clang/commit
[analyzer] Close file handle before output to file from external command.
authorAnton Yartsev <anton.yartsev@gmail.com>
Wed, 17 Jun 2015 23:12:33 +0000 (23:12 +0000)
committerAnton Yartsev <anton.yartsev@gmail.com>
Wed, 17 Jun 2015 23:12:33 +0000 (23:12 +0000)
commit8e3c7350ac405b8cad959b13ed0e234bb5fb986b
tree7ffdab2964e0887beb5014a5370471c7f21e28a8
parentebc80e4942e72d0a4ddf5f5cdd956459f01a4b2e
[analyzer] Close file handle before output to file from external command.

An old code caused problems under Windows - additional temporary file was created for clang preprocessor output while the right output file remained empty.

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