[clang-tidy] Prevent `llvmlibc-inline-function-decl` triggering on lambdas
The `llvmlibc-inline-function-decl` check is intended to be used to allow declarations in the `libc` project's header to be changed per-TU. However, it is impossible to place this macro in front of a lambda so this is not helpful. Additionally, lambdas are always going to have internal linkage so they will not differ accross TUs. Fixes https://github.com/llvm/llvm-project/issues/62147 Reviewed By: lntue, PiotrZSL Differential Revision: https://reviews.llvm.org/D148444
Loading
Please sign in to comment