Commit 8430421
[LLVM][Support] Add new CreateFileError functions (llvm#125906)
Add new CreateFileError functions to create a StringError with the
specified error code and prepend the file path to it
Needed for: llvm#125345
(cherry picked from commit 2464f4b)1 parent 5842d95 commit 8430421
File tree
2 files changed
+28
-0
lines changed- llvm
- include/llvm/Support
- unittests/Support
2 files changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1399 | 1399 | | |
1400 | 1400 | | |
1401 | 1401 | | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
1402 | 1419 | | |
1403 | 1420 | | |
1404 | 1421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
976 | 976 | | |
977 | 977 | | |
978 | 978 | | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
979 | 990 | | |
980 | 991 | | |
981 | 992 | | |
| |||
0 commit comments