[cfe-dev] Hash for Clang-Tidy findings

Richard via cfe-dev cfe-dev at lists.llvm.org
Mon Jun 11 10:00:04 PDT 2018


[Please reply *only* to the list and do not include my email directly
in the To: or Cc: of your reply; otherwise I will not see your reply.
Thanks.]

In article <CAOkYadgTmH0KChJ-BqS1+=KjymFKH8mwse7uiQRsQ5tS45Lmqg at mail.gmail.com>,
    L??rinc Balog via cfe-dev <cfe-dev at lists.llvm.org> writes:

> Anyone would be interested in having a unique identifier for Clang-Tidy
> findings? Hashing the bug and its context in a similar way as it was
> introduced in Clang Static Analyzer in https://reviews.llvm.org/D10305

As long as you also follow the advice in the comments that source
lines are "normalized" w.r.t. whitespace and comments so that adding a
comment or changing whitespace (tabs to space, etc.) doesn't change
the hash, then I'd like to see this enhancement.
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
            The Terminals Wiki <http://terminals-wiki.org>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>



More information about the cfe-dev mailing list