diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2025-10-01 14:34:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 14:34:02 -0700 |
commit | 39410dff52d813ccfc7efc6fc0c6afd4583e14a6 (patch) | |
tree | aae230cc2d4c6be5e15d82794cbd4184b5cb8319 /llvm/docs/CommandGuide/llvm-strings.rst | |
parent | 1a850279c5a6e3662f3a7b40a9ea097838c2aca0 (diff) | |
download | llvm-39410dff52d813ccfc7efc6fc0c6afd4583e14a6.zip llvm-39410dff52d813ccfc7efc6fc0c6afd4583e14a6.tar.gz llvm-39410dff52d813ccfc7efc6fc0c6afd4583e14a6.tar.bz2 |
[clang] Invert condition refactored in #160935 (#161583)
The PR #160935 incorrectly replaced `llvm::sys::fs::getUniqueID()` with
`llvm::vfs::FileSystem::exists()` in a condition. That's incorrect,
since the first function returns `std::error_code` that evaluates to
`true` when there is an error (file doesn't exist), while the new code
does the opposite. This PR fixes that issue by inverting the
conditional.
Co-authored-by: ronlieb <ron.lieberman@amd.com>
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-strings.rst')
0 files changed, 0 insertions, 0 deletions