Home
last modified time | relevance | path

Searched refs:diag_id (Results 1 – 6 of 6) sorted by relevance

/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc611 unsigned int diag_id = C.getDiagnostics().getCustomDiagID(DiagnosticsEngine::Error, fmt); in error() local
612 return C.getDiagnostics().Report(loc, diag_id); in error()
1073 unsigned int diag_id = C.getDiagnostics().getCustomDiagID(DiagnosticsEngine::Error, fmt); in error() local
1074 return C.getDiagnostics().Report(loc, diag_id); in error()
1079 unsigned int diag_id = C.getDiagnostics().getCustomDiagID(DiagnosticsEngine::Warning, fmt); in warning() local
1080 return C.getDiagnostics().Report(loc, diag_id); in warning()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangExpressionDeclMap.cpp1438 const unsigned diag_id = in FindExternalVisibleDecls() local
1441 m_ast_context->getDiagnostics().Report(diag_id) << error.AsCString(); in FindExternalVisibleDecls()
1447 const unsigned diag_id = in FindExternalVisibleDecls() local
1450 m_ast_context->getDiagnostics().Report(diag_id) << warning.c_str(); in FindExternalVisibleDecls()
/external/clang/lib/Sema/
DSemaDecl.cpp11742 unsigned diag_id; in ImplicitlyDefineFunction() local
11744 diag_id = diag::warn_builtin_unknown; in ImplicitlyDefineFunction()
11746 diag_id = diag::ext_implicit_function_decl; in ImplicitlyDefineFunction()
11748 diag_id = diag::warn_implicit_function_decl; in ImplicitlyDefineFunction()
11749 Diag(Loc, diag_id) << &II; in ImplicitlyDefineFunction()
11753 if (Diags.getDiagnosticLevel(diag_id, Loc) >= DiagnosticsEngine::Error) { in ImplicitlyDefineFunction()
DSemaExpr.cpp4714 unsigned diag_id = in ConvertArgumentsForCall() local
4718 diagnoseTypo(TC, PDiag(diag_id) << FnKind << MinArgs in ConvertArgumentsForCall()
4750 unsigned diag_id = in ConvertArgumentsForCall() local
4754 diagnoseTypo(TC, PDiag(diag_id) << FnKind << NumParams in ConvertArgumentsForCall()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp14708 unsigned diag_id; in ImplicitlyDefineFunction() local
14710 diag_id = diag::warn_builtin_unknown; in ImplicitlyDefineFunction()
14713 diag_id = diag::err_opencl_implicit_function_decl; in ImplicitlyDefineFunction()
14715 diag_id = diag::ext_implicit_function_decl; in ImplicitlyDefineFunction()
14717 diag_id = diag::warn_implicit_function_decl; in ImplicitlyDefineFunction()
14718 Diag(Loc, diag_id) << &II; in ImplicitlyDefineFunction()
14728 if (Diags.getDiagnosticLevel(diag_id, Loc) >= DiagnosticsEngine::Error) { in ImplicitlyDefineFunction()
DSemaExpr.cpp5773 unsigned diag_id = in ConvertArgumentsForCall() local
5777 diagnoseTypo(TC, PDiag(diag_id) << FnKind << MinArgs in ConvertArgumentsForCall()
5811 unsigned diag_id = in ConvertArgumentsForCall() local
5815 diagnoseTypo(TC, PDiag(diag_id) << FnKind << NumParams in ConvertArgumentsForCall()