[cfe-commits] r106209 - /cfe/trunk/include/clang/Checker/BugReporter/BugReporter.h
Ted Kremenek
kremenek at apple.com
Wed Jun 16 21:21:27 PDT 2010
Author: kremenek
Date: Wed Jun 16 23:21:27 2010
New Revision: 106209
URL: http://llvm.org/viewvc/llvm-project?rev=106209&view=rev
Log:
Include the bug description in the report hash so that we can emit multiple bugs of the same
type at the same location.
Modified:
cfe/trunk/include/clang/Checker/BugReporter/BugReporter.h
Modified: cfe/trunk/include/clang/Checker/BugReporter/BugReporter.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Checker/BugReporter/BugReporter.h?rev=106209&r1=106208&r2=106209&view=diff
==============================================================================
--- cfe/trunk/include/clang/Checker/BugReporter/BugReporter.h (original)
+++ cfe/trunk/include/clang/Checker/BugReporter/BugReporter.h Wed Jun 16 23:21:27 2010
@@ -70,6 +70,7 @@
virtual void Profile(llvm::FoldingSetNodeID& hash) const {
hash.AddInteger(getLocation().getRawEncoding());
+ hash.AddString(Description);
}
public:
More information about the cfe-commits
mailing list