diff options
author | Doug Wyatt <doug@sonosphere.com> | 2025-01-17 07:11:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 07:11:36 -0800 |
commit | 0417cd1b3e66c06966a3685f143df9228e2444b1 (patch) | |
tree | 6601ceab2cb10486299fa7ae97c8071457a02383 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 8abbd76cfb14ae4a4cb020dd3eb761ddd1db14d1 (diff) | |
download | llvm-0417cd1b3e66c06966a3685f143df9228e2444b1.zip llvm-0417cd1b3e66c06966a3685f143df9228e2444b1.tar.gz llvm-0417cd1b3e66c06966a3685f143df9228e2444b1.tar.bz2 |
[Clang] FunctionEffects: Correctly navigate through array types in FunctionEffectsRef::get(). (#121525)
`FunctionEffectsRef::get()` is supposed to strip off layers of
indirection (pointers/references, type sugar) to get to a
`FunctionProtoType` (if any) and return its effects (if any).
It wasn't correctly dealing with situations where the compiler
implicitly converts an array to a pointer.
---------
Co-authored-by: Doug Wyatt <dwyatt@apple.com>
Co-authored-by: Sirraide <aeternalmail@gmail.com>
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions