[PATCH] [Clang Static Analyzer] Bug identification

Babati Bence bence.babati at ericsson.com
Mon Jun 15 07:22:23 PDT 2015


> So I would like to gently ask you to move GetIssueHash() and related functions to the outside of PlistDiagnostics.cpp.

> Otherwise, please let me know if you have any other plan to put BugID for HTML report in a different way.


Hi,

Yes, actually this feature is not available from outside of PlistDiagnostics.cpp. 
So, I have moved these functions into a new BugId.cpp file, and the bugid generator function(GetIssueHash) is available by the BugId.h header file. 
These new files are placed in lib/StaticAnalyzer/Core and include/clang/StaticAnalyzer/Core directories.
Finally, I have added the BugId to HTML reports. In HTML files, there is a <!-- BUGID1 md5_hash --> tag between other bug related comment tags.


http://reviews.llvm.org/D10305

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list