14#ifndef LLVM_CLANG_FRONTEND_STANDALONEDIAGNOSTICS_H
15#define LLVM_CLANG_FRONTEND_STANDALONEDIAGNOSTICS_H
22#include "llvm/ADT/StringExtras.h"
66 std::vector<SourceOffsetRange>
Ranges;
78 llvm::StringMap<SourceLocation> &SrcLocCache);
Defines the Diagnostic IDs-related interfaces.
Defines the clang::SourceLocation class and associated facilities.
Defines the SourceManager interface.
Defines various enumerations that describe declaration and type specifiers.
Represents a character-granular source range.
Level
The level of the diagnostic, after it has been through mapping.
Implements support for file system lookup, file system caching, and directory search management.
Annotates a diagnostic with some code that should be inserted, removed, or replaced to fix the proble...
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
This class handles loading and caching of source files into memory.
Represents a diagnostic in a form that can be retained until its corresponding source manager is dest...
Public enums and private classes that are part of the SourceManager implementation.
CharacteristicKind
Indicates whether a file or directory holds normal user code, system code, or system code which is im...
The JSON file list parser is used to communicate input to InstallAPI.
StoredDiagnostic translateStandaloneDiag(FileManager &FileMgr, SourceManager &SrcMgr, const StandaloneDiagnostic &StandaloneDiag, llvm::StringMap< SourceLocation > &SrcLocCache)
Translates StandaloneDiag into a StoredDiagnostic, associating it with the provided FileManager and S...
Represents a CharSourceRange within a StandaloneDiagnostic.
SourceOffsetRange(CharSourceRange Range, const SourceManager &SrcMgr, const LangOptions &LangOpts)
bool BeforePreviousInsertions
SourceOffsetRange RemoveRange
StandaloneFixIt(const SourceManager &SrcMgr, const LangOptions &LangOpts, const FixItHint &FixIt)
SourceOffsetRange InsertFromRange
Represents a StoredDiagnostic in a form that can be retained until after its SourceManager has been d...
SrcMgr::CharacteristicKind FileKind
std::vector< StandaloneFixIt > FixIts
StandaloneDiagnostic(const LangOptions &LangOpts, const StoredDiagnostic &InDiag)
std::vector< SourceOffsetRange > Ranges
DiagnosticsEngine::Level Level