Home
last modified time | relevance | path

Searched refs:DiagObj (Results 1 – 2 of 2) sorted by relevance

/external/clang/include/clang/Basic/
DDiagnostic.h682 mutable Diagnostic *DiagObj; variable
688 : DiagObj(diagObj), NumArgs(0), NumRanges(0), NumFixItHints(0) {} in DiagnosticBuilder()
699 DiagObj = D.DiagObj; in DiagnosticBuilder()
700 D.DiagObj = 0; in DiagnosticBuilder()
713 : DiagObj(0), NumArgs(0), NumRanges(0), NumFixItHints(0) { } in DiagnosticBuilder()
729 bool isActive() const { return DiagObj != 0; } in isActive()
736 return DiagObj->CurDiagID; in getDiagID()
740 void Clear() { DiagObj = 0; } in Clear()
750 if (DiagObj) { in AddString()
751 DiagObj->DiagArgumentsKind[NumArgs] = Diagnostic::ak_std_string; in AddString()
[all …]
/external/clang/lib/Basic/
DDiagnostic.cpp255 DiagObj->NumDiagArgs = NumArgs; in FlushCounts()
256 DiagObj->NumDiagRanges = NumRanges; in FlushCounts()
257 DiagObj->NumFixItHints = NumFixItHints; in FlushCounts()
263 if (DiagObj == 0) return false; in Emit()
271 bool Emitted = DiagObj->ProcessDiag(); in Emit()
274 unsigned DiagID = DiagObj->CurDiagID; in Emit()
275 DiagObj->Clear(); in Emit()
278 if (DiagObj->DelayedDiagID && DiagObj->DelayedDiagID != DiagID) in Emit()
279 DiagObj->ReportDelayed(); in Emit()
282 DiagObj = 0; in Emit()