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 /include/clang/Basic/DiagnosticFrontendKinds.td | |
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 'include/clang/Basic/DiagnosticFrontendKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticFrontendKinds.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticFrontendKinds.td b/include/clang/Basic/DiagnosticFrontendKinds.td index f05fb9be82..73562cd7a6 100644 --- a/include/clang/Basic/DiagnosticFrontendKinds.td +++ b/include/clang/Basic/DiagnosticFrontendKinds.td @@ -11,7 +11,7 @@ let Component = "Frontend" in { def err_fe_error_opening : Error<"error opening '%0': %1">; def err_fe_error_reading : Error<"error reading '%0'">; -def err_fe_error_reading_stdin : Error<"error reading stdin">; +def err_fe_error_reading_stdin : Error<"error reading stdin: %0">; def err_fe_error_backend : Error<"error in backend: %0">, DefaultFatal; // Error generated by the backend. |