clang-tidy misc-no-recursion check should not diagnose tail...
The [[clang::musttail]] attribute ensures that a recursive call does not add a stack frame. It should not be diagnosed by misc-no-recursion. https://godbolt.org/z/1WebxfofP int tail_recursive(int a) { if (a > 0) { return a; } else { [[cl...