[cfe-dev] clang-tidy Negative Lookahead Support
Alexander Kornienko via cfe-dev
cfe-dev at lists.llvm.org
Mon Dec 28 06:36:05 PST 2015
On Sat, Nov 21, 2015 at 1:49 AM, Richard via cfe-dev <cfe-dev at lists.llvm.org
> [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.
> 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
> > that the response was that one of the supported compilers did not
> > 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.
Might be a good idea also for consistency with check filtering. If someone
interested sends me a patch, I'm happy to review it ;)
> > 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
> > > 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 <
> The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
> The Terminals Wiki <http://terminals.classiccmp.org>
> Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev