diff options
author | Florian Mayer <fmayer@google.com> | 2025-02-05 18:22:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-05 18:22:59 -0800 |
commit | f1540484ead766b18aeeb2be8b5fc9057ffa8a40 (patch) | |
tree | e3149d252c9a430b75b24ac28d34d129aba868fc /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 4fb96f203e8badc8065d6773bf8780c2e65cc142 (diff) | |
download | llvm-f1540484ead766b18aeeb2be8b5fc9057ffa8a40.zip llvm-f1540484ead766b18aeeb2be8b5fc9057ffa8a40.tar.gz llvm-f1540484ead766b18aeeb2be8b5fc9057ffa8a40.tar.bz2 |
[clang] [dataflow] use unqualified type for smart pointer matching (#125958)
one would assume that `getCanonicalTypeUnqualified` returns an
unqualified type, but sadly one would be wrong. the current logic fails
for std::optional as implemented in libcxx, because Star and Arrow types
mismatch in their const qualification.
there are other places in clang that use
getCanonicalTypeUnqualified().getUnqualifiedType().
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions