Lines Matching defs:CXLoadedDiagnostic
1 //===-- CXLoadedDiagnostic.cpp - Handling of persisent diags ----*- C++ -*-===//
14 #include "CXLoadedDiagnostic.h"
63 CXLoadedDiagnostic::~CXLoadedDiagnostic() {}
66 // Public CXLoadedDiagnostic methods.
69 CXDiagnosticSeverity CXLoadedDiagnostic::getSeverity() const {
82 static CXSourceLocation makeLocation(const CXLoadedDiagnostic::Location *DLoc) {
91 CXSourceLocation CXLoadedDiagnostic::getLocation() const {
97 CXString CXLoadedDiagnostic::getSpelling() const {
101 CXString CXLoadedDiagnostic::getDiagnosticOption(CXString *Disable) const {
111 unsigned CXLoadedDiagnostic::getCategory() const {
115 CXString CXLoadedDiagnostic::getCategoryText() const {
119 unsigned CXLoadedDiagnostic::getNumRanges() const {
123 CXSourceRange CXLoadedDiagnostic::getRange(unsigned Range) const {
128 unsigned CXLoadedDiagnostic::getNumFixIts() const {
132 CXString CXLoadedDiagnostic::getFixIt(unsigned FixIt,
140 void CXLoadedDiagnostic::decodeLocation(CXSourceLocation location,
234 CXLoadedDiagnostic::Location &Loc);
480 CXLoadedDiagnostic::Location &Loc) {
512 CXLoadedDiagnostic::Location *Start, *End;
513 Start = TopDiags.Alloc.Allocate<CXLoadedDiagnostic::Location>();
514 End = TopDiags.Alloc.Allocate<CXLoadedDiagnostic::Location>();
536 OwningPtr<CXLoadedDiagnostic> D(new CXLoadedDiagnostic());