/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 33 enum DiagKind { enum 219 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind, const Twine &Msg, 225 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 242 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 287 SourceMgr::DiagKind Kind = SourceMgr::DK_Error; 296 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic() 301 SourceMgr::DiagKind Kind, StringRef Msg, StringRef LineStr, 310 SourceMgr::DiagKind getKind() const { return Kind; } in getKind()
|
H A D | YAMLParser.h | 107 SourceMgr::DiagKind Kind = SourceMgr::DK_Error); 109 SourceMgr::DiagKind Kind = SourceMgr::DK_Error);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCUDA.cpp | 824 SemaDiagnosticBuilder::Kind DiagKind = [&] { in DiagIfDeviceCode() local 848 return SemaDiagnosticBuilder(DiagKind, Loc, DiagID, CurFunContext, SemaRef); in DiagIfDeviceCode() 856 SemaDiagnosticBuilder::Kind DiagKind = [&] { in DiagIfHostCode() local 879 return SemaDiagnosticBuilder(DiagKind, Loc, DiagID, CurFunContext, SemaRef); in DiagIfHostCode() 900 SemaDiagnosticBuilder::Kind DiagKind = [this, Caller, Callee, in CheckCall() local 917 if (DiagKind == SemaDiagnosticBuilder::K_Nop) { in CheckCall() 935 SemaDiagnosticBuilder(DiagKind, Loc, diag::err_ref_bad_target, Caller, in CheckCall() 940 SemaDiagnosticBuilder(DiagKind, Callee->getLocation(), in CheckCall() 943 return DiagKind != SemaDiagnosticBuilder::K_Immediate && in CheckCall() 944 DiagKind != SemaDiagnosticBuilder::K_ImmediateWithCallStack; in CheckCall() [all …]
|
H A D | SemaSYCL.cpp | 31 SemaDiagnosticBuilder::Kind DiagKind = [this, FD] { in DiagIfDeviceCode() local 38 return SemaDiagnosticBuilder(DiagKind, Loc, DiagID, FD, SemaRef); in DiagIfDeviceCode()
|
H A D | AnalysisBasedWarnings.cpp | 877 unsigned DiagKind; in DiagUninitUse() local 899 DiagKind = 0; in DiagUninitUse() 909 DiagKind = 0; in DiagUninitUse() 921 DiagKind = 0; in DiagUninitUse() 938 DiagKind = 1; in DiagUninitUse() 945 DiagKind = 1; in DiagUninitUse() 961 DiagKind = 1; in DiagUninitUse() 968 DiagKind = 2; in DiagUninitUse() 977 DiagKind = 3; in DiagUninitUse() 982 DiagKind = 3; in DiagUninitUse() [all …]
|
H A D | SemaAvailability.cpp | 458 unsigned DiagKind = getAvailabilityDiagnosticKind( in DoEmitAvailabilityWarning() local 462 S.Diag(Loc, DiagKind) << OffendingDecl << PlatformName in DoEmitAvailabilityWarning() 875 unsigned DiagKind = getAvailabilityDiagnosticKind( in DiagnoseDeclAvailability() local 880 SemaRef.Diag(Range.getBegin(), DiagKind) in DiagnoseDeclAvailability()
|
H A D | SemaExpr.cpp | 16607 unsigned DiagKind = 0; in DiagnoseAssignmentResult() local 16621 DiagKind = diag::err_typecheck_convert_pointer_int; in DiagnoseAssignmentResult() 16624 DiagKind = diag::ext_typecheck_convert_pointer_int; in DiagnoseAssignmentResult() 16631 DiagKind = diag::err_typecheck_convert_int_pointer; in DiagnoseAssignmentResult() 16634 DiagKind = diag::ext_typecheck_convert_int_pointer; in DiagnoseAssignmentResult() 16640 DiagKind = in DiagnoseAssignmentResult() 16647 DiagKind = diag::err_typecheck_convert_incompatible_function_pointer; in DiagnoseAssignmentResult() 16650 DiagKind = diag::ext_typecheck_convert_incompatible_function_pointer; in DiagnoseAssignmentResult() 16657 DiagKind = diag::err_arc_typecheck_convert_incompatible_pointer; in DiagnoseAssignmentResult() 16659 DiagKind = diag::err_typecheck_convert_incompatible_pointer; in DiagnoseAssignmentResult() [all …]
|
H A D | SemaDeclAttr.cpp | 3973 int DiagKind = -1; in validateAlignasAppliedType() local 3975 DiagKind = 0; in validateAlignasAppliedType() 3978 DiagKind = 1; in validateAlignasAppliedType() 3980 DiagKind = 2; in validateAlignasAppliedType() 3983 DiagKind = 3; in validateAlignasAppliedType() 3986 DiagKind = 4; in validateAlignasAppliedType() 3993 if (DiagKind != -1) { in validateAlignasAppliedType() 3995 << &Attr << DiagKind; in validateAlignasAppliedType()
|
H A D | SemaType.cpp | 4250 unsigned DiagKind = 0; in GetFullTypeForDeclarator() local 4255 DiagKind = 4; in GetFullTypeForDeclarator() 4261 DiagKind = 3; in GetFullTypeForDeclarator() 4274 DiagKind = 0; in GetFullTypeForDeclarator() 4277 DiagKind = 1; in GetFullTypeForDeclarator() 4280 DiagKind = 2; in GetFullTypeForDeclarator() 4286 S.Diag(DeclChunk.Loc, DiagId) << DiagKind; in GetFullTypeForDeclarator()
|
H A D | SemaDeclCXX.cpp | 9331 int DiagKind = -1; in shouldDeleteForSubobjectCall() local 9334 DiagKind = !Decl ? 0 : 1; in shouldDeleteForSubobjectCall() 9336 DiagKind = 2; in shouldDeleteForSubobjectCall() 9338 DiagKind = 3; in shouldDeleteForSubobjectCall() 9354 DiagKind = 4; in shouldDeleteForSubobjectCall() 9356 DiagKind = 4; in shouldDeleteForSubobjectCall() 9360 if (DiagKind == -1) in shouldDeleteForSubobjectCall() 9368 << /*IsField*/ true << Field << DiagKind << IsDtorCallInCtor in shouldDeleteForSubobjectCall() 9375 << /*IsField*/ false << Base->getType() << DiagKind in shouldDeleteForSubobjectCall() 9379 if (DiagKind == 1) in shouldDeleteForSubobjectCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 274 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in GetMessage() 353 SourceMgr::DiagKind Kind, const Twine &Msg, in PrintMessage() 359 void SourceMgr::PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in PrintMessage() 379 int Col, SourceMgr::DiagKind Kind, StringRef Msg, in SMDiagnostic()
|
H A D | YAMLParser.cpp | 260 void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message, in printError() 1927 void Stream::printError(Node *N, const Twine &Msg, SourceMgr::DiagKind Kind) { in begin() 1932 SourceMgr::DiagKind Kind) { in end()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | Error.cpp | 27 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage()
|
/freebsd/contrib/llvm-project/clang/tools/clang-format/ |
H A D | ClangFormat.cpp | 367 WarningsAsErrors ? SourceMgr::DiagKind::DK_Error in emitReplacementWarnings() 368 : SourceMgr::DiagKind::DK_Warning, in emitReplacementWarnings()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DiagnosticInfo.h | 1054 static DiagnosticSeverity getDiagnosticSeverity(SourceMgr::DiagKind DK) { in getDiagnosticSeverity()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 3753 int DiagKind; in findSubobject() local 3757 DiagKind = 2; in findSubobject() 3761 DiagKind = 1; in findSubobject() 3765 DiagKind = 0; in findSubobject() 3770 << handler.AccessKind << DiagKind << Decl; in findSubobject() 3771 Info.Note(Loc, diag::note_constexpr_volatile_here) << DiagKind; in findSubobject() 6021 unsigned DiagKind; in HandleDynamicCast() local 6024 DiagKind = 0; in HandleDynamicCast() 6026 DiagKind = 1; in HandleDynamicCast() 6028 DiagKind = 2; in HandleDynamicCast() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 327 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, in printMessage()
|
H A D | MasmParser.cpp | 621 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, in printMessage()
|