Open edsko opened 1 month ago
Perhaps some of the options we should support are the ones mentioned in the docs of 'CXDiagnosticDisplayOptions' (added in #176). However, this is only useful if we don't write our own renderer for libclang
options (#174), and instead use diagnosticFormatted
/clang_formatDiagnostic
.
I'm going to define a record with some fields as a starting point for this.
We currently configure
libclang
by passing a raw set of command line arguments (of type[String]
). We should have a proper Haskell datatype that lists thelibclang
options we are interested in (and then internally translate this to[String]
).This is part of #10 and #71.