/external/clang/lib/Basic/ |
D | DiagnosticIDs.cpp | 61 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, \ 116 using namespace diag; in GetDiagInfo() 163 diag::Severity::Fatal, /*IsUser=*/false, /*IsPragma=*/false); in GetDefaultDiagMapping() 166 Info.setSeverity((diag::Severity)StaticInfo->DefaultSeverity); in GetDefaultDiagMapping() 169 assert(Info.getSeverity() == diag::Severity::Warning && in GetDefaultDiagMapping() 202 DiagnosticsEngine::DiagState::getOrAddMapping(diag::kind Diag) { in getOrAddMapping() 257 namespace diag { namespace [all …]
|
D | Warnings.cpp | 36 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/ |
D | JumpDiagnostics.cpp | 137 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() 151 return ScopePair(diag::note_protected_by_objc_ownership, in GetDiagForGotoScopeDecl() 152 diag::note_exits_objc_ownership); in GetDiagForGotoScopeDecl() 155 OutDiag = diag::note_exits_dtor; in GetDiagForGotoScopeDecl() 179 InDiag = diag::note_protected_by_variable_init; in GetDiagForGotoScopeDecl() 189 InDiag = diag::note_protected_by_variable_nontriv_destructor; in GetDiagForGotoScopeDecl() [all …]
|
D | SemaObjCProperty.cpp | 100 diag::err_arc_inconsistent_property_ownership) in checkARCPropertyDecl() 339 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension() 340 Diag(prevDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() 371 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension() 418 diag::err_type_mismatch_continuation_class) << PDecl->getType(); in HandlePropertyInClassExtension() 419 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() 435 Diag(AtLoc, diag::warn_property_attr_mismatch); in HandlePropertyInClassExtension() 436 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() 448 Diag(AtLoc, diag::warn_property_implicitly_mismatched); in HandlePropertyInClassExtension() 449 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() [all …]
|
D | SemaDeclAttr.cpp | 192 diag::err_attribute_wrong_number_arguments, in checkAttributeNumArgs() 201 diag::err_attribute_too_few_arguments, in checkAttributeAtLeastNumArgs() 210 diag::err_attribute_too_many_arguments, in checkAttributeAtMostNumArgs() 223 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) in checkUInt32Argument() 227 S.Diag(Attr.getLoc(), diag::err_attribute_argument_type) in checkUInt32Argument() 234 S.Diag(Expr->getExprLoc(), diag::err_ice_too_large) in checkUInt32Argument() 249 S.Diag(Attr.getLoc(), diag::err_attributes_are_not_compatible) in checkAttrMutualExclusion() 278 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) in checkFunctionOrMethodParameterIndex() 286 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds) in checkFunctionOrMethodParameterIndex() 294 diag::err_attribute_invalid_implicit_this_argument) in checkFunctionOrMethodParameterIndex() [all …]
|
D | AnalysisBasedWarnings.cpp | 73 unsigned diag = diag::warn_unreachable; in HandleUnreachable() local 76 diag = diag::warn_unreachable_break; in HandleUnreachable() 79 diag = diag::warn_unreachable_return; in HandleUnreachable() 82 diag = diag::warn_unreachable_loop_increment; in HandleUnreachable() 88 S.Diag(L, diag) << R1 << R2; in HandleUnreachable() 95 S.Diag(Open, diag::note_unreachable_silence) in HandleUnreachable() 147 S.Diag(B->getExprLoc(), diag::warn_tautological_overlap_comparison) in compareAlwaysTrue() 157 S.Diag(B->getExprLoc(), diag::warn_comparison_bitwise_always) in compareBitwiseEquality() 261 S.Diag(Body->getLocStart(), diag::warn_infinite_recursive_function); in checkRecursiveFunction() 419 diag::warn_falloff_noreturn_function; in MakeForFunction() [all …]
|
D | SemaDecl.cpp | 216 S.Diag(NameLoc, diag::ext_found_via_dependent_bases_lookup) << &II; in recoverFromTypeInKnownDependentBase() 358 PDiag(diag::err_unknown_type_or_class_name_suggest) in getTypeName() 479 Diag(NameLoc, diag::ext_ms_delayed_template_argument) << &II; in ActOnDelayedDefaultTemplateArg() 574 diagnoseTypo(Corrected, PDiag(diag::err_unknown_typename_suggest) << II); in DiagnoseUnknownTypeName() 580 PDiag(diag::err_unknown_typename_suggest) << II); in DiagnoseUnknownTypeName() 586 PDiag(diag::err_unknown_nested_typename_suggest) in DiagnoseUnknownTypeName() 616 Diag(IILoc, diag::err_template_missing_args) << TplName; in DiagnoseUnknownTypeName() 618 Diag(TplDecl->getLocation(), diag::note_template_decl_here) in DiagnoseUnknownTypeName() 629 Diag(IILoc, diag::err_unknown_typename) << II; in DiagnoseUnknownTypeName() 631 Diag(IILoc, diag::err_typename_nested_not_found) in DiagnoseUnknownTypeName() [all …]
|
D | SemaDeclObjC.cpp | 107 Diag(loc, diag::err_arc_init_method_unrelated_result_type); in checkInitMethod() 139 diag::warn_related_result_type_compatibility_class) in CheckObjCMethodOverride() 145 diag::warn_related_result_type_compatibility_protocol) in CheckObjCMethodOverride() 152 diag::note_related_result_type_family) in CheckObjCMethodOverride() 157 diag::note_related_result_type_overridden); in CheckObjCMethodOverride() 163 diag::err_nsreturns_retained_attribute_mismatch) << 1; in CheckObjCMethodOverride() 164 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride() 170 diag::err_nsreturns_retained_attribute_mismatch) << 0; in CheckObjCMethodOverride() 171 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride() 184 diag::err_nsconsumed_attribute_mismatch); in CheckObjCMethodOverride() [all …]
|
D | SemaTemplate.cpp | 238 Diag(IILoc, diag::err_template_kw_missing) in DiagnoseUnknownTemplateName() 339 diagnoseTypo(Corrected, PDiag(diag::err_no_member_template_suggest) in LookupTemplateName() 343 diagnoseTypo(Corrected, PDiag(diag::err_no_template_suggest) << Name); in LookupTemplateName() 388 diag::ext_nested_name_member_ref_lookup_ambiguous) in LookupTemplateName() 392 diag::note_ambig_member_ref_object_type) in LookupTemplateName() 395 diag::note_ambig_member_ref_scope); in LookupTemplateName() 457 Diag(Loc, diag::err_template_param_shadow) in DiagnoseTemplateParameterShadow() 459 Diag(PrevDecl->getLocation(), diag::note_template_param_here); in DiagnoseTemplateParameterShadow() 584 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTypeParameter() 622 Diag(Loc, diag::err_variably_modified_nontype_template_param) in CheckNonTypeTemplateParameterType() [all …]
|
D | SemaExprObjC.cpp | 56 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() 182 S.Diag(Loc, diag::err_invalid_nsnumber_type) in getNSNumberFactoryMethod() 214 S.Diag(Loc, diag::err_undeclared_nsnumber); in getNSNumberFactoryMethod() 218 S.Diag(Loc, diag::err_undeclared_nsnumber); in getNSNumberFactoryMethod() 382 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) in CheckObjCCollectionLiteralElement() 398 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) in CheckObjCCollectionLiteralElement() [all …]
|
D | SemaAttr.cpp | 172 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 …]
|
D | SemaDeclCXX.cpp | 96 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() 253 diag::err_typecheck_decl_incomplete_type)) { in SetParamDefaultArgument() 309 Diag(EqualLoc, diag::err_param_default_argument) in ActOnParamDefaultArgument() 325 Diag(EqualLoc, diag::err_param_default_argument_on_parameter_pack) in ActOnParamDefaultArgument() 406 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments() 411 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments() 488 diag::err_param_default_argument_redefinition; in MergeCXXFunctionDecl() [all …]
|
D | SemaStmt.cpp | 95 Diag(decl->getLocation(), diag::err_non_variable_decl_in_for); in ActOnForEachDeclStmt() 167 S.Diag(Loc, diag::warn_unused_comparison) in DiagnoseUnusedComparison() 174 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign) in DiagnoseUnusedComparison() 177 S.Diag(Loc, diag::note_equality_comparison_to_assign) in DiagnoseUnusedComparison() 223 unsigned DiagID = diag::warn_unused_expr; in DiagnoseUnusedExprResult() 245 Diag(Loc, diag::warn_unused_result) << R1 << R2; in DiagnoseUnusedExprResult() 251 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "pure"; in DiagnoseUnusedExprResult() 255 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "const"; in DiagnoseUnusedExprResult() 264 Diag(Loc, diag::err_arc_unused_init_message) << R1; in DiagnoseUnusedExprResult() 270 Diag(Loc, diag::warn_unused_result) << R1 << R2; in DiagnoseUnusedExprResult() [all …]
|
D | DeclSpec.cpp | 386 DiagID = diag::err_invalid_decl_spec_combination; in BadSpecifier() 388 DiagID = IsExtension ? diag::ext_duplicate_declspec : in BadSpecifier() 389 diag::warn_duplicate_declspec; in BadSpecifier() 512 DiagID = diag::err_opencl_unknown_type_specifier; in SetStorageClassSpec() 519 DiagID = diag::err_opencl_unknown_type_specifier; in SetStorageClassSpec() 622 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType() 642 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType() 672 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType() 691 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType() 710 DiagID = diag::err_invalid_vector_decl_spec_combination; in SetTypeAltiVecVector() [all …]
|
D | SemaType.cpp | 92 S.Diag(loc, diag::warn_type_attribute_wrong_type) << name << WhichType in diagnoseBadTypeAttribute() 730 S.Diag(DS.getTypeSpecSignLoc(), diag::ext_invalid_sign_spec) in ConvertDeclSpecToType() 737 S.Diag(DS.getTypeSpecSignLoc(), diag::ext_invalid_sign_spec) in ConvertDeclSpecToType() 789 S.Diag(DeclLoc, diag::ext_missing_declspec) in ConvertDeclSpecToType() 799 S.Diag(DeclLoc, diag::err_missing_type_specifier) in ConvertDeclSpecToType() 807 S.Diag(DeclLoc, diag::ext_missing_type_specifier) in ConvertDeclSpecToType() 827 diag::warn_cxx98_compat_longlong : diag::ext_cxx11_longlong); in ConvertDeclSpecToType() 829 S.Diag(DS.getTypeSpecWidthLoc(), diag::ext_c99_longlong); in ConvertDeclSpecToType() 846 diag::warn_cxx98_compat_longlong : diag::ext_cxx11_longlong); in ConvertDeclSpecToType() 848 S.Diag(DS.getTypeSpecWidthLoc(), diag::ext_c99_longlong); in ConvertDeclSpecToType() [all …]
|
D | SemaCast.cpp | 355 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 …]
|
/external/clang/lib/Lex/ |
D | Pragma.cpp | 90 PP.Diag(Tok, diag::warn_pragma_ignored); in HandlePragma() 185 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma() 192 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma() 202 Diag(Tok, diag::err_invalid_string_udl); in Handle_Pragma() 216 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma() 309 Diag(PragmaLoc, diag::err__Pragma_malformed); in HandleMicrosoft__pragma() 327 Diag(PragmaLoc, diag::err_unterminated___pragma); in HandleMicrosoft__pragma() 353 Diag(OnceTok, diag::pp_pragma_once_in_main_file); in HandlePragmaOnce() 391 Diag(Tok, diag::err_pp_invalid_poison); in HandlePragmaPoison() 404 Diag(Tok, diag::pp_poisoning_existing_macro); in HandlePragmaPoison() [all …]
|
D | PPDirectives.cpp | 155 return Diag(MacroNameTok, diag::err_pp_missing_macro_name); in CheckMacroName() 162 return Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in CheckMacroName() 166 return Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in CheckMacroName() 171 ? diag::ext_pp_operator_used_as_macro_name in CheckMacroName() 172 : diag::err_pp_operator_used_as_macro_name) in CheckMacroName() 182 return Diag(MacroNameTok, diag::err_defined_macro_name); in CheckMacroName() 189 Diag(MacroNameTok, diag::ext_pp_undef_builtin_macro); in CheckMacroName() 213 Diag(MacroNameTok, diag::warn_pp_macro_is_reserved_id); in CheckMacroName() 280 Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << Hint; in CheckEndOfDirective() 331 diag::err_pp_unterminated_conditional); in SkipExcludedConditionalBlock() [all …]
|
D | LiteralSupport.cpp | 107 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_hex_escape_too_large); in ProcessCharEscape() 185 diag::err_octal_escape_too_large); 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/ |
D | check-with-serialized-diag.m | 38 …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/include/clang/Basic/ |
D | DiagnosticIDs.h | 27 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/clang/lib/Parse/ |
D | ParsePragma.cpp | 420 PP.Diag(Tok, diag::err_expected) << tok::l_brace; in HandlePragmaCaptured() 465 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename; in HandlePragmaOpenCLExtension() 522 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSection() 528 PP.Diag(PragmaLocation, diag::warn_pragma_expected_section_name) in HandlePragmaMSSection() 537 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSSection() 554 PP.Diag(PragmaLocation, diag::warn_pragma_expected_action_or_r_paren) in HandlePragmaMSSection() 572 ? diag::warn_pragma_invalid_specific_action in HandlePragmaMSSection() 573 : diag::warn_pragma_unsupported_action) in HandlePragmaMSSection() 586 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSection() 591 PP.Diag(PragmaLocation, diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaMSSection() [all …]
|
D | ParseDeclCXX.cpp | 80 Diag(Tok.getLocation(), diag::warn_cxx14_compat_attribute) in ParseNamespace() 98 Diag(attrLoc, diag::err_unexpected_nested_namespace_attribute); in ParseNamespace() 108 Diag(Tok, diag::err_expected) << tok::identifier; in ParseNamespace() 114 Diag(attrLoc, diag::err_unexpected_namespace_attributes_alias); in ParseNamespace() 116 Diag(InlineLoc, diag::err_inline_namespace_alias) in ParseNamespace() 125 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseNamespace() 127 Diag(Tok, diag::err_expected_either) << tok::identifier << tok::l_brace; in ParseNamespace() 134 Diag(T.getOpenLocation(), diag::err_namespace_nonnamespace_scope); in ParseNamespace() 142 Diag(InlineLoc, diag::err_inline_nested_namespace_definition); in ParseNamespace() 145 diag::warn_cxx14_compat_nested_namespace_definition); in ParseNamespace() [all …]
|
D | Parser.cpp | 125 if (DiagID == diag::err_expected) in ExpectAndConsume() 127 else if (DiagID == diag::err_expected_after) in ExpectAndConsume() 147 if (DiagID == diag::err_expected) in ExpectAndConsume() 149 else if (DiagID == diag::err_expected_after) in ExpectAndConsume() 168 Diag(Tok, diag::err_extraneous_token_before_semi) in ExpectAndConsumeSemi() 197 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi) in ConsumeExtraSemi() 200 Diag(StartLoc, diag::ext_extra_semi_cxx11) in ConsumeExtraSemi() 206 Diag(StartLoc, diag::ext_extra_semi) in ConsumeExtraSemi() 212 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def) in ConsumeExtraSemi() 476 PP.SetPoisonReason(Ident__exception_code,diag::err_seh___except_block); in Initialize() [all …]
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
D | HybridNonLinearSolver.h | 91 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 …]
|