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"
38 const Diagnostic &Diag, llvm::StringRef DiagName,
40 bool AllowIO,
bool EnableNoLintBlocks);
44 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(const NoLintDirectiveHandler &)=delete
~NoLintDirectiveHandler()
NoLintDirectiveHandler & operator=(const NoLintDirectiveHandler &)=delete
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.