aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/generate.h
diff options
context:
space:
mode:
authorCarlos Galvez <carlosgalvezp@gmail.com>2022-08-12 14:53:31 +0000
committerCarlos Galvez <carlosgalvezp@gmail.com>2022-08-19 08:26:34 +0000
commit3fd4213059a4ea9453809aeccd1bfc7d115d24b2 (patch)
treeb062abe3f716a1bcb413508516cfe91e1d216534 /libcxx/include/__algorithm/generate.h
parent04986dda00d78d145232e2f0e2d646665453080d (diff)
downloadllvm-3fd4213059a4ea9453809aeccd1bfc7d115d24b2.zip
llvm-3fd4213059a4ea9453809aeccd1bfc7d115d24b2.tar.gz
llvm-3fd4213059a4ea9453809aeccd1bfc7d115d24b2.tar.bz2
[clang-tidy] Do not trigger cppcoreguidelines-avoid-const-or-ref-data-members on lambda captures
Lambdas are implemented as regular classes internally, and the captured variables end up as members there. Do not diagnose those - the check should cover only regular classes and structs. Differential Revision: https://reviews.llvm.org/D131780
Diffstat (limited to 'libcxx/include/__algorithm/generate.h')
0 files changed, 0 insertions, 0 deletions