[PATCH] [Clang Static Analyzer] Bug identification

Daniel Krupp daniel.krupp at ericsson.com
Wed Jun 24 02:55:20 PDT 2015


Hi,

when calculating the has for the following fields

2. Content of the line where the bug is

3)Position (column) within the line

please consider stripping the line from comments and normalize white spaces before hashing and calculating column position.
This will make the hash more robust, as a re-identation or adding comments to a line will not spoil the hashes.

Regards,
Daniel


http://reviews.llvm.org/D10305

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






More information about the cfe-commits mailing list