[PATCH] Allow specifying a custom PathDiagnosticConsumer for use with the static analyzer.
alexfh at google.com
Thu Jan 30 09:43:30 PST 2014
I've posted a patch (http://llvm-reviews.chandlerc.com/D2660), which allows to specify warning option for custom diagnostic messages. This can be used as a base for implementing an alternative way for clang-tidy to get checker names from the static analyzer. This would be enough until we don't need other information from path diagnostic.
Does the alternative way it look better to you? (We can also modify TextDiagnosticPrinter to print checker names when ShowOptionNames is on, maybe without the -W prefix.)
More information about the cfe-commits