Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenAction.cpp709 auto DiagType = D.getSeverity() == llvm::DS_Error in UnsupportedDiagHandler() local
712 Diags.Report(Loc, DiagType) << MsgStream.str(); in UnsupportedDiagHandler()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp10947 unsigned DiagType = 0; in CheckAbsoluteValueFunction() local
10949 DiagType = 1; in CheckAbsoluteValueFunction()
10951 DiagType = 2; in CheckAbsoluteValueFunction()
10953 Diag(Call->getExprLoc(), diag::warn_pointer_abs) << DiagType << ArgType; in CheckAbsoluteValueFunction()
14459 } DiagType; in DiagnoseAlwaysNonNullPointer() local
14461 DiagType = AddressOf; in DiagnoseAlwaysNonNullPointer()
14463 DiagType = FunctionPointer; in DiagnoseAlwaysNonNullPointer()
14465 DiagType = ArrayPointer; in DiagnoseAlwaysNonNullPointer()
14468 Diag(E->getExprLoc(), DiagID) << DiagType << S.str() << E->getSourceRange() in DiagnoseAlwaysNonNullPointer()
H A DSemaDeclAttr.cpp1104 DiagnoseIfAttr::DiagnosticType DiagType; in handleDiagnoseIfAttr() local
1105 if (!DiagnoseIfAttr::ConvertStrToDiagnosticType(DiagTypeStr, DiagType)) { in handleDiagnoseIfAttr()
1115 S.Context, AL, Cond, Msg, DiagType, ArgDependent, cast<NamedDecl>(D))); in handleDiagnoseIfAttr()
H A DSemaExpr.cpp8142 int DiagType = (NullKind == Expr::NPCK_CXX11_nullptr); in DiagnoseConditionalForNull() local
8144 << NonPointerExpr->getType() << DiagType in DiagnoseConditionalForNull()