[clang] [clang] Allow attributes on first constructor argument in pre-C++11 (PR #157300)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 7 06:10:42 PDT 2025
================
@@ -324,6 +324,8 @@ Bug Fixes to Attribute Support
is skipped, such as error recovery and code completion. (#GH153551)
- Using ``[[gnu::cleanup(some_func)]]`` where some_func is annotated with
``[[gnu::error("some error")]]`` now correctly triggers an error. (#GH146520)
+- Stop rejecting C++11-style attributes on the first argument of constructors in older
+ standards. (#GH156809).
----------------
zwuis wrote:
This can be moved to "Bug Fixes to C++ Support" subsection.
https://github.com/llvm/llvm-project/pull/157300
More information about the cfe-commits
mailing list