MCPcopy Create free account
hub / github.com/MaskRay/ccls / foo

Function foo

index_tests/lambdas/lambda.cc:1–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1void foo() {
2 int x;
3
4 auto dosomething = [&x](int y) {
5 ++x;
6 ++y;
7 };
8
9 dosomething(1);
10 dosomething(1);
11 dosomething(1);
12}
13
14/*
15OUTPUT:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected