[clang] [Clang][Sema]:Fix musttail attribute on a function with not_tail_called attribute has no warning/error (PR #134465)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 10 09:29:39 PDT 2025
================
@@ -325,6 +325,9 @@ Improvements to Clang's diagnostics
- Now correctly diagnose a tentative definition of an array with static
storage duration in pedantic mode in C. (#GH50661)
+- The ``-err-musttail-mismatch`` error is emitted when a musttail call is made to a function marked with the not_tail_called attribute.(#133509).
----------------
AaronBallman wrote:
```suggestion
- An error is now emitted when a ``musttail`` call is made to a function marked with the ``not_tail_called`` attribute. (#GH133509).
```
https://github.com/llvm/llvm-project/pull/134465
More information about the cfe-commits
mailing list