Closed aaronjeline closed 3 years ago
This is being discussed in later issues (like #283) dealing with multiple functions of the same name.
FWIW, I think the better duplicate target is #341. #283 is only to make 3C report a diagnostic cleanly in this scenario rather than exhibiting undefined behavior; so far, we got from undefined behavior to an immediate exit, but later we want to get to just a diagnostic for the benefit of clangd3c. #341 is to actually support the scenario.
a.c
b.c
With the following commands database:
compile_commands.json
:Compiling this with
cconv-standalone -p compile_commands.json a.c b.c -output-postfix=checked
will fail.