[clang] [Clang] Fix parsing of expressions of the form (T())[/*...*/] (PR #140053)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu May 15 09:21:11 PDT 2025
================
@@ -710,6 +710,7 @@ Bug Fixes to C++ Support
- Clang now correctly parses arbitrary order of ``[[]]``, ``__attribute__`` and ``alignas`` attributes for declarations (#GH133107)
- Fixed a crash when forming an invalid function type in a dependent context. (#GH138657) (#GH115725) (#GH68852)
- Clang no longer segfaults when there is a configuration mismatch between modules and their users (http://crbug.com/400353616).
+- Fix parsing of expressions of the form ``((T))[expr]``. (#GH20723)
----------------
zwuis wrote:
`(T())[expr]`
https://github.com/llvm/llvm-project/pull/140053
More information about the cfe-commits
mailing list