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

/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DState.cpp20 OptionalDiagnostic State::FFDiag(SourceLocation Loc, diag::kind DiagId, argument
22 return diag(Loc, DiagId, ExtraNotes, false);
25 OptionalDiagnostic State::FFDiag(const Expr *E, diag::kind DiagId, argument
28 return diag(E->getExprLoc(), DiagId, ExtraNotes, false);
33 OptionalDiagnostic State::FFDiag(const SourceInfo &SI, diag::kind DiagId, argument
36 return diag(SI.getLoc(), DiagId, ExtraNotes, false);
41 OptionalDiagnostic State::CCEDiag(SourceLocation Loc, diag::kind DiagId, argument
49 return diag(Loc, DiagId, ExtraNotes, true);
52 OptionalDiagnostic State::CCEDiag(const Expr *E, diag::kind DiagId, argument
54 return CCEDiag(E->getExprLoc(), DiagId, ExtraNote
57 CCEDiag(const SourceInfo &SI, diag::kind DiagId, unsigned ExtraNotes) argument
62 Note(SourceLocation Loc, diag::kind DiagId) argument
75 report(SourceLocation Loc, diag::kind DiagId) argument
80 addDiag(SourceLocation Loc, diag::kind DiagId) argument
86 diag(SourceLocation Loc, diag::kind DiagId, unsigned ExtraNotes, bool IsCCEDiag) argument
[all...]
H A DState.h77 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
82 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
87 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
97 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
102 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
107 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
111 OptionalDiagnostic Note(SourceLocation Loc, diag::kind DiagId);
117 DiagnosticBuilder report(SourceLocation Loc, diag::kind DiagId);
124 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId);
126 OptionalDiagnostic diag(SourceLocation Loc, diag::kind DiagId,
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseTemplate.cpp1136 unsigned DiagId = diag::err_two_right_angle_brackets_need_space;
1139 DiagId = diag::warn_cxx98_compat_two_right_angle_brackets;
1141 DiagId = diag::err_right_angle_bracket_equal_needs_space;
1142 Diag(TokLoc, DiagId) << Hint1 << Hint2;
H A DParseExprCXX.cpp2615 unsigned DiagId = 0;
2622 if (!Tok.is(tok::string_literal) && !DiagId) {
2627 DiagId = diag::err_literal_operator_string_prefix;
2663 DiagId = diag::err_literal_operator_string_not_empty;
2666 if (DiagId) {
2672 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement(
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPDirectives.cpp2203 auto DiagId = local
2207 Diag(FilenameTok, DiagId) << Path <<
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOpenMP.cpp10431 /// expression. If DiagId and NoteId == 0, then only check is performed
10433 /// \param DiagId Diagnostic which should be emitted if error is found.
10436 bool checkStatement(Stmt *S, unsigned DiagId = 0, unsigned NoteId = 0);
10454 bool checkBinaryOperation(BinaryOperator *AtomicBinOp, unsigned DiagId = 0,
10460 BinaryOperator *AtomicBinOp, unsigned DiagId, unsigned NoteId) {
10517 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) {
10518 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange;
10527 bool OpenMPAtomicUpdateChecker::checkStatement(Stmt *S, unsigned DiagId,
10556 if (checkBinaryOperation(AtomicBinOp, DiagId, NoteId))
10590 if (ErrorFound != NoError && DiagId !
[all...]
H A DSemaType.cpp4446 unsigned DiagId = IsClassTemplateDeduction local
4467 DiagId = diag::err_decltype_auto_function_declarator_not_declaration;
4485 S.Diag(DeclChunk.Loc, DiagId) << DiagKind;
H A DSemaTemplate.cpp890 unsigned DiagId = getLangOpts().MSVCCompat ? diag::ext_template_param_shadow local
892 Diag(Loc, DiagId) << cast<NamedDecl>(PrevDecl)->getDeclName();

Completed in 317 milliseconds