diff options
author | TilakChad <49703944+TilakChad@users.noreply.github.com> | 2025-01-12 20:27:04 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-12 15:42:04 +0100 |
commit | d080f78772acf9de4961b89062c02fdd5f82186a (patch) | |
tree | afa130d6924cc5e6d3acfc35f15e29776197f2f3 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 6422546e996c769dda39a681da090fe28870a376 (diff) | |
download | llvm-d080f78772acf9de4961b89062c02fdd5f82186a.zip llvm-d080f78772acf9de4961b89062c02fdd5f82186a.tar.gz llvm-d080f78772acf9de4961b89062c02fdd5f82186a.tar.bz2 |
[Clang] Fixed a crash when __PRETTY_FUNCTION__ or __FUNCSIG__ (clang-cl) appears in the trailing return type of the lambda (#122611)
The (function) type of the lambda function is null while parsing
trailing return type. The type is filled-in when the lambda body is
entered. So, resolving `__PRETTY_FUNCTION__` before the lambda body is
entered causes the crash.
Fixes #121274.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions