diff options
author | Acthink Yang <yangzhh@mail.ustc.edu.cn> | 2025-05-30 22:09:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-30 07:09:20 -0700 |
commit | 4d650ef4b3d7a0f21f8681e73586d0319fc3953b (patch) | |
tree | 05ee810683adec950f25af739e3a6f3e7f89cd13 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6d3b72aa6e98bccffbb3a02cbace314ccc7faa35 (diff) | |
download | llvm-4d650ef4b3d7a0f21f8681e73586d0319fc3953b.zip llvm-4d650ef4b3d7a0f21f8681e73586d0319fc3953b.tar.gz llvm-4d650ef4b3d7a0f21f8681e73586d0319fc3953b.tar.bz2 |
[Sema] Fix type mismatch error when arguments to elementwise math builtin have different qualifiers, which should be well-formed (#141485)
Fixes #141397
Element-wise math builtins (e.g.
__builtin_elementwise_max/__builtin_elementwise_pow etc.) fail when
their arguments have different qualifications, but should be
well-formed. The fix is to use hasSameUnqualifiedType to check if the
arguments match.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions