diff options
author | Kazu Hirata <kazu@google.com> | 2025-06-28 13:04:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-28 13:04:16 -0700 |
commit | f90025ebd930a4719f3d7ac61d802ce948f9f433 (patch) | |
tree | 0ef48cab303ca06c71d2be2e3680822e49ab8500 /clang/lib/Basic/SourceManager.cpp | |
parent | bad5a740e1141895a6ef7c47f0f25e9711e6a995 (diff) | |
download | llvm-f90025ebd930a4719f3d7ac61d802ce948f9f433.zip llvm-f90025ebd930a4719f3d7ac61d802ce948f9f433.tar.gz llvm-f90025ebd930a4719f3d7ac61d802ce948f9f433.tar.bz2 |
[llvm] Compare std::optional<T> to values directly (NFC) (#146222)
This patch transforms:
X && *X == Y
to:
X == Y
where X is of std::optional<T>, and Y is of T or similar.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions