[cfe-dev] How to verify clang-tidy checks applied to headers?

Richard via cfe-dev cfe-dev at lists.llvm.org
Mon Jan 7 16:52:59 PST 2019


[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 <bdfd9306-7233-6712-ad2c-85cfe61c47ab at jonas-toth.eu>,
    Jonas Toth via cfe-dev <cfe-dev at lists.llvm.org> writes:

> did you try something similar to `// RUN: clang-tidy -checks='-*,
> abseil-no-namespace' -header-filter='.*' %s -- -I %S/Inputs 2>&1 |
> FileCheck %s`?
>
> This pattern occurs multiple times in the test-framework: `git grep "|
> FileCheck" *.cpp` shows quite a view places, maybe there are other
> places that are more specific to your requirement?

Well, it seems that I already had a patch that did this from 2 years
ago that never made it through the exhausting process that is
phabricator.

Right now I have a Compose Method refactor in phabricator that needs
approval.  After that, I'll rebase my old changes on top of that.

So I need a little review love in phabricator, please...

-- 
"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