[clang-tidy] method for NOLINT whole file #83339
Labels
clang-tidy
enhancement
Improving things as opposed to bug fixing, e.g. new or missing feature
question
A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
https://clang.llvm.org/extra/clang-tidy/#suppressing-undesired-diagnostics mentions that:
For implementing assert.h in llvm-libc, you literally do not want a header guard. To suppress
llvm-header-guard
, we need to addNOLINT(llvm-header-guard)
as the very first line to this header, BEFORE the license comment, which is also against the style guide.It would be nice if we had another method for silence this clang-tidy diagnostic somehow within this file.
The text was updated successfully, but these errors were encountered: