[cfe-dev] [clang-tidy] Dealing with check names

Malcolm Parsons via cfe-dev cfe-dev at lists.llvm.org
Mon Dec 26 04:01:52 PST 2016


On 12 December 2016 at 18:20, Eugene Zelenko <eugene.zelenko at gmail.com> wrote:
> I think it’ll be good idea to move unused checks to Clang, but will
> this be easy? Clang has warnings for unused variables, static
> functions and macros already. GCC has warning for unused parameters.
>
> misc-unused-alias-decls
> misc-unused-parameters
> misc-unused-raii
> misc-unused-using-decls
>
> misc-inefficient-algorithm should be moved to performance. I tried to
> do this in past, but my patch was not perfect.

misc-noexcept-move-constructor too?
misc-move-constructor-init?

> Probable we should create next check groups:
>
> Potential memory issues:

lifetime?

> misc-use-after-move

misc-dangling-handle
misc-move-forwarding-reference?

> Preprocessor:
>
> misc-macro-parentheses
> misc-macro-repeated-side-effects
> misc-multiple-statement-macro

misc-assert-side-effect

-- 
Malcolm Parsons



More information about the cfe-dev mailing list