clang 22.0.0git
StandaloneDiagnostic.h File Reference
#include "clang/Basic/DiagnosticIDs.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/Specifiers.h"
#include "llvm/ADT/StringExtras.h"
#include <cassert>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  clang::StandaloneDiagnostic
 Represents a StoredDiagnostic in a form that can be retained until after its SourceManager has been destroyed. More...
struct  clang::StandaloneDiagnostic::SourceOffsetRange
 Represents a CharSourceRange within a StandaloneDiagnostic. More...
struct  clang::StandaloneDiagnostic::StandaloneFixIt
 Represents a FixItHint within a StandaloneDiagnostic. More...

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Functions

StoredDiagnostic clang::translateStandaloneDiag (FileManager &FileMgr, SourceManager &SrcMgr, const StandaloneDiagnostic &StandaloneDiag, llvm::StringMap< SourceLocation > &SrcLocCache)
 Translates StandaloneDiag into a StoredDiagnostic, associating it with the provided FileManager and SourceManager.