[PATCH] D88833: [clang-tidy] Do not warn on pointer decays in system macros

Aryan Sefidi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 8 14:57:36 PST 2021


arysef added a comment.
Herald added a subscriber: nullptr.cpp.

Here are also some bugs that seem like they could be closed once this is merged: 
https://bugs.llvm.org/show_bug.cgi?id=28480
https://bugs.llvm.org/show_bug.cgi?id=32239

Also about the current behavior, it seems like this behavior happens even when it's a system header macro that is called directly (for example any time you use `assert`) rather than being one that is passed as a parameter. In those cases, the behavior seems undesired.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88833



More information about the cfe-commits mailing list