[PATCH] D96281: [clang-tidy] Add options to flag individual core increments and to ignore macros to readability-function-cognitive-complexity check.

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 11 05:29:21 PST 2021


njames93 added a comment.

How does this handle a macro where the argument has complex code.

  MACRO(if (...) {});

In this case the macro code is definitely increasing the complexity.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96281/new/

https://reviews.llvm.org/D96281



More information about the cfe-commits mailing list