| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | State.cpp | 21 OptionalDiagnostic State::FFDiag(SourceLocation Loc, diag::kind DiagId, in FFDiag() argument 23 return diag(Loc, DiagId, ExtraNotes, false); in FFDiag() 26 OptionalDiagnostic State::FFDiag(const Expr *E, diag::kind DiagId, in FFDiag() argument 29 return diag(E->getExprLoc(), DiagId, ExtraNotes, false); in FFDiag() 34 OptionalDiagnostic State::FFDiag(const SourceInfo &SI, diag::kind DiagId, in FFDiag() argument 37 return diag(SI.getLoc(), DiagId, ExtraNotes, false); in FFDiag() 42 OptionalDiagnostic State::CCEDiag(SourceLocation Loc, diag::kind DiagId, in CCEDiag() argument 50 return diag(Loc, DiagId, ExtraNotes, true); in CCEDiag() 53 OptionalDiagnostic State::CCEDiag(const Expr *E, diag::kind DiagId, in CCEDiag() argument 55 return CCEDiag(E->getExprLoc(), DiagId, ExtraNotes); in CCEDiag() [all …]
|
| H A D | State.h | 82 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr, 87 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr, 92 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, 112 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr, 116 OptionalDiagnostic Note(SourceLocation Loc, diag::kind DiagId); 122 DiagnosticBuilder report(SourceLocation Loc, diag::kind DiagId); 133 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId); 135 OptionalDiagnostic diag(SourceLocation Loc, diag::kind DiagId,
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1393 unsigned DiagId; in ParseNumberStartingWithZero() local 1395 DiagId = diag::warn_cxx11_compat_binary_literal; in ParseNumberStartingWithZero() 1397 DiagId = diag::warn_c23_compat_binary_literal; in ParseNumberStartingWithZero() 1399 DiagId = diag::ext_binary_literal_cxx14; in ParseNumberStartingWithZero() 1401 DiagId = diag::ext_binary_literal; in ParseNumberStartingWithZero() 1402 Diags.Report(TokLoc, DiagId); in ParseNumberStartingWithZero() 1425 unsigned DiagId; in ParseNumberStartingWithZero() local 1427 DiagId = diag::warn_c2y_compat_octal_literal; in ParseNumberStartingWithZero() 1429 DiagId = diag::ext_cpp_octal_literal; in ParseNumberStartingWithZero() 1431 DiagId = diag::ext_octal_literal; in ParseNumberStartingWithZero() [all …]
|
| H A D | Lexer.cpp | 3393 unsigned DiagId; in DiagnoseDelimitedOrNamedEscapeSequence() local 3395 DiagId = diag::warn_cxx23_delimited_escape_sequence; in DiagnoseDelimitedOrNamedEscapeSequence() 3397 DiagId = diag::warn_c2y_delimited_escape_sequence; in DiagnoseDelimitedOrNamedEscapeSequence() 3399 DiagId = diag::ext_delimited_escape_sequence; in DiagnoseDelimitedOrNamedEscapeSequence() 3410 Diags.Report(Loc, DiagId) << Named << Ext; in DiagnoseDelimitedOrNamedEscapeSequence()
|
| H A D | PPDirectives.cpp | 2618 auto DiagId = in HandleHeaderIncludeOrImport() local 2622 Diag(FilenameTok, DiagId) << Path << in HandleHeaderIncludeOrImport()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 516 bool isDiagSuppressed(diag::kind DiagId, SourceLocation DiagLoc, 596 diag::kind DiagId, SourceLocation DiagLoc, const SourceManager &SM) { in setDiagSuppressionMapping() argument 597 return WarningSuppressionList->isDiagSuppressed(DiagId, DiagLoc, SM); in setDiagSuppressionMapping() 601 bool WarningsSpecialCaseList::isDiagSuppressed(diag::kind DiagId, in isDiagSuppressed() argument 604 const Section *DiagSection = DiagToSection.lookup(DiagId); in isDiagSuppressed() 643 bool DiagnosticsEngine::isSuppressedViaMapping(diag::kind DiagId, in isSuppressedViaMapping() argument 647 return DiagSuppressionMapping(DiagId, DiagLoc, getSourceManager()); in isSuppressedViaMapping()
|
| H A D | DiagnosticIDs.cpp | 785 unsigned DiagId; in getCXXCompatDiagId() member 823 return StdVer >= D.StdVer ? D.DiagId : D.PreDiagId; in getCXXCompatDiagId()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseTemplate.cpp | 975 unsigned DiagId = diag::err_two_right_angle_brackets_need_space; in ParseGreaterThanInTemplateList() local 978 DiagId = diag::warn_cxx98_compat_two_right_angle_brackets; in ParseGreaterThanInTemplateList() 980 DiagId = diag::err_right_angle_bracket_equal_needs_space; in ParseGreaterThanInTemplateList() 981 Diag(TokLoc, DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
|
| H A D | ParseStmt.cpp | 818 unsigned DiagId; in ParseCaseStatement() local 820 DiagId = diag::ext_gnu_case_range; in ParseCaseStatement() 822 DiagId = diag::warn_c23_compat_case_range; in ParseCaseStatement() 824 DiagId = diag::ext_c2y_case_range; in ParseCaseStatement() 825 Diag(DotDotDotLoc, DiagId); in ParseCaseStatement()
|
| H A D | ParseExprCXX.cpp | 2472 unsigned DiagId = 0; in ParseUnqualifiedIdOperator() local 2479 if (!Tok.is(tok::string_literal) && !DiagId) { in ParseUnqualifiedIdOperator() 2484 DiagId = diag::err_literal_operator_string_prefix; in ParseUnqualifiedIdOperator() 2521 DiagId = diag::err_literal_operator_string_not_empty; in ParseUnqualifiedIdOperator() 2524 if (DiagId) { in ParseUnqualifiedIdOperator() 2530 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
| H A D | ParseDeclCXX.cpp | 2947 unsigned DiagId = 0; in ParseCXXClassMemberDeclaration() local 2948 DeclSpec.SetFriendSpec(FriendLoc, PrevSpec, DiagId); in ParseCXXClassMemberDeclaration()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 943 auto Diag = [&](unsigned DiagId, const SmallVectorImpl<unsigned> &Notes) { in DiagnoseIndirectOrAsmJump() argument 944 S.Diag(Jump->getBeginLoc(), DiagId) << IsAsmGoto; in DiagnoseIndirectOrAsmJump()
|
| H A D | SemaType.cpp | 1506 unsigned DiagId = diag::warn_typecheck_function_qualifiers_ignored; in ConvertDeclSpecToType() local 1508 DiagId = diag::ext_typecheck_function_qualifiers_unspecified; in ConvertDeclSpecToType() 1511 DiagId); in ConvertDeclSpecToType() 3392 unsigned DiagId = 0; in GetDeclSpecTypeForDeclarator() local 3394 DiagId = diag::warn_cxx11_compat_generic_lambda; in GetDeclSpecTypeForDeclarator() 3396 DiagId = diag::warn_cxx11_compat_deduced_return_type; in GetDeclSpecTypeForDeclarator() 3398 DiagId = diag::warn_cxx98_compat_auto_type_specifier; in GetDeclSpecTypeForDeclarator() 3400 if (DiagId) in GetDeclSpecTypeForDeclarator() 3401 SemaRef.Diag(AutoRange.getBegin(), DiagId) << AutoRange; in GetDeclSpecTypeForDeclarator() 4300 unsigned DiagId = IsClassTemplateDeduction in GetFullTypeForDeclarator() local [all …]
|
| H A D | SemaOpenMP.cpp | 11411 bool checkStatement(Stmt *S, unsigned DiagId = 0, unsigned NoteId = 0); 11429 bool checkBinaryOperation(BinaryOperator *AtomicBinOp, unsigned DiagId = 0, 11434 BinaryOperator *AtomicBinOp, unsigned DiagId, unsigned NoteId) { in checkBinaryOperation() argument 11491 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkBinaryOperation() 11492 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkBinaryOperation() 11501 bool OpenMPAtomicUpdateChecker::checkStatement(Stmt *S, unsigned DiagId, in checkStatement() argument 11530 if (checkBinaryOperation(AtomicBinOp, DiagId, NoteId)) in checkStatement() 11568 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkStatement() 11569 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkStatement()
|
| H A D | SemaExpr.cpp | 4133 unsigned DiagId; in ActOnNumericConstant() local 4135 DiagId = diag::ext_gnu_imaginary_constant; in ActOnNumericConstant() 4137 DiagId = diag::warn_c23_compat_imaginary_constant; in ActOnNumericConstant() 4139 DiagId = diag::ext_c2y_imaginary_constant; in ActOnNumericConstant() 4140 Diag(Tok.getLocation(), DiagId); in ActOnNumericConstant()
|
| H A D | SemaTemplate.cpp | 873 unsigned DiagId = in DiagnoseTemplateParameterShadow() local 879 Diag(Loc, DiagId) << ND->getDeclName(); in DiagnoseTemplateParameterShadow()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 983 bool isSuppressedViaMapping(diag::kind DiagId, SourceLocation DiagLoc) const;
|