Searched refs:DiagId (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 785 unsigned DiagId = diag::err_two_right_angle_brackets_need_space; in ParseGreaterThanInTemplateList() local 788 DiagId = diag::warn_cxx98_compat_two_right_angle_brackets; in ParseGreaterThanInTemplateList() 790 DiagId = diag::err_right_angle_bracket_equal_needs_space; in ParseGreaterThanInTemplateList() 791 Diag(Tok.getLocation(), DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
|
D | ParseExprCXX.cpp | 2180 unsigned DiagId = 0; in ParseUnqualifiedIdOperator() local 2187 if (!Tok.is(tok::string_literal) && !DiagId) { in ParseUnqualifiedIdOperator() 2192 DiagId = diag::err_literal_operator_string_prefix; in ParseUnqualifiedIdOperator() 2228 DiagId = diag::err_literal_operator_string_not_empty; in ParseUnqualifiedIdOperator() 2231 if (DiagId) { in ParseUnqualifiedIdOperator() 2237 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 563 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId) { in addDiag() 564 PartialDiagnostic PD(DiagId, Ctx.getDiagAllocator()); in addDiag() 574 OptionalDiagnostic Diag(SourceLocation Loc, diag::kind DiagId in Diag() 612 addDiag(Loc, DiagId); in Diag() 621 OptionalDiagnostic Diag(const Expr *E, diag::kind DiagId in Diag() 625 return Diag(E->getExprLoc(), DiagId, ExtraNotes); in Diag() 636 OptionalDiagnostic CCEDiag(LocArg Loc, diag::kind DiagId in CCEDiag() 645 return Diag(Loc, DiagId, ExtraNotes); in CCEDiag() 649 OptionalDiagnostic Note(SourceLocation Loc, diag::kind DiagId) { in Note() 652 return OptionalDiagnostic(&addDiag(Loc, DiagId)); in Note()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 2514 unsigned DiagId = diag::err_decltype_auto_compound_type; in GetFullTypeForDeclarator() local 2524 DiagId = diag::err_decltype_auto_function_declarator_not_declaration; in GetFullTypeForDeclarator() 2540 S.Diag(DeclChunk.Loc, DiagId) << DiagKind; in GetFullTypeForDeclarator()
|