From 1a0c8b9183fde84982aea9190a55fde1541c432d Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 17 Jun 2010 04:21:27 +0000 Subject: [PATCH] Include the bug description in the report hash so that we can emit multiple bugs of the same type at the same location. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106209 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Checker/BugReporter/BugReporter.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/clang/Checker/BugReporter/BugReporter.h b/include/clang/Checker/BugReporter/BugReporter.h index 5b65d52a9a..3749b43d7e 100644 --- a/include/clang/Checker/BugReporter/BugReporter.h +++ b/include/clang/Checker/BugReporter/BugReporter.h @@ -70,6 +70,7 @@ protected: virtual void Profile(llvm::FoldingSetNodeID& hash) const { hash.AddInteger(getLocation().getRawEncoding()); + hash.AddString(Description); } public: -- 2.49.0