llvm / llvm/llvm-project

[clang-tidy] Add NOLINTNEXTLINE "quick fix"

Open
#185,753 4 comments 0 reactions 0 assignees View on GitHub
clang-tidy enhancement
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

When clang-tidy / clangd detect an issue, it is raised to the language client with potential fixes. It would be very nice if clang-tidy also suggested a `NOLINTNEXTLINE` fix due to the frequency of false positives.

I found an abandoned PR from 2023 implementing the suggestion: https://reviews.llvm.org/D142991

Image
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.