diff options
| author | Ted Kremenek <kremenek@apple.com> | 2010-06-17 04:21:27 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2010-06-17 04:21:27 +0000 |
| commit | 35bf264f007c87973f6e74a92bcedb1713afb0c0 (patch) | |
| tree | d37fc42031eae86bbcb06de6e00265296d33d47a | |
| parent | 35f4c1c6b16368e43785f91d0c337c5279154c14 (diff) | |
| download | bcm5719-llvm-35bf264f007c87973f6e74a92bcedb1713afb0c0.tar.gz bcm5719-llvm-35bf264f007c87973f6e74a92bcedb1713afb0c0.zip | |
Include the bug description in the report hash so that we can emit multiple bugs of the same
type at the same location.
llvm-svn: 106209
| -rw-r--r-- | clang/include/clang/Checker/BugReporter/BugReporter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/include/clang/Checker/BugReporter/BugReporter.h b/clang/include/clang/Checker/BugReporter/BugReporter.h index 5b65d52a9a9..3749b43d7e2 100644 --- a/clang/include/clang/Checker/BugReporter/BugReporter.h +++ b/clang/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: |

