clang 24.0.0git
DiagnosticRenderer.h File Reference
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/StringRef.h"
#include <optional>

Go to the source code of this file.

Classes

class  clang::DiagnosticRenderer
 Class to encapsulate the logic for formatting a diagnostic message. More...
class  clang::DiagnosticNoteRenderer
 Subclass of DiagnosticRender that turns all subdiagostics into explicit notes. More...

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.

Typedefs

using clang::DiagOrStoredDiag

Functions

std::optional< CharSourceRangeclang::getExpansionRangeInFile (CharSourceRange Range, FileID FID, const SourceManager &SM)
 Maps both endpoints of Range to their macro expansion, so that the range can be shown to a user.