Home
last modified time | relevance | path

Searched refs:diagID (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/clang/tools/diagtool/
DListWarnings.cpp54 const unsigned diagID = DR.DiagID; in run() local
56 if (DiagnosticIDs::isBuiltinNote(diagID)) in run()
59 if (!DiagnosticIDs::isBuiltinWarningOrExtension(diagID)) in run()
62 Entry entry(DR.getName(), DiagnosticIDs::getWarningOptionForDiag(diagID)); in run()
68 flagHistogram[entry.Flag].push_back(diagID); in run()
/external/clang/tools/diagtool/
DListWarnings.cpp61 unsigned diagID = di->DiagID; in run() local
63 if (DiagnosticIDs::isBuiltinNote(diagID)) in run()
66 if (!DiagnosticIDs::isBuiltinWarningOrExtension(diagID)) in run()
70 DiagnosticIDs::getWarningOptionForDiag(diagID)); in run()
76 flagHistogram[entry.Flag].push_back(diagID); in run()
/external/llvm-project/flang/tools/flang-driver/
Dfc1_main.cpp43 llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> diagID( in fc1_main() local
47 clang::DiagnosticsEngine diags(diagID, &*diagOpts, diagsBuffer); in fc1_main()
Ddriver.cpp98 llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> diagID( in main() local
106 clang::DiagnosticsEngine diags(diagID, &*diagOpts, diagClient); in main()
/external/llvm-project/flang/lib/Frontend/
DCompilerInstance.cpp155 clang::IntrusiveRefCntPtr<clang::DiagnosticIDs> diagID( in CreateDiagnostics() local
158 new clang::DiagnosticsEngine(diagID, opts)); in CreateDiagnostics()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1089 unsigned diagID = Diags.getCustomDiagID(DiagnosticsEngine::Warning, in rewriteToNumericBoxedExpression() local
1091 Diags.Report(Msg->getExprLoc(), diagID) << OrigTy << FinalTy in rewriteToNumericBoxedExpression()
/external/llvm-project/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1101 unsigned diagID = Diags.getCustomDiagID(DiagnosticsEngine::Warning, in rewriteToNumericBoxedExpression() local
1103 Diags.Report(Msg->getExprLoc(), diagID) << OrigTy << FinalTy in rewriteToNumericBoxedExpression()
/external/llvm-project/clang/lib/Parse/
DParseObjc.cpp1689 unsigned diagID; in parseObjCTypeArgsOrProtocolQualifiers() local
1690 DS.SetTypeSpecType(TST_typename, identifierLocs[i], prevSpec, diagID, in parseObjCTypeArgsOrProtocolQualifiers()
/external/clang/lib/Parse/
DParseObjc.cpp1713 unsigned diagID; in parseObjCTypeArgsOrProtocolQualifiers() local
1714 DS.SetTypeSpecType(TST_typename, identifierLocs[i], prevSpec, diagID, in parseObjCTypeArgsOrProtocolQualifiers()
/external/clang/lib/Sema/
DSemaType.cpp4020 unsigned diagID = diag::err_func_returning_array_function; in GetFullTypeForDeclarator() local
4025 diagID = diag::err_block_returning_array_function; in GetFullTypeForDeclarator()
4026 S.Diag(DeclType.Loc, diagID) << T->isFunctionType() << T; in GetFullTypeForDeclarator()
DSemaExpr.cpp14630 unsigned diagID = diag::err_func_returning_array_function; in VisitCallExpr() local
14632 diagID = diag::err_block_returning_array_function; in VisitCallExpr()
14634 S.Diag(E->getExprLoc(), diagID) in VisitCallExpr()
14912 unsigned diagID = diag::err_uncasted_use_of_unknown_any; in diagnoseUnknownAnyExpr() local
14917 diagID = diag::err_uncasted_call_of_unknown_any; in diagnoseUnknownAnyExpr()
14932 diagID = diag::err_uncasted_call_of_unknown_any; in diagnoseUnknownAnyExpr()
14947 S.Diag(loc, diagID) << d << orig->getSourceRange(); in diagnoseUnknownAnyExpr()
DSemaDeclObjC.cpp1479 unsigned diagID; // unused in actOnObjCTypeArgsOrProtocolQualifiers() local
1487 DS.SetTypeSpecType(DeclSpec::TST_typename, loc, prevSpec, diagID, in actOnObjCTypeArgsOrProtocolQualifiers()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp564 unsigned diagID = getDiags().getCustomDiagID(DiagnosticsEngine::Error, "%0"); in Error() local
565 getDiags().Report(Context.getFullLoc(loc), diagID) << message; in Error()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp18911 unsigned diagID = diag::err_func_returning_array_function; in VisitCallExpr() local
18913 diagID = diag::err_block_returning_array_function; in VisitCallExpr()
18915 S.Diag(E->getExprLoc(), diagID) in VisitCallExpr()
19191 unsigned diagID = diag::err_uncasted_use_of_unknown_any; in diagnoseUnknownAnyExpr() local
19196 diagID = diag::err_uncasted_call_of_unknown_any; in diagnoseUnknownAnyExpr()
19211 diagID = diag::err_uncasted_call_of_unknown_any; in diagnoseUnknownAnyExpr()
19226 S.Diag(loc, diagID) << d << orig->getSourceRange(); in diagnoseUnknownAnyExpr()
DSemaDeclObjC.cpp1574 unsigned diagID; // unused in actOnObjCTypeArgsOrProtocolQualifiers() local
1582 DS.SetTypeSpecType(DeclSpec::TST_typename, loc, prevSpec, diagID, in actOnObjCTypeArgsOrProtocolQualifiers()
DSemaType.cpp4981 unsigned diagID = diag::err_func_returning_array_function; in GetFullTypeForDeclarator() local
4986 diagID = diag::err_block_returning_array_function; in GetFullTypeForDeclarator()
4987 S.Diag(DeclType.Loc, diagID) << T->isFunctionType() << T; in GetFullTypeForDeclarator()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp867 unsigned diagID = getDiags().getCustomDiagID(DiagnosticsEngine::Error, "%0"); in Error() local
868 getDiags().Report(Context.getFullLoc(loc), diagID) << message; in Error()