[cfe-dev] clang-tidy Negative Lookahead Support
Richard via cfe-dev
cfe-dev at lists.llvm.org
Fri Nov 20 16:49:16 PST 2015
[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 <CANgHf=wWbzxTCCK91cP0hOVE-2zOiLRLgOODO-yekHBngCLuJw at mail.gmail.com>,
Daniel Dilts via cfe-dev <cfe-dev at lists.llvm.org> writes:
> I asked about something similar to this a couple of months ago. I believe
> that the response was that one of the supported compilers did not currently
> have std::regex.
If we can't move forward due to lack of std::regex support, I'd like
to see glob based filtering with positive and negative filtering like
we have for checks.
> On Fri, Nov 20, 2015 at 11:41 AM, Samuel Baxter via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
> > [...] It's nice to be able to pass the
> > negative lookahead regex:
> >
> > ^(?!.*ThirdPartyLibs.*).*$
> >
> > and filter out all third party headers when running clang-tidy.
> > Other command line options (files, -checks, maybe others) accept glob
> > filters, which allow for negation, and this comes in handy. I think we
> > should be consistent in allowing negation of some form in all filter
> > options. I can try to re-implement this with a glob filter if that's
> > preferable.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>
More information about the cfe-dev
mailing list