콘텐츠로 이동
Search

Clang-tidy

lastmod 2026-02-28created 2018-12-282 edits

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

author Zer0 sitemap