[PATCH] D155857: [clang] fix nonnull warnings during build

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 12:10:55 PDT 2023


MaskRay added a comment.

Perhaps `-Wno-nonnull` should be GCC specific (i.e. not apply to Clang).

This option will disable certain warnings related to Clang `_Nonnull` (seems unused in llvm-project) and `__attribute__((nonnull))` (used in a few places).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155857



More information about the llvm-commits mailing list