mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
d6123bd861
This means we will now report function calls that happen in the global scope (previously, those would only show up for find all refs).
17 lines
225 B
C++
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"]
|
|
}]
|
|
}
|
|
*/
|