[PATCH] D33827: [clang-tidy] misc-static-assert shouldn't flag assert(!"msg")

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 2 11:14:35 PDT 2017


lebedev.ri added a comment.

While not directly related to this Differential, i wonder if it would make sense to also not warn on calls to (especially non-member) functions marked with `__attribute__((const))`, maybe `__attribute__((pure))` too.
At least i'm not sure what side-effects such calls may have..


Repository:
  rL LLVM

https://reviews.llvm.org/D33827





More information about the cfe-commits mailing list