mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-19 03:55:49 +00:00
misc
This commit is contained in:
parent
bf98dc56fb
commit
d403d7ad96
@ -1,7 +1,9 @@
|
|||||||
#include "a.h"
|
#include "a.h"
|
||||||
|
|
||||||
#if RANDOM_DEFINE
|
#if RANDOM_DEFINE
|
||||||
static void LocaB() {
|
static void LocalB() {
|
||||||
Common();
|
Common();
|
||||||
}
|
}
|
||||||
#endif // RANDOM_DEFINE
|
#endif // RANDOM_DEFINE
|
||||||
|
|
||||||
|
static void LocalC() {}
|
@ -2,11 +2,16 @@
|
|||||||
{
|
{
|
||||||
"directory" : "full_tests/simple_cross_reference",
|
"directory" : "full_tests/simple_cross_reference",
|
||||||
"command" : "clang -c -o a.o a.cc",
|
"command" : "clang -c -o a.o a.cc",
|
||||||
"file" : "full_tests/simple_cross_reference/a.cc"
|
"file" : "a.cc"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"directory" : "full_tests/simple_cross_reference",
|
"directory" : "full_tests/simple_cross_reference",
|
||||||
"command" : "clang -DRANDOM_DEFINE -c -o b.o b.cc",
|
"command" : "clang -DRANDOM_DEFINE -c -o b.o b.cc",
|
||||||
"file" : "full_tests/simple_cross_reference/b.cc"
|
"file" : "b.cc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"directory" : "full_tests/simple_cross_reference",
|
||||||
|
"command" : "clang -DRANDOM_DEFINE -c -o b.o b.cc",
|
||||||
|
"file" : "test.cc"
|
||||||
}
|
}
|
||||||
]
|
]
|
13
full_tests/simple_cross_reference/test.cc
Normal file
13
full_tests/simple_cross_reference/test.cc
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
void foo() {}
|
||||||
|
void bar() {}
|
||||||
|
|
||||||
|
void foobar();
|
||||||
|
|
||||||
|
void foobar(int a, int b) {};
|
||||||
|
|
||||||
|
class HelloWorld {
|
||||||
|
void method() {}
|
||||||
|
};
|
||||||
|
|
||||||
|
static void staticfoo() {
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user