Home
last modified time | relevance | path

Searched refs:accept_callback (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dredundant-branch-condition.cpp1185 template <typename T> void accept_callback(T t) { in accept_callback() function
1201 accept_callback([&]() { x = false; }); in capture_and_mutate_by_lambda()
1211 accept_callback([x]() { if (x) {} }); in lambda_capture_by_value()
1222 accept_callback([&]() { if (x) {} }); in capture_by_lambda_but_not_mutate()
1254 accept_callback(^{ if (x) {} }); in capture_by_block_but_not_mutate()
1267 accept_callback([=]() { in capture_with_branches_inside_lambda_bad()
1280 accept_callback([&]() { in capture_with_branches_inside_lambda_good()
1292 accept_callback(^{ in capture_with_branches_inside_block_bad()
1306 accept_callback(^{ in capture_with_branches_inside_block_bad_simpler()
1318 accept_callback(^{ in capture_with_branches_inside_block_good()
H A Dinfinite-loop.cpp382 template <typename T> void accept_callback(T t) { in accept_callback() function
398 accept_callback([&]() { in lambda_capture_from_outside()
408 accept_callback([finished]() { in lambda_capture_from_outside_by_value()
419 accept_callback([&finished]() { in lambda_capture_from_outside_but_unchanged()