콘텐츠로 이동
Search

Clang-tidy

Disable clang-tidy lint

Just add a comment containing the string NOLINT anywhere on the line you want clang-tidy to ignore. For example:

badcode;  // NOLINT

// NOLINTNEXTLINE
badcode;

badcode; // NOLINT(cert-err-58-cpp)

See also

Favorite site

lastmod 2026-02-28created 2026-02-28author Zer0 sitemap