diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-08-12 13:46:52 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-08-12 13:46:52 +0000 |
| commit | a3bf897544692cf71e34f090f39b54f9adf5c8cc (patch) | |
| tree | 5d2740455ae25c914d6d345bc146d77888e12e71 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | b349a78c9705a63a352d7b9210cafb2e9d27047c (diff) | |
| download | clang-a3bf897544692cf71e34f090f39b54f9adf5c8cc.tar.gz clang-a3bf897544692cf71e34f090f39b54f9adf5c8cc.tar.bz2 clang-a3bf897544692cf71e34f090f39b54f9adf5c8cc.tar.xz | |
SourceManager intialization tweaks.
- Open files before calling stat on them.
- Go through FileManager for getting the buffer of named pipes. It has the
necessary plumbing to deal with "volatile" files.
- Print the cause when stdin reading fails. The only case I can imagine where
this happens is when stdin is wired to a device file, so no test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
