[cfe-dev] [clang-tidy] Excluding individual files/lines from clang-tidy checks

Richard via cfe-dev cfe-dev at lists.llvm.org
Fri Oct 28 13:52:31 PDT 2016


[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 <CAGJfN2yb=3D-oCyTycsULN7F=Gn=KxFW_O4r4ndzCd8bFZ2muw at mail.gmail.com>,
    Nikita via cfe-dev <cfe-dev at lists.llvm.org> writes:

> > clang-tidy '-exclude-from-checks=[{"name":"exclude.c","lines":[[5,7]]}]'

Why are we specifying command-line arguments as JSON?

It seems unnecessarily cumbersome to me.
-- 
"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