Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp654 auto DiagType = D.getSeverity() == llvm::DS_Error in UnsupportedDiagHandler() local
657 Diags.Report(Loc, DiagType) << MsgStream.str(); in UnsupportedDiagHandler()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp8249 unsigned DiagType = 0; in CheckAbsoluteValueFunction() local
8251 DiagType = 1; in CheckAbsoluteValueFunction()
8253 DiagType = 2; in CheckAbsoluteValueFunction()
8255 Diag(Call->getExprLoc(), diag::warn_pointer_abs) << DiagType << ArgType; in CheckAbsoluteValueFunction()
11664 } DiagType; in DiagnoseAlwaysNonNullPointer() local
11666 DiagType = AddressOf; in DiagnoseAlwaysNonNullPointer()
11668 DiagType = FunctionPointer; in DiagnoseAlwaysNonNullPointer()
11670 DiagType = ArrayPointer; in DiagnoseAlwaysNonNullPointer()
11673 Diag(E->getExprLoc(), DiagID) << DiagType << S.str() << E->getSourceRange() in DiagnoseAlwaysNonNullPointer()
H A DSemaDeclAttr.cpp859 DiagnoseIfAttr::DiagnosticType DiagType; in handleDiagnoseIfAttr() local
860 if (!DiagnoseIfAttr::ConvertStrToDiagnosticType(DiagTypeStr, DiagType)) { in handleDiagnoseIfAttr()
870 S.Context, AL, Cond, Msg, DiagType, ArgDependent, cast<NamedDecl>(D))); in handleDiagnoseIfAttr()
H A DSemaOpenMP.cpp2807 StringRef DiagType = "");
5152 StringRef DiagType) { in getPrivateItem() argument
5197 } else if (!DiagType.empty()) { in getPrivateItem()
5202 << DiagSelect << DiagType << ERange; in getPrivateItem()
H A DSemaExpr.cpp7872 int DiagType = (NullKind == Expr::NPCK_CXX11_nullptr); in DiagnoseConditionalForNull() local
7874 << NonPointerExpr->getType() << DiagType in DiagnoseConditionalForNull()