in order to provide as much information as possible to the user. The diagnostic will now look like for example:
error: error reading '/tmp/foo.c': Permission denied
(This addresses a FIXME from 2019, 9ef6c49baf45)
Paths
| Differential D146280
[clang] Include the error message in file reading error diagnostic ClosedPublic Authored by hans on Mar 17 2023, 3:05 AM.
Details Summary in order to provide as much information as possible to the user. The diagnostic will now look like for example: error: error reading '/tmp/foo.c': Permission denied (This addresses a FIXME from 2019, 9ef6c49baf45)
Diff Detail
Unit TestsFailed Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 17 2023, 3:05 AM This revision is now accepted and ready to land.Mar 17 2023, 3:59 AM Comment Actions (if the presubmit is related, maybe some flang test needs updating? Weird that flang uses clang's diags.) Comment Actions
The presubmit errors look unrelated and the flang tests seem fine locally. This revision was landed with ongoing or failed builds.Mar 17 2023, 5:48 AM Closed by commit rGe495eabd3268: [clang] Include the error message in file reading error diagnostic (authored by hans). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 506027 clang/include/clang/Basic/DiagnosticFrontendKinds.td
clang/lib/Frontend/CompilerInstance.cpp
clang/tools/driver/cc1as_main.cpp
flang/lib/Frontend/FrontendAction.cpp
|