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

Richard via cfe-dev cfe-dev at lists.llvm.org
Thu Dec 27 11:28:19 PST 2018


[Just hit 'reply', not 'reply all', please.]

In article <CAJ0ZJHTd=4RwyU3Nh+wNfETYO7D=dd4kCnL5QTRqX9qEL8vq1Q at mail.gmail.com>,
    Hongbin Zheng <etherzhhb at gmail.com> writes:

> Maybe you could first generate the preprocessed file, use the
> preprocessed file as the test input and add the "CHECK-MESSAGES" lines
> to the preprocessed file?

If I do that, then I'm not testing the actual mechanism.
-- 
"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