diff options
author | Kazu Hirata <kazu@google.com> | 2025-06-13 08:11:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-13 08:11:20 -0700 |
commit | bcfbba12e6754e0a2a5a1c8e3aac3a24316bba2d (patch) | |
tree | 45bb09ef48f761f37367329d0c466145cf93ae4e /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 9e622986526a35f3f8bc60a7fc756b5c7bf825c0 (diff) | |
download | llvm-bcfbba12e6754e0a2a5a1c8e3aac3a24316bba2d.zip llvm-bcfbba12e6754e0a2a5a1c8e3aac3a24316bba2d.tar.gz llvm-bcfbba12e6754e0a2a5a1c8e3aac3a24316bba2d.tar.bz2 |
[llvm] Compare std::optional<T> to values directly (NFC) (#143913)
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/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions