clang-tools 20.0.0git
Namespaces | Functions
ClangTidyDiagnosticConsumer.cpp File Reference
#include "ClangTidyDiagnosticConsumer.h"
#include "ClangTidyOptions.h"
#include "GlobList.h"
#include "NoLintDirectiveHandler.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTDiagnostic.h"
#include "clang/AST/Attr.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Frontend/DiagnosticRenderer.h"
#include "clang/Lex/Lexer.h"
#include "clang/Tooling/Core/Diagnostic.h"
#include "clang/Tooling/Core/Replacement.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/Regex.h"
#include <optional>
#include <tuple>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::tidy
 

Functions

static bool parseFileExtensions (llvm::ArrayRef< std::string > AllFileExtensions, FileExtensionsSet &FileExtensions)
 
const llvm::StringMap< tooling::Replacements > * clang::tidy::getFixIt (const tooling::Diagnostic &Diagnostic, bool AnyFix)
 Gets the Fix attached to Diagnostic.
 

Function Documentation

◆ parseFileExtensions()

static bool parseFileExtensions ( llvm::ArrayRef< std::string >  AllFileExtensions,
FileExtensionsSet FileExtensions 
)
static

Definition at line 225 of file ClangTidyDiagnosticConsumer.cpp.

References Suffix.

Referenced by clang::tidy::ClangTidyContext::setCurrentFile().