[PATCH] D43277: limits: Use `false` instead of `type(0)`.

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 16 01:28:35 PST 2018


lebedev.ri added a comment.

In https://reviews.llvm.org/D43277#1009659, @brucem wrote:

> Without this, anyone using `clang-tidy` with this check gets 6 system header warnings whenever they transitively have included `limits`.


Only if `-system-headers` is passed to clang-tidy, or if those libc++ headers are included as normal includes (`-I`), and not as system includes (`-isystem`).


Repository:
  rCXX libc++

https://reviews.llvm.org/D43277





More information about the cfe-commits mailing list