9#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_NOLINTDIRECTIVEHANDLER_H
10#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_NOLINTDIRECTIVEHANDLER_H
12#include "clang/Basic/Diagnostic.h"
13#include "llvm/ADT/StringRef.h"
36 const Diagnostic &Diag, llvm::StringRef DiagName,
38 bool AllowIO,
bool EnableNoLintBlocks);
42 std::unique_ptr<Impl> PImpl;
DiagnosticCallback Diagnostic
This class is used to locate NOLINT comments in the file being analyzed, to decide whether a diagnost...
~NoLintDirectiveHandler()
bool shouldSuppress(DiagnosticsEngine::Level DiagLevel, const Diagnostic &Diag, llvm::StringRef DiagName, llvm::SmallVectorImpl< tooling::Diagnostic > &NoLintErrors, bool AllowIO, bool EnableNoLintBlocks)
Some operations such as code completion produce a set of candidates.