ccls/tests/namespaces/anonymous_function.cc
Jacob Dufault d6123bd861 Every function usage is now considered a call of that function.
This means we will now report function calls that happen in the global scope (previously, those would only show up for find all refs).
2017-04-13 00:47:47 -07:00

17 lines
225 B
C++

namespace {
void foo();
}
/*
OUTPUT:
{
"funcs": [{
"id": 0,
"usr": "c:anonymous_function.cc@aN@F@foo#",
"short_name": "foo",
"qualified_name": "::foo",
"declarations": ["2:6-2:9"]
}]
}
*/