Home
last modified time | relevance | path

Searched refs:DiagId (Results 1 – 5 of 5) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseTemplate.cpp821 unsigned DiagId = diag::err_two_right_angle_brackets_need_space; in ParseGreaterThanInTemplateList() local
824 DiagId = diag::warn_cxx98_compat_two_right_angle_brackets; in ParseGreaterThanInTemplateList()
826 DiagId = diag::err_right_angle_bracket_equal_needs_space; in ParseGreaterThanInTemplateList()
827 Diag(Tok.getLocation(), DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
HDParseExprCXX.cpp2237 unsigned DiagId = 0; in ParseUnqualifiedIdOperator() local
2244 if (!Tok.is(tok::string_literal) && !DiagId) { in ParseUnqualifiedIdOperator()
2249 DiagId = diag::err_literal_operator_string_prefix; in ParseUnqualifiedIdOperator()
2285 DiagId = diag::err_literal_operator_string_not_empty; in ParseUnqualifiedIdOperator()
2288 if (DiagId) { in ParseUnqualifiedIdOperator()
2294 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaOpenMP.cpp3871 bool checkStatement(Stmt *S, unsigned DiagId = 0, unsigned NoteId = 0);
3889 bool checkBinaryOperation(BinaryOperator *AtomicBinOp, unsigned DiagId = 0,
3895 BinaryOperator *AtomicBinOp, unsigned DiagId, unsigned NoteId) { in checkBinaryOperation() argument
3952 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkBinaryOperation()
3953 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkBinaryOperation()
3961 bool OpenMPAtomicUpdateChecker::checkStatement(Stmt *S, unsigned DiagId, in checkStatement() argument
3990 if(checkBinaryOperation(AtomicBinOp, DiagId, NoteId)) in checkStatement()
4024 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkStatement()
4025 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkStatement()
HDSemaType.cpp3248 unsigned DiagId = diag::err_decltype_auto_compound_type; in GetFullTypeForDeclarator() local
3258 DiagId = diag::err_decltype_auto_function_declarator_not_declaration; in GetFullTypeForDeclarator()
3274 S.Diag(DeclChunk.Loc, DiagId) << DiagKind; in GetFullTypeForDeclarator()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDExprConstant.cpp564 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId) { in addDiag()
565 PartialDiagnostic PD(DiagId, Ctx.getDiagAllocator()); in addDiag()
575 OptionalDiagnostic Diag(SourceLocation Loc, diag::kind DiagId in Diag()
613 addDiag(Loc, DiagId); in Diag()
622 OptionalDiagnostic Diag(const Expr *E, diag::kind DiagId in Diag()
626 return Diag(E->getExprLoc(), DiagId, ExtraNotes); in Diag()
637 OptionalDiagnostic CCEDiag(LocArg Loc, diag::kind DiagId in CCEDiag()
646 return Diag(Loc, DiagId, ExtraNotes); in CCEDiag()
650 OptionalDiagnostic Note(SourceLocation Loc, diag::kind DiagId) { in Note()
653 return OptionalDiagnostic(&addDiag(Loc, DiagId)); in Note()