Home | History | Annotate | Download | only in libclang

Lines Matching refs:CXLoadedDiagnostic

1 //===-- CXLoadedDiagnostic.cpp - Handling of persisent diags ----*- C++ -*-===//
14 #include "CXLoadedDiagnostic.h"
66 CXLoadedDiagnostic::~CXLoadedDiagnostic() {}
69 // Public CXLoadedDiagnostic methods.
72 CXDiagnosticSeverity CXLoadedDiagnostic::getSeverity() const {
93 static CXSourceLocation makeLocation(const CXLoadedDiagnostic::Location *DLoc) {
102 CXSourceLocation CXLoadedDiagnostic::getLocation() const {
108 CXString CXLoadedDiagnostic::getSpelling() const {
112 CXString CXLoadedDiagnostic::getDiagnosticOption(CXString *Disable) const {
122 unsigned CXLoadedDiagnostic::getCategory() const {
126 CXString CXLoadedDiagnostic::getCategoryText() const {
130 unsigned CXLoadedDiagnostic::getNumRanges() const {
134 CXSourceRange CXLoadedDiagnostic::getRange(unsigned Range) const {
139 unsigned CXLoadedDiagnostic::getNumFixIts() const {
143 CXString CXLoadedDiagnostic::getFixIt(unsigned FixIt,
151 void CXLoadedDiagnostic::decodeLocation(CXSourceLocation location,
194 SmallVector<std::unique_ptr<CXLoadedDiagnostic>, 8> CurrentDiags;
213 CXLoadedDiagnostic::Location &LoadedLoc);
276 CXLoadedDiagnostic::Location &LoadedLoc) {
295 CXLoadedDiagnostic::Location *Start, *End;
296 Start = TopDiags->Alloc.Allocate<CXLoadedDiagnostic::Location>();
297 End = TopDiags->Alloc.Allocate<CXLoadedDiagnostic::Location>();
312 CurrentDiags.push_back(llvm::make_unique<CXLoadedDiagnostic>());
381 CXLoadedDiagnostic &D = *CurrentDiags.back();