aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/ArrayRefTest.cpp
diff options
context:
space:
mode:
authorYounan Zhang <zyn7109@gmail.com>2025-06-26 17:02:13 +0800
committerGitHub <noreply@github.com>2025-06-26 17:02:13 +0800
commitd144eb1d8cd3abdaec23c902aa3e5a129c9827ef (patch)
treea702542f0baf4c1fd635a131bda3ba9af7601e98 /llvm/unittests/ADT/ArrayRefTest.cpp
parent741e1ca3b33146538a3a33c26d3e992ac65dac08 (diff)
downloadllvm-d144eb1d8cd3abdaec23c902aa3e5a129c9827ef.zip
llvm-d144eb1d8cd3abdaec23c902aa3e5a129c9827ef.tar.gz
llvm-d144eb1d8cd3abdaec23c902aa3e5a129c9827ef.tar.bz2
[Clang] Back out the source location workaround for CXXConstructExpr (#145260)
This removes the workaround introduced in 3e1a9cf3b8 and 1ba7dc38d. The workaround overwrote the right parenthesis location of the sub expression, which could be wrong when a CXXTemporaryObjectExpr occurs within a nested expression, e.g. `A(A(1, 2))`. To completely take it down, we now propagate the left parenthesis source location throughout SemaCast, such that the ParenOrBraceRange can be properly set at the point of its creation. Fixes https://github.com/llvm/llvm-project/issues/143711
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions