]> granicus.if.org Git - clang/commitdiff
Include the bug description in the report hash so that we can emit multiple bugs...
authorTed Kremenek <kremenek@apple.com>
Thu, 17 Jun 2010 04:21:27 +0000 (04:21 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 17 Jun 2010 04:21:27 +0000 (04:21 +0000)
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

index 5b65d52a9a96c5412cb5aea9325d94e09fdb8397..3749b43d7e23e61adcd80d07bcb51716c698c7a1 100644 (file)
@@ -70,6 +70,7 @@ protected:
 
   virtual void Profile(llvm::FoldingSetNodeID& hash) const {
     hash.AddInteger(getLocation().getRawEncoding());
+    hash.AddString(Description);
   }
 
 public: