]> granicus.if.org Git - clang/commit
clang/GlobalModuleIndex: Don't open the same file twice. Use raw_fd_ostream(fd, ...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 24 Jan 2013 08:20:11 +0000 (08:20 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 24 Jan 2013 08:20:11 +0000 (08:20 +0000)
commitd2db16f59601bc028f4f973990cc6d4abe95b91a
treec0830af0c4a539a1394f7cda0f01246598f97afa
parent35ae83278d04d7d7ab5bb2c82d4323a4a05f52de
clang/GlobalModuleIndex: Don't open the same file twice. Use raw_fd_ostream(fd, ...) instead.

FIXME: PathV2::unique_file() is assumed to open the file with binary mode on win32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173330 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/GlobalModuleIndex.cpp
test/Modules/global_index.m