mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 20:15:20 +00:00
CCLS Support added (#975)
Also added a test suite for both clangd and ccls
This commit is contained in:
1 parent
01dc6f8734
commit
71a6f1ff82
15 files changed
+337
-5
No files matched your search
@@ -0,0 +1,6 @@
|
||||
#include "b.hpp"
|
||||
|
||||
int main() {
|
||||
int x = add(3, 4);
|
||||
return x;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
#include "b.hpp"
|
||||
|
||||
int add(int a, int b) {
|
||||
return a + b;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
int add(int a, int b);
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"directory": ".",
|
||||
"command": "g++ -I . -c a.cpp",
|
||||
"file": "a.cpp"
|
||||
},
|
||||
{
|
||||
"directory": ".",
|
||||
"command": "g++ -I . -c b.cpp",
|
||||
"file": "b.cpp"
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user