Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp679 auto DiagType = D.getSeverity() == llvm::DS_Error in UnsupportedDiagHandler() local
682 Diags.Report(Loc, DiagType) << MsgStream.str(); in UnsupportedDiagHandler()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp13007 unsigned DiagType = 0; in CheckAbsoluteValueFunction() local
13009 DiagType = 1; in CheckAbsoluteValueFunction()
13011 DiagType = 2; in CheckAbsoluteValueFunction()
13013 Diag(Call->getExprLoc(), diag::warn_pointer_abs) << DiagType << ArgType; in CheckAbsoluteValueFunction()
16549 } DiagType; in DiagnoseAlwaysNonNullPointer() local
16551 DiagType = AddressOf; in DiagnoseAlwaysNonNullPointer()
16553 DiagType = FunctionPointer; in DiagnoseAlwaysNonNullPointer()
16555 DiagType = ArrayPointer; in DiagnoseAlwaysNonNullPointer()
16558 Diag(E->getExprLoc(), DiagID) << DiagType << S.str() << E->getSourceRange() in DiagnoseAlwaysNonNullPointer()
H A DSemaDeclAttr.cpp1119 DiagnoseIfAttr::DiagnosticType DiagType; in handleDiagnoseIfAttr() local
1120 if (!DiagnoseIfAttr::ConvertStrToDiagnosticType(DiagTypeStr, DiagType)) { in handleDiagnoseIfAttr()
1130 S.Context, AL, Cond, Msg, DiagType, ArgDependent, cast<NamedDecl>(D))); in handleDiagnoseIfAttr()
H A DSemaOpenMP.cpp2796 StringRef DiagType = "");
5378 StringRef DiagType) { in getPrivateItem() argument
5423 } else if (!DiagType.empty()) { in getPrivateItem()
5428 << DiagSelect << DiagType << ERange; in getPrivateItem()
H A DSemaExpr.cpp8723 int DiagType = (NullKind == Expr::NPCK_CXX11_nullptr); in DiagnoseConditionalForNull() local
8725 << NonPointerExpr->getType() << DiagType in DiagnoseConditionalForNull()