diff options
author | Eric Li <li.zhe.hua@gmail.com> | 2025-05-22 10:33:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-22 10:33:03 -0400 |
commit | 8452a11b4f202050e47a97710a25286f48753d1b (patch) | |
tree | 403148a932f28f8f8a35e542b93cdef184154f3b /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp | |
parent | 60e5ecd0431c0c62574f063f509dd3dd31cb0647 (diff) | |
download | llvm-8452a11b4f202050e47a97710a25286f48753d1b.zip llvm-8452a11b4f202050e47a97710a25286f48753d1b.tar.gz llvm-8452a11b4f202050e47a97710a25286f48753d1b.tar.bz2 |
[libTooling] Fix `constructExprArgs` for direct-init and implicit construction (#139990)
Use `getParenOrBraceRange()` to get the location of the opening paren or
braces instead of searching backwards from the first argument.
For implicit construction, get the range surrounding the first and last
arguments.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions