aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Symbol.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2025-10-01 14:34:02 -0700
committerGitHub <noreply@github.com>2025-10-01 14:34:02 -0700
commit39410dff52d813ccfc7efc6fc0c6afd4583e14a6 (patch)
treeaae230cc2d4c6be5e15d82794cbd4184b5cb8319 /llvm/lib/TextAPI/Symbol.cpp
parent1a850279c5a6e3662f3a7b40a9ea097838c2aca0 (diff)
downloadllvm-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/lib/TextAPI/Symbol.cpp')
0 files changed, 0 insertions, 0 deletions