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.)

http://llvm-reviews.chandlerc.com/D2556
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to