Home | History | Annotate | Download | only in libclang

Lines Matching refs:Diag

31   switch (Diag.getLevel()) {
43 if (Diag.getLocation().isInvalid())
46 return translateSourceLocation(Diag.getLocation().getManager(),
47 LangOpts, Diag.getLocation());
51 return cxstring::createRef(Diag.getMessage());
55 unsigned ID = Diag.getID();
63 if (ID == diag::fatal_too_many_errors) {
73 return DiagnosticIDs::getCategoryNumberForDiag(Diag.getID());
77 unsigned catID = DiagnosticIDs::getCategoryNumberForDiag(Diag.getID());
82 if (Diag.getLocation().isInvalid())
85 return Diag.range_size();
89 assert(Diag.getLocation().isValid());
90 return translateSourceRange(Diag.getLocation().getManager(),
92 Diag.range_begin()[Range]);
96 if (Diag.getLocation().isInvalid())
98 return Diag.fixit_size();
103 const FixItHint &Hint = Diag.fixit_begin()[FixIt];
108 *ReplacementRange = translateSourceRange(Diag.getLocation().getManager(),