[all-commits] [llvm/llvm-project] 7866c4: Fix crash with invalid member function param list ...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Tue May 13 03:31:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7866c4091eb3badd8e0f145a200c8a3d11849ef5
https://github.com/llvm/llvm-project/commit/7866c4091eb3badd8e0f145a200c8a3d11849ef5
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-05-13 (Tue, 13 May 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Parse/ParseCXXInlineMethods.cpp
M clang/test/Parser/cxx-invalid-function-decl.cpp
Log Message:
-----------
Fix crash with invalid member function param list (#139595)
We cannot consume annotation tokens with ConsumeToken(), so any pragmas
present in an invalid initializer would previously crash. Now we handle
annotation tokens more generally and avoid the crash.
Fixes #113722
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