Searched refs:DiagId (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 826 unsigned DiagId = diag::err_two_right_angle_brackets_need_space; in ParseGreaterThanInTemplateList() local 829 DiagId = diag::warn_cxx98_compat_two_right_angle_brackets; in ParseGreaterThanInTemplateList() 831 DiagId = diag::err_right_angle_bracket_equal_needs_space; in ParseGreaterThanInTemplateList() 832 Diag(Tok.getLocation(), DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
|
D | ParseExprCXX.cpp | 2333 unsigned DiagId = 0; in ParseUnqualifiedIdOperator() local 2340 if (!Tok.is(tok::string_literal) && !DiagId) { in ParseUnqualifiedIdOperator() 2345 DiagId = diag::err_literal_operator_string_prefix; in ParseUnqualifiedIdOperator() 2381 DiagId = diag::err_literal_operator_string_not_empty; in ParseUnqualifiedIdOperator() 2384 if (DiagId) { in ParseUnqualifiedIdOperator() 2390 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 596 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId) { in addDiag() 597 PartialDiagnostic PD(DiagId, Ctx.getDiagAllocator()); in addDiag() 606 OptionalDiagnostic Diag(SourceLocation Loc, diag::kind DiagId, in Diag() 645 addDiag(Loc, DiagId); in Diag() 657 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr, in FFDiag() 659 return Diag(Loc, DiagId, ExtraNotes, false); in FFDiag() 662 OptionalDiagnostic FFDiag(const Expr *E, diag::kind DiagId in FFDiag() 666 return Diag(E->getExprLoc(), DiagId, ExtraNotes, /*IsCCEDiag*/false); in FFDiag() 676 OptionalDiagnostic CCEDiag(SourceLocation Loc, diag::kind DiagId in CCEDiag() 685 return Diag(Loc, DiagId, ExtraNotes, true); in CCEDiag() [all …]
|
/external/clang/lib/Lex/ |
D | PPDirectives.cpp | 1974 auto DiagId = (FileCharacter == SrcMgr::C_User || warnByDefaultOnWrongCase(Name)) ? in HandleIncludeDirective() local 1977 Diag(FilenameTok, DiagId) << Replacement << in HandleIncludeDirective()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 6085 bool checkStatement(Stmt *S, unsigned DiagId = 0, unsigned NoteId = 0); 6103 bool checkBinaryOperation(BinaryOperator *AtomicBinOp, unsigned DiagId = 0, 6109 BinaryOperator *AtomicBinOp, unsigned DiagId, unsigned NoteId) { in checkBinaryOperation() argument 6166 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkBinaryOperation() 6167 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkBinaryOperation() 6175 bool OpenMPAtomicUpdateChecker::checkStatement(Stmt *S, unsigned DiagId, in checkStatement() argument 6204 if(checkBinaryOperation(AtomicBinOp, DiagId, NoteId)) in checkStatement() 6238 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkStatement() 6239 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkStatement()
|
D | SemaType.cpp | 3521 unsigned DiagId = diag::err_decltype_auto_compound_type; in GetFullTypeForDeclarator() local 3531 DiagId = diag::err_decltype_auto_function_declarator_not_declaration; in GetFullTypeForDeclarator() 3549 S.Diag(DeclChunk.Loc, DiagId) << DiagKind; in GetFullTypeForDeclarator()
|