[cfe-dev] Proposing clang-tidy checks for libc++ internal development

Jonas Toth via cfe-dev cfe-dev at lists.llvm.org
Tue Jul 10 06:28:09 PDT 2018


> I think there's already precedent for adding this sort of thing to
> clang-tidy. For instance, we have the LLVM module which is largely
> only useful to people working on the LLVM code base. I see no problem
> with adding a module for libc++ developers as well. My preference
> would be to name the new module "libcxx-module" and prefix the checks
> with "libcxx-".
>
> ~Aaron
>
Yes. There is even google and zircon/fuchsia specific checks, that are
company/project specific.

And a potential mechanism to dynamically load clang-tidy plugins is
probably loading the current modules.
I think adding a module now and doing a potential port to a plugin
infrastructure is ok not too much effort.

Best, Jonas


More information about the cfe-dev mailing list