[all-commits] [llvm/llvm-project] d080f7: [Clang] Fixed a crash when __PRETTY_FUNCTION__ or ...
TilakChad via All-commits
all-commits at lists.llvm.org
Sun Jan 12 06:42:26 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d080f78772acf9de4961b89062c02fdd5f82186a
https://github.com/llvm/llvm-project/commit/d080f78772acf9de4961b89062c02fdd5f82186a
Author: TilakChad <49703944+TilakChad at users.noreply.github.com>
Date: 2025-01-12 (Sun, 12 Jan 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/Expr.cpp
A clang/test/SemaCXX/crash-GH121274.cpp
Log Message:
-----------
[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.
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