mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-15 00:18:04 +00:00
Diagnostics, implementation and definition tools (WIP)
This commit is contained in:
1 parent
df0f476614
commit
c55e0c900e
66 files changed
+3928
-38
No files matched your search
@@ -8,5 +8,10 @@
|
||||
"directory": ".",
|
||||
"command": "g++ -std=c++17 -I . -c b.cpp",
|
||||
"file": "b.cpp"
|
||||
},
|
||||
{
|
||||
"directory": ".",
|
||||
"command": "g++ -std=c++17 -I . -c diagnostics_sample.cpp",
|
||||
"file": "diagnostics_sample.cpp"
|
||||
}
|
||||
]
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
int brokenFactory() {
|
||||
return missingGreeting;
|
||||
}
|
||||
|
||||
int brokenConsumer() {
|
||||
int value = brokenFactory();
|
||||
return value + missingConsumerValue;
|
||||
}
|
||||
Reference in new issue
Block a user