Home
last modified time | relevance | path

Searched refs:diag (Results 1 – 25 of 264) sorted by relevance

1234567891011

/external/clang/lib/Basic/
DDiagnosticIDs.cpp61 diag::Flavor getFlavor() const { in getFlavor()
62 return Class == CLASS_REMARK ? diag::Flavor::Remark in getFlavor()
63 : diag::Flavor::WarningOrError; in getFlavor()
77 diag::ENUM, DEFAULT_SEVERITY, CLASS, DiagnosticIDs::SFINAE, NOWERROR, \
112 using namespace diag; in GetDiagInfo()
159 diag::Severity::Fatal, /*IsUser=*/false, /*IsPragma=*/false); in GetDefaultDiagMapping()
162 Info.setSeverity((diag::Severity)StaticInfo->DefaultSeverity); in GetDefaultDiagMapping()
165 assert(Info.getSeverity() == diag::Severity::Warning && in GetDefaultDiagMapping()
198 DiagnosticsEngine::DiagState::getOrAddMapping(diag::kind Diag) { in getOrAddMapping()
253 namespace diag { namespace
[all …]
DWarnings.cpp36 diag::Flavor Flavor, StringRef Prefix, in EmitUnknownDiagWarning()
39 Diags.Report(diag::warn_unknown_diag_option) in EmitUnknownDiagWarning()
40 << (Flavor == diag::Flavor::WarningOrError ? 0 : 1) << (Prefix.str() += Opt) in EmitUnknownDiagWarning()
67 Diags.setExtensionHandlingBehavior(diag::Severity::Error); in ProcessWarningOptions()
69 Diags.setExtensionHandlingBehavior(diag::Severity::Warning); in ProcessWarningOptions()
71 Diags.setExtensionHandlingBehavior(diag::Severity::Ignored); in ProcessWarningOptions()
73 SmallVector<diag::kind, 10> _Diags; in ProcessWarningOptions()
89 const auto Flavor = diag::Flavor::WarningOrError; in ProcessWarningOptions()
107 diag::Severity Mapping = in ProcessWarningOptions()
108 isPositive ? diag::Severity::Warning : diag::Severity::Ignored; in ProcessWarningOptions()
[all …]
/external/clang/lib/Sema/
DJumpDiagnostics.cpp137 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl()
140 return ScopePair(diag::note_protected_by___block, in GetDiagForGotoScopeDecl()
141 diag::note_exits___block); in GetDiagForGotoScopeDecl()
144 return ScopePair(diag::note_protected_by_cleanup, in GetDiagForGotoScopeDecl()
145 diag::note_exits_cleanup); in GetDiagForGotoScopeDecl()
150 return ScopePair(diag::note_protected_by_objc_strong_init, in GetDiagForGotoScopeDecl()
151 diag::note_exits_objc_strong); in GetDiagForGotoScopeDecl()
154 return ScopePair(diag::note_protected_by_objc_weak_init, in GetDiagForGotoScopeDecl()
155 diag::note_exits_objc_weak); in GetDiagForGotoScopeDecl()
158 OutDiag = diag::note_exits_dtor; in GetDiagForGotoScopeDecl()
[all …]
DSemaObjCProperty.cpp101 diag::err_arc_inconsistent_property_ownership) in checkPropertyDeclWithOwnership()
403 S.Diag(NewProperty->getLocation(), diag::warn_property_attribute) in checkAtomicPropertyMismatch()
406 S.Diag(OldProperty->getLocation(), diag::note_property_declare); in checkAtomicPropertyMismatch()
430 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension()
441 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension()
442 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
456 unsigned diag = in HandlePropertyInClassExtension() local
460 ? diag::err_use_continuation_class_redeclaration_readwrite in HandlePropertyInClassExtension()
461 : diag::err_use_continuation_class; in HandlePropertyInClassExtension()
462 Diag(AtLoc, diag) in HandlePropertyInClassExtension()
[all …]
DSemaDeclAttr.cpp193 diag::err_attribute_wrong_number_arguments, in checkAttributeNumArgs()
202 diag::err_attribute_too_few_arguments, in checkAttributeAtLeastNumArgs()
211 diag::err_attribute_too_many_arguments, in checkAttributeAtMostNumArgs()
224 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) in checkUInt32Argument()
228 S.Diag(Attr.getLoc(), diag::err_attribute_argument_type) in checkUInt32Argument()
235 S.Diag(Expr->getExprLoc(), diag::err_ice_too_large) in checkUInt32Argument()
250 S.Diag(Range.getBegin(), diag::err_attributes_are_not_compatible) << Ident in checkAttrMutualExclusion()
252 S.Diag(A->getLocation(), diag::note_conflicting_attribute); in checkAttrMutualExclusion()
280 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) in checkFunctionOrMethodParameterIndex()
288 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds) in checkFunctionOrMethodParameterIndex()
[all …]
DAnalysisBasedWarnings.cpp72 unsigned diag = diag::warn_unreachable; in HandleUnreachable() local
75 diag = diag::warn_unreachable_break; in HandleUnreachable()
78 diag = diag::warn_unreachable_return; in HandleUnreachable()
81 diag = diag::warn_unreachable_loop_increment; in HandleUnreachable()
87 S.Diag(L, diag) << R1 << R2; in HandleUnreachable()
94 S.Diag(Open, diag::note_unreachable_silence) in HandleUnreachable()
145 S.Diag(B->getExprLoc(), diag::warn_tautological_overlap_comparison) in compareAlwaysTrue()
155 S.Diag(B->getExprLoc(), diag::warn_comparison_bitwise_always) in compareBitwiseEquality()
273 S.Diag(Body->getLocStart(), diag::warn_infinite_recursive_function); in checkRecursiveFunction()
431 diag::warn_falloff_noreturn_function; in MakeForFunction()
[all …]
DSemaDecl.cpp215 S.Diag(NameLoc, diag::ext_found_via_dependent_bases_lookup) << &II; in recoverFromTypeInKnownDependentBase()
357 PDiag(diag::err_unknown_type_or_class_name_suggest) in getTypeName()
478 Diag(NameLoc, diag::ext_ms_delayed_template_argument) << &II; in ActOnDelayedDefaultTemplateArg()
573 diagnoseTypo(Corrected, PDiag(diag::err_unknown_typename_suggest) << II); in DiagnoseUnknownTypeName()
579 PDiag(diag::err_unknown_typename_suggest) << II); in DiagnoseUnknownTypeName()
585 PDiag(diag::err_unknown_nested_typename_suggest) in DiagnoseUnknownTypeName()
615 Diag(IILoc, diag::err_template_missing_args) << TplName; in DiagnoseUnknownTypeName()
617 Diag(TplDecl->getLocation(), diag::note_template_decl_here) in DiagnoseUnknownTypeName()
628 Diag(IILoc, diag::err_unknown_typename) << II; in DiagnoseUnknownTypeName()
630 Diag(IILoc, diag::err_typename_nested_not_found) in DiagnoseUnknownTypeName()
[all …]
DSemaDeclObjC.cpp108 Diag(loc, diag::err_arc_init_method_unrelated_result_type); in checkInitMethod()
140 diag::warn_related_result_type_compatibility_class) in CheckObjCMethodOverride()
146 diag::warn_related_result_type_compatibility_protocol) in CheckObjCMethodOverride()
153 diag::note_related_result_type_family) in CheckObjCMethodOverride()
158 diag::note_related_result_type_overridden); in CheckObjCMethodOverride()
164 diag::err_nsreturns_retained_attribute_mismatch) << 1; in CheckObjCMethodOverride()
165 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride()
171 diag::err_nsreturns_retained_attribute_mismatch) << 0; in CheckObjCMethodOverride()
172 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride()
185 diag::err_nsconsumed_attribute_mismatch); in CheckObjCMethodOverride()
[all …]
DSemaTemplate.cpp239 Diag(IILoc, diag::err_template_kw_missing) in DiagnoseUnknownTemplateName()
340 diagnoseTypo(Corrected, PDiag(diag::err_no_member_template_suggest) in LookupTemplateName()
344 diagnoseTypo(Corrected, PDiag(diag::err_no_template_suggest) << Name); in LookupTemplateName()
389 diag::ext_nested_name_member_ref_lookup_ambiguous) in LookupTemplateName()
393 diag::note_ambig_member_ref_object_type) in LookupTemplateName()
396 diag::note_ambig_member_ref_scope); in LookupTemplateName()
458 Diag(Loc, diag::err_template_param_shadow) in DiagnoseTemplateParameterShadow()
460 Diag(PrevDecl->getLocation(), diag::note_template_param_here); in DiagnoseTemplateParameterShadow()
585 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTypeParameter()
623 Diag(Loc, diag::err_variably_modified_nontype_template_param) in CheckNonTypeTemplateParameterType()
[all …]
DSemaDeclCXX.cpp96 diag::err_param_default_argument_references_param) in VisitDeclRefExpr()
104 diag::err_param_default_argument_references_local) in VisitDeclRefExpr()
117 diag::err_param_default_argument_references_this) in VisitCXXThisExpr()
146 diag::err_lambda_capture_default_arg); in VisitLambdaExpr()
251 diag::err_typecheck_decl_incomplete_type)) { in SetParamDefaultArgument()
307 Diag(EqualLoc, diag::err_param_default_argument) in ActOnParamDefaultArgument()
323 Diag(EqualLoc, diag::err_param_default_argument_on_parameter_pack) in ActOnParamDefaultArgument()
404 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments()
409 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments()
508 diag::err_param_default_argument_redefinition; in MergeCXXFunctionDecl()
[all …]
DSemaAttr.cpp172 Diag(PragmaLoc, diag::err_pragma_options_align_mac68k_target_unsupported); in ActOnPragmaOptionsAlign()
183 Diag(PragmaLoc, diag::warn_pragma_options_align_reset_failed) in ActOnPragmaOptionsAlign()
207 Diag(PragmaLoc, diag::warn_pragma_pack_invalid_alignment); in ActOnPragmaPack()
232 Diag(PragmaLoc, diag::warn_pragma_pack_show) << "mac68k"; in ActOnPragmaPack()
234 Diag(PragmaLoc, diag::warn_pragma_pack_show) << AlignmentVal; in ActOnPragmaPack()
248 Diag(PragmaLoc, diag::warn_pragma_pack_pop_identifer_and_alignment); in ActOnPragmaPack()
255 Diag(PragmaLoc, diag::warn_pragma_pop_failed) in ActOnPragmaPack()
320 Diag(PragmaLoc, diag::warn_pragma_pop_failed) << "vtordisp" in ActOnPragmaMSVtorDisp()
377 Diag(Decl->getLocation(), diag::err_section_conflict) in UnifySection()
379 Diag(OtherDecl->getLocation(), diag::note_declared_at) in UnifySection()
[all …]
DSemaStmtAsm.cpp50 S.Diag(E2->getLocStart(), diag::err_invalid_asm_cast_lvalue) in CheckAsmLValue()
53 S.Diag(E2->getLocStart(), diag::warn_invalid_asm_cast_lvalue) in CheckAsmLValue()
91 S.Diag(E->getLocStart(), diag::err_asm_naked_this_ref); in CheckNakedParmReference()
92 S.Diag(Func->getAttr<NakedAttr>()->getLocation(), diag::note_attribute); in CheckNakedParmReference()
97 S.Diag(DRE->getLocStart(), diag::err_asm_naked_parm_ref); in CheckNakedParmReference()
98 S.Diag(Func->getAttr<NakedAttr>()->getLocation(), diag::note_attribute); in CheckNakedParmReference()
132 S.Diag(E->getLocStart(), diag::err_asm_non_addr_value_in_memory_constraint) in checkExprMemoryConstraintCompat()
178 diag::err_asm_invalid_output_constraint) in ActOnGCCAsmStmt()
216 Diag(LVal->getLocStart(), diag::err_invalid_asm_cast_lvalue) in ActOnGCCAsmStmt()
219 Diag(LVal->getLocStart(), diag::warn_invalid_asm_cast_lvalue) in ActOnGCCAsmStmt()
[all …]
DSemaExprObjC.cpp56 Diag(S->getLocStart(), diag::err_cfstring_literal_not_string_constant) in ParseObjCStringLiteral()
113 Diag(S->getLocStart(), diag::err_no_nsconstant_string_class) << NSIdent in BuildObjCStringLiteral()
154 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName(); in validateBoxingMethod()
161 S.Diag(Loc, diag::err_objc_literal_method_sig) in validateBoxingMethod()
163 S.Diag(Method->getLocation(), diag::note_objc_literal_method_return) in validateBoxingMethod()
204 S.Diag(Loc, diag::err_undeclared_objc_literal_class) in ValidateObjCLiteralInterfaceDecl()
208 S.Diag(Loc, diag::err_undeclared_objc_literal_class) in ValidateObjCLiteralInterfaceDecl()
210 S.Diag(Decl->getLocation(), diag::note_forward_class); in ValidateObjCLiteralInterfaceDecl()
253 S.Diag(Loc, diag::err_invalid_nsnumber_type) in getNSNumberFactoryMethod()
437 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) in CheckObjCCollectionLiteralElement()
[all …]
DSemaCast.cpp355 msg = diag::err_ovl_no_conversion_in_cast; in tryDiagnoseOverloadedCast()
357 msg = diag::err_ovl_no_viable_conversion_in_cast; in tryDiagnoseOverloadedCast()
362 msg = diag::err_ovl_ambiguous_conversion_in_cast; in tryDiagnoseOverloadedCast()
367 msg = diag::err_ovl_deleted_conversion_in_cast; in tryDiagnoseOverloadedCast()
385 if (msg == diag::err_bad_cxx_cast_generic && in diagnoseBadCast()
411 S.Diag(DeclFrom->getLocation(), diag::note_type_incomplete) in diagnoseBadCast()
415 S.Diag(DeclTo->getLocation(), diag::note_type_incomplete) in diagnoseBadCast()
595 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ref_or_ptr) in CheckDynamicCast()
606 diag::err_bad_dynamic_cast_incomplete, in CheckDynamicCast()
612 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_class) in CheckDynamicCast()
[all …]
DDeclSpec.cpp383 DiagID = diag::err_invalid_decl_spec_combination; in BadSpecifier()
385 DiagID = IsExtension ? diag::ext_duplicate_declspec : in BadSpecifier()
386 diag::warn_duplicate_declspec; in BadSpecifier()
510 DiagID = diag::err_opencl_unknown_type_specifier; in SetStorageClassSpec()
517 DiagID = diag::err_opencl_unknown_type_specifier; in SetStorageClassSpec()
620 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType()
640 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType()
670 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType()
689 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType()
708 DiagID = diag::err_invalid_vector_decl_spec_combination; in SetTypeAltiVecVector()
[all …]
DSemaStmt.cpp96 Diag(decl->getLocation(), diag::err_non_variable_decl_in_for); in ActOnForEachDeclStmt()
168 S.Diag(Loc, diag::warn_unused_comparison) in DiagnoseUnusedComparison()
175 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign) in DiagnoseUnusedComparison()
178 S.Diag(Loc, diag::note_equality_comparison_to_assign) in DiagnoseUnusedComparison()
233 unsigned DiagID = diag::warn_unused_expr; in DiagnoseUnusedExprResult()
255 Diag(Loc, diag::warn_unused_result) << R1 << R2; in DiagnoseUnusedExprResult()
261 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "pure"; in DiagnoseUnusedExprResult()
265 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "const"; in DiagnoseUnusedExprResult()
274 Diag(Loc, diag::err_arc_unused_init_message) << R1; in DiagnoseUnusedExprResult()
280 Diag(Loc, diag::warn_unused_result) << R1 << R2; in DiagnoseUnusedExprResult()
[all …]
/external/clang/lib/Lex/
DPragma.cpp91 PP.Diag(Tok, diag::warn_pragma_ignored); in HandlePragma()
186 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
193 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
207 Diag(Tok, diag::err_invalid_string_udl); in Handle_Pragma()
221 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
314 Diag(PragmaLoc, diag::err__Pragma_malformed); in HandleMicrosoft__pragma()
332 Diag(PragmaLoc, diag::err_unterminated___pragma); in HandleMicrosoft__pragma()
358 Diag(OnceTok, diag::pp_pragma_once_in_main_file); in HandlePragmaOnce()
396 Diag(Tok, diag::err_pp_invalid_poison); in HandlePragmaPoison()
409 Diag(Tok, diag::pp_poisoning_existing_macro); in HandlePragmaPoison()
[all …]
DPPDirectives.cpp143 return Diag(MacroNameTok, diag::err_pp_missing_macro_name); in CheckMacroName()
150 return Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in CheckMacroName()
154 return Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in CheckMacroName()
159 ? diag::ext_pp_operator_used_as_macro_name in CheckMacroName()
160 : diag::err_pp_operator_used_as_macro_name) in CheckMacroName()
170 return Diag(MacroNameTok, diag::err_defined_macro_name); in CheckMacroName()
178 Diag(MacroNameTok, diag::ext_pp_undef_builtin_macro); in CheckMacroName()
203 Diag(MacroNameTok, diag::warn_pp_macro_is_reserved_id); in CheckMacroName()
270 Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << Hint; in CheckEndOfDirective()
321 diag::err_pp_unterminated_conditional); in SkipExcludedConditionalBlock()
[all …]
DLiteralSupport.cpp107 diag::ext_nonstandard_escape) << "e"; in ProcessCharEscape()
113 diag::ext_nonstandard_escape) << "E"; in ProcessCharEscape()
136 diag::err_hex_escape_no_digits) << "x"; in ProcessCharEscape()
162 diag::err_escape_too_large) << 0; in ProcessCharEscape()
185 diag::err_escape_too_large) << 1; in ProcessCharEscape()
196 diag::ext_nonstandard_escape) in ProcessCharEscape()
205 diag::ext_unknown_escape) in ProcessCharEscape()
209 diag::ext_unknown_escape) in ProcessCharEscape()
275 diag::err_hex_escape_no_digits) << StringRef(&ThisTokBuf[-1], 1); in ProcessUCNEscape()
290 diag::err_ucn_escape_incomplete); in ProcessUCNEscape()
[all …]
/external/clang/test/ARCMT/
Dcheck-with-serialized-diag.m38 …UN: not %clang_cc1 -arcmt-check -triple x86_64-apple-darwin10 %s -serialize-diagnostic-file %t.diag
39 // RUN: c-index-test -read-diagnostics %t.diag > %t 2>&1
42 // CHECK: {{.*}}check-with-serialized-diag.m:32:4: error: [rewriter] it is not safe to remove 'reta…
44 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:34:4: error: [rewriter] it is not safe to remove …
46 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:32:23: error: ARC forbids explicit message send o…
47 // CHECK-NEXT: Range: {{.*}}check-with-serialized-diag.m:32:4 {{.*}}check-with-serialized-diag.m:32…
49 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:34:15: error: ARC forbids explicit message send o…
50 // CHECK-NEXT: Range: {{.*}}check-with-serialized-diag.m:34:4 {{.*}}check-with-serialized-diag.m:34…
52 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:35:6: error: ARC forbids explicit message send of…
53 // CHECK-NEXT: Range: {{.*}}check-with-serialized-diag.m:35:4 {{.*}}check-with-serialized-diag.m:35…
/external/clang/lib/Parse/
DParsePragma.cpp430 PP.Diag(Tok, diag::err_expected) << tok::l_brace; in HandlePragmaCaptured()
475 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename; in HandlePragmaOpenCLExtension()
532 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSection()
538 PP.Diag(PragmaLocation, diag::warn_pragma_expected_section_name) in HandlePragmaMSSection()
547 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSSection()
564 PP.Diag(PragmaLocation, diag::warn_pragma_expected_action_or_r_paren) in HandlePragmaMSSection()
582 ? diag::warn_pragma_invalid_specific_action in HandlePragmaMSSection()
583 : diag::warn_pragma_unsupported_action) in HandlePragmaMSSection()
596 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSection()
601 PP.Diag(PragmaLocation, diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaMSSection()
[all …]
DParseDeclCXX.cpp81 Diag(Tok.getLocation(), diag::warn_cxx14_compat_attribute) in ParseNamespace()
99 Diag(attrLoc, diag::err_unexpected_nested_namespace_attribute); in ParseNamespace()
109 Diag(Tok, diag::err_expected) << tok::identifier; in ParseNamespace()
115 Diag(attrLoc, diag::err_unexpected_namespace_attributes_alias); in ParseNamespace()
117 Diag(InlineLoc, diag::err_inline_namespace_alias) in ParseNamespace()
126 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseNamespace()
128 Diag(Tok, diag::err_expected_either) << tok::identifier << tok::l_brace; in ParseNamespace()
135 Diag(T.getOpenLocation(), diag::err_namespace_nonnamespace_scope); in ParseNamespace()
143 Diag(InlineLoc, diag::err_inline_nested_namespace_definition); in ParseNamespace()
146 diag::warn_cxx14_compat_nested_namespace_definition); in ParseNamespace()
[all …]
DParser.cpp145 if (DiagID == diag::err_expected) in ExpectAndConsume()
147 else if (DiagID == diag::err_expected_after) in ExpectAndConsume()
167 if (DiagID == diag::err_expected) in ExpectAndConsume()
169 else if (DiagID == diag::err_expected_after) in ExpectAndConsume()
188 Diag(Tok, diag::err_extraneous_token_before_semi) in ExpectAndConsumeSemi()
217 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi) in ConsumeExtraSemi()
220 Diag(StartLoc, diag::ext_extra_semi_cxx11) in ConsumeExtraSemi()
226 Diag(StartLoc, diag::ext_extra_semi) in ConsumeExtraSemi()
232 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def) in ConsumeExtraSemi()
514 PP.SetPoisonReason(Ident__exception_code,diag::err_seh___except_block); in Initialize()
[all …]
/external/clang/include/clang/Basic/
DDiagnosticIDs.h27 namespace diag {
89 static DiagnosticMapping Make(diag::Severity Severity, bool IsUser, in Make()
100 diag::Severity getSeverity() const { return (diag::Severity)Severity; } in getSeverity()
101 void setSeverity(diag::Severity Value) { Severity = (unsigned)Value; } in setSeverity()
125 diag::CustomDiagInfo *CustomDiagInfo;
240 bool getDiagnosticsInGroup(diag::Flavor Flavor, StringRef Group,
241 SmallVectorImpl<diag::kind> &Diags) const;
244 void getAllDiagnostics(diag::Flavor Flavor,
245 SmallVectorImpl<diag::kind> &Diags) const;
249 static StringRef getNearestOption(diag::Flavor Flavor, StringRef Group);
[all …]
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
DHybridNonLinearSolver.h91 FVectorType fvec, qtf, diag; variable
136 diag.setConstant(n, 1.); in hybrj1()
152 diag.resize(n); in solveInit()
153 …eigen_assert( (!useExternalScaling || diag.size()==n) || "When useExternalScaling is set, the call… in solveInit()
164 if (diag[j] <= 0.) in solveInit()
209 diag[j] = (wa2[j]==0.) ? 1. : wa2[j]; in solveOneStep()
213 xnorm = diag.cwiseProduct(x).stableNorm(); in solveOneStep()
233 diag = diag.cwiseMax(wa2); in solveOneStep()
237 internal::dogleg<Scalar>(R, diag, qtf, delta, wa1); in solveOneStep()
242 pnorm = diag.cwiseProduct(wa1).stableNorm(); in solveOneStep()
[all …]

1234567891011