[clang-tidy] llvmlibc-inline-function-decl
erroneously reports on lambda functions
#62147
Labels
llvmlibc-inline-function-decl
erroneously reports on lambda functions
#62147
The
llvmlibc-inline-function-decl
currently erroneously reports when defining a lambda function. The reason LLVM'slibc
reports on these variables so that we can ensure functions in headers line up when compiled differently for different TUs. However, the functions emitted fromlambda
values will have internal linkage, so they will be unique to each TU they are implemented in. Here is a reproducer.The text was updated successfully, but these errors were encountered: