[all-commits] [llvm/llvm-project] 8452a1: [libTooling] Fix `constructExprArgs` for direct-in...
Eric Li via All-commits
all-commits at lists.llvm.org
Thu May 22 07:33:24 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8452a11b4f202050e47a97710a25286f48753d1b
https://github.com/llvm/llvm-project/commit/8452a11b4f202050e47a97710a25286f48753d1b
Author: Eric Li <li.zhe.hua at gmail.com>
Date: 2025-05-22 (Thu, 22 May 2025)
Changed paths:
M clang/lib/Tooling/Transformer/RangeSelector.cpp
M clang/unittests/Tooling/RangeSelectorTest.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list