Home | History | Annotate | Download | only in libclang

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 {
90 static CXSourceLocation makeLocation(const CXLoadedDiagnostic::Location *DLoc) {
99 CXSourceLocation CXLoadedDiagnostic::getLocation() const {
105 CXString CXLoadedDiagnostic::getSpelling() const {
109 CXString CXLoadedDiagnostic::getDiagnosticOption(CXString *Disable) const {
119 unsigned CXLoadedDiagnostic::getCategory() const {
123 CXString CXLoadedDiagnostic::getCategoryText() const {
127 unsigned CXLoadedDiagnostic::getNumRanges() const {
131 CXSourceRange CXLoadedDiagnostic::getRange(unsigned Range) const {
136 unsigned CXLoadedDiagnostic::getNumFixIts() const {
140 CXString CXLoadedDiagnostic::getFixIt(unsigned FixIt,
148 void CXLoadedDiagnostic::decodeLocation(CXSourceLocation location,
242 CXLoadedDiagnostic::Location &Loc);
489 CXLoadedDiagnostic::Location &Loc) {
521 CXLoadedDiagnostic
522 Start = TopDiags.Alloc.Allocate<CXLoadedDiagnostic::Location>();
523 End = TopDiags.Alloc.Allocate<CXLoadedDiagnostic::Location>();
545 std::unique_ptr<CXLoadedDiagnostic> D(new CXLoadedDiagnostic());