[clang] [Clang] fix crash by avoiding invalidation of extern main declaration during strictness checks (PR #104594)
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 16 08:42:01 PDT 2024
================
@@ -264,6 +264,7 @@ Bug Fixes to C++ Support
- Properly reject defaulted copy/move assignment operators that have a non-reference explicit object parameter.
- Clang now properly handles the order of attributes in `extern` blocks. (#GH101990).
- Fixed an assertion failure by preventing null explicit object arguments from being deduced. (#GH102025).
+- Fixed a crash caused by marking the function declaration as invalid during strictness checks on ``extern`` main. (#GH104570).
----------------
alexfh wrote:
Release notes should list changes from the previous release. Since both the issue and the fix are within the same release (LLVM 20), there's no need to describe the fix separately. That's my understanding at least ;)
https://github.com/llvm/llvm-project/pull/104594
More information about the cfe-commits
mailing list