]> granicus.if.org Git - clang/commit
Rework how PathDiagnosticConsumers pass knowledge of what files they
authorTed Kremenek <kremenek@apple.com>
Fri, 24 Aug 2012 19:35:19 +0000 (19:35 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 24 Aug 2012 19:35:19 +0000 (19:35 +0000)
commitb75e2602e246b44bb285be8cc31166302d77998f
tree3874104d9b0d49062247c4b8c0f2b5d66580ec7a
parent81e6cfddcbb32eb9bbbee5c3f5156fc19ca7e774
Rework how PathDiagnosticConsumers pass knowledge of what files they
generated for a given diagnostic to another.  Because PathDiagnostics
are specific to a give PathDiagnosticConsumer, store in
a FoldingSet a unique hash for a PathDiagnostic (that will be the same
for the same bug for different PathDiagnosticConsumers) that
stores a list of files generated.  This can then be read by the
other PathDiagnosticConsumers.

This fixes breakage in the PLIST-HTML output.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162580 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
lib/StaticAnalyzer/Core/PathDiagnostic.cpp
lib/StaticAnalyzer/Core/PlistDiagnostics.cpp