Closed rLinks234 closed 5 years ago
Picking this up now; should be in before Monday. @rLinks234 can you help me test it? I haven't used it myself before.
Sure @dascandy - just ping me here/on slack when you have the code in.
@rLinks234 It's in now; please test whenever you have time. I've looked at the database locally and it looks OK to my interpretation of the spec... but that doesn't guarantee anything, of course :-)
I've tried it myself and CLion imports it fine, but then refuses to use it for anything. Might be related to this so keeping the issue open.
Looks like the compilation database part works well; I can recompile individual files. Reworking the command-line option as it has a fixed name so needs no argument.
As documented here: https://clang.llvm.org/docs/JSONCompilationDatabase.html
This is a useful format which is produced by systems such as CMake and consumed by environments such as CLion (this can help resolve issue #5 ).