]> granicus.if.org Git - clang/commit
Allow specifying a custom PathDiagnosticConsumer for use with the static analyzer.
authorAlexander Kornienko <alexfh@google.com>
Mon, 3 Feb 2014 18:37:50 +0000 (18:37 +0000)
committerAlexander Kornienko <alexfh@google.com>
Mon, 3 Feb 2014 18:37:50 +0000 (18:37 +0000)
commit44ed544a49236a21aea1737a52456ed9b2b32a88
treefad7b2fa43d70877ef195fe03d339b5a9b6e983e
parentee57e8c8e868ecc4457a43d79ecabbcaa5576354
Allow specifying a custom PathDiagnosticConsumer for use with the static analyzer.

Summary:
Make objects returned by CreateAnalysisConsumer expose an interface,
that allows providing a custom PathDiagnosticConsumer, so that users can have
raw data in a form easily usable from the code (unlike plist/HTML in a file).

Reviewers: jordan_rose, krememek

CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2556

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200710 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp