Searched refs:DiagId (Results 1 - 3 of 3) sorted by relevance

/external/clang/lib/Parse/
H A DParseTemplate.cpp790 unsigned DiagId = diag::err_two_right_angle_brackets_need_space; local
792 DiagId = diag::warn_cxx98_compat_two_right_angle_brackets;
794 DiagId = diag::err_right_angle_bracket_equal_needs_space;
795 Diag(Tok.getLocation(), DiagId) << Hint1 << Hint2;
H A DParseExprCXX.cpp1881 unsigned DiagId = 0; local
1888 if (!Tok.is(tok::string_literal) && !DiagId) {
1890 DiagId = diag::err_literal_operator_string_prefix;
1912 DiagId = diag::err_literal_operator_missing_space;
1925 DiagId = diag::err_literal_operator_string_not_empty;
1928 if (DiagId) {
1934 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement(
/external/clang/lib/AST/
H A DExprConstant.cpp430 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId) { argument
431 PartialDiagnostic PD(DiagId, Ctx.getDiagAllocator());
441 OptionalDiagnostic Diag(SourceLocation Loc, diag::kind DiagId
458 addDiag(Loc, DiagId);
467 OptionalDiagnostic Diag(const Expr *E, diag::kind DiagId
471 return Diag(E->getExprLoc(), DiagId, ExtraNotes);
479 OptionalDiagnostic CCEDiag(LocArg Loc, diag::kind DiagId
487 return Diag(Loc, DiagId, ExtraNotes);
491 OptionalDiagnostic Note(SourceLocation Loc, diag::kind DiagId) { argument
494 return OptionalDiagnostic(&addDiag(Loc, DiagId));
[all...]

Completed in 937 milliseconds