[clang] [llvm][Stmt]: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
Tue Apr 8 07:55:10 PDT 2025


================
@@ -3134,6 +3134,9 @@ def warn_function_attribute_ignored_in_stmt : Warning<
   "use '%0' on statements">,
   InGroup<IgnoredAttributes>;
 
+def err_musttail_conflicts_with_not_tail_called : Error<
----------------
AaronBallman wrote:

Can we reuse `err_musttail_mismatch` instead?

https://github.com/llvm/llvm-project/pull/134465


More information about the cfe-commits mailing list