[PATCH] D38728: [analyzer] Use the signature of the primary template for issue hash calculation

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 10 06:43:13 PDT 2017


xazax.hun created this revision.
Herald added subscribers: szepet, baloghadamsoftware, whisperity.

Right now when a template is instantiated more times and there is a bug in the instantiations the issue hash will be different for each instantiation even if every other property of the bug (path, message, location) is the same.

This patch aims to resolve this issue.


Repository:
  rL LLVM

https://reviews.llvm.org/D38728

Files:
  lib/StaticAnalyzer/Core/IssueHash.cpp
  test/Analysis/bug_hash_test.cpp
  test/Analysis/edges-new.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38728.118374.patch
Type: text/x-patch
Size: 169398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171010/b18d4783/attachment-0001.bin>


More information about the cfe-commits mailing list