summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-06-11 16:42:42 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-06-11 16:42:42 +0000
commita6fe345ac9613215237fa3fcbae4e34119d4ecf0 (patch)
tree0d9cfedc22da7824bd3265731b6e62f9fd327a28 /clang/lib/CodeGen/CodeGenModule.h
parent08200d6d26e98fce472fa530e980bc5dda5369d6 (diff)
downloadbcm5719-llvm-a6fe345ac9613215237fa3fcbae4e34119d4ecf0.tar.gz
bcm5719-llvm-a6fe345ac9613215237fa3fcbae4e34119d4ecf0.zip
[Path] Set FD to -1 in moved-from TempFile
When moving a temp file, explicitly set the file descriptor to -1 so we can never accidentally close the moved-from TempFile. Differential revision: https://reviews.llvm.org/D63087 llvm-svn: 363083
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud