Searched refs:DiagId (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 822 unsigned DiagId = diag::err_two_right_angle_brackets_need_space; in ParseGreaterThanInTemplateList() local 825 DiagId = diag::warn_cxx98_compat_two_right_angle_brackets; in ParseGreaterThanInTemplateList() 827 DiagId = diag::err_right_angle_bracket_equal_needs_space; in ParseGreaterThanInTemplateList() 828 Diag(Tok.getLocation(), DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
|
D | ParseExprCXX.cpp | 2254 unsigned DiagId = 0; in ParseUnqualifiedIdOperator() local 2261 if (!Tok.is(tok::string_literal) && !DiagId) { in ParseUnqualifiedIdOperator() 2266 DiagId = diag::err_literal_operator_string_prefix; in ParseUnqualifiedIdOperator() 2302 DiagId = diag::err_literal_operator_string_not_empty; in ParseUnqualifiedIdOperator() 2305 if (DiagId) { in ParseUnqualifiedIdOperator() 2311 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 4694 bool checkStatement(Stmt *S, unsigned DiagId = 0, unsigned NoteId = 0); 4712 bool checkBinaryOperation(BinaryOperator *AtomicBinOp, unsigned DiagId = 0, 4718 BinaryOperator *AtomicBinOp, unsigned DiagId, unsigned NoteId) { in checkBinaryOperation() argument 4775 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkBinaryOperation() 4776 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkBinaryOperation() 4784 bool OpenMPAtomicUpdateChecker::checkStatement(Stmt *S, unsigned DiagId, in checkStatement() argument 4813 if(checkBinaryOperation(AtomicBinOp, DiagId, NoteId)) in checkStatement() 4847 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkStatement() 4848 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkStatement()
|
D | SemaType.cpp | 3284 unsigned DiagId = diag::err_decltype_auto_compound_type; in GetFullTypeForDeclarator() local 3294 DiagId = diag::err_decltype_auto_function_declarator_not_declaration; in GetFullTypeForDeclarator() 3310 S.Diag(DeclChunk.Loc, DiagId) << DiagKind; in GetFullTypeForDeclarator()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 591 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId) { in addDiag() 592 PartialDiagnostic PD(DiagId, Ctx.getDiagAllocator()); in addDiag() 602 OptionalDiagnostic Diag(SourceLocation Loc, diag::kind DiagId in Diag() 641 addDiag(Loc, DiagId); in Diag() 650 OptionalDiagnostic Diag(const Expr *E, diag::kind DiagId in Diag() 654 return Diag(E->getExprLoc(), DiagId, ExtraNotes, IsCCEDiag); in Diag() 665 OptionalDiagnostic CCEDiag(LocArg Loc, diag::kind DiagId in CCEDiag() 674 return Diag(Loc, DiagId, ExtraNotes, true); in CCEDiag() 678 OptionalDiagnostic Note(SourceLocation Loc, diag::kind DiagId) { in Note() 681 return OptionalDiagnostic(&addDiag(Loc, DiagId)); in Note()
|