/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 128 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl() 131 return ScopePair(diag::note_protected_by___block, in GetDiagForGotoScopeDecl() 132 diag::note_exits___block); in GetDiagForGotoScopeDecl() 135 return ScopePair(diag::note_protected_by_cleanup, in GetDiagForGotoScopeDecl() 136 diag::note_exits_cleanup); in GetDiagForGotoScopeDecl() 147 return ScopePair(diag::note_protected_by_objc_ownership, in GetDiagForGotoScopeDecl() 148 diag::note_exits_objc_ownership); in GetDiagForGotoScopeDecl() 173 unsigned inDiagToUse = diag::note_protected_by_variable_init; in GetDiagForGotoScopeDecl() 183 inDiagToUse = diag::note_protected_by_variable_nontriv_destructor; in GetDiagForGotoScopeDecl() 185 inDiagToUse = diag::note_protected_by_variable_non_pod; in GetDiagForGotoScopeDecl() [all …]
|
D | SemaDeclAttr.cpp | 202 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << Num; in checkAttributeNumArgs() 215 S.Diag(Attr.getLoc(), diag::err_attribute_too_few_arguments) << Num; in checkAttributeAtLeastNumArgs() 251 S.Diag(Attr.getLoc(), diag::warn_pointer_attribute_wrong_type) in checkIsPointer() 254 S.Diag(Attr.getLoc(), diag::err_attribute_can_be_applied_only_to_value_decl) in checkIsPointer() 281 S.Diag(Attr.getLoc(), diag::warn_attribute_argument_not_class) in checkForLockableRecord() 290 S.Diag(Attr.getLoc(), diag::warn_attribute_argument_not_lockable) in checkForLockableRecord() 330 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_range) in checkAttrArgsAreLockableObjs() 362 S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) in handleGuardedVarAttr() 387 S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) in handleGuardedByAttr() 416 S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) in handleLockableAttr() [all …]
|
D | SemaDeclObjC.cpp | 106 Diag(loc, diag::err_arc_init_method_unrelated_result_type); in checkInitMethod() 142 diag::warn_related_result_type_compatibility_class) in CheckObjCMethodOverride() 148 diag::warn_related_result_type_compatibility_protocol) in CheckObjCMethodOverride() 155 diag::note_related_result_type_overridden_family) in CheckObjCMethodOverride() 159 diag::note_related_result_type_overridden); in CheckObjCMethodOverride() 165 diag::err_nsreturns_retained_attribute_mismatch) << 1; in CheckObjCMethodOverride() 166 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride() 172 diag::err_nsreturns_retained_attribute_mismatch) << 0; in CheckObjCMethodOverride() 173 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride() 185 diag::err_nsconsumed_attribute_mismatch); in CheckObjCMethodOverride() [all …]
|
D | SemaObjCProperty.cpp | 97 diag::err_arc_inconsistent_property_ownership) in checkARCPropertyDecl() 230 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension() 231 Diag(prevDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() 257 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension() 300 diag::err_type_mismatch_continuation_class) << PDecl->getType(); in HandlePropertyInClassExtension() 301 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() 316 Diag(AtLoc, diag::warn_property_attr_mismatch); in HandlePropertyInClassExtension() 317 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() 356 unsigned diag = in HandlePropertyInClassExtension() local 359 ? diag::err_use_continuation_class_redeclaration_readwrite in HandlePropertyInClassExtension() [all …]
|
D | SemaDecl.cpp | 205 Diag(NameLoc, diag::err_unknown_typename_suggest) in getTypeName() 210 Diag(FirstDecl->getLocation(), diag::note_previous_decl) in getTypeName() 382 Diag(IILoc, diag::err_unknown_typename_suggest) in DiagnoseUnknownTypeName() 388 Diag(IILoc, diag::err_unknown_typename_suggest) in DiagnoseUnknownTypeName() 392 Diag(IILoc, diag::err_unknown_nested_typename_suggest) in DiagnoseUnknownTypeName() 398 Diag(Result->getLocation(), diag::note_previous_decl) in DiagnoseUnknownTypeName() 420 Diag(IILoc, diag::err_template_missing_args) << TplName; in DiagnoseUnknownTypeName() 422 Diag(TplDecl->getLocation(), diag::note_template_decl_here) in DiagnoseUnknownTypeName() 433 Diag(IILoc, diag::err_unknown_typename) << &II; in DiagnoseUnknownTypeName() 435 Diag(IILoc, diag::err_typename_nested_not_found) in DiagnoseUnknownTypeName() [all …]
|
D | AnalysisBasedWarnings.cpp | 60 S.Diag(L, diag::warn_unreachable) << R1 << R2; in HandleUnreachable() 228 diag::warn_falloff_noreturn_function; in MakeForFunction() 230 diag::warn_maybe_falloff_nonvoid_function; in MakeForFunction() 232 diag::warn_falloff_noreturn_function; in MakeForFunction() 234 diag::warn_falloff_nonvoid_function; in MakeForFunction() 249 diag::warn_suggest_noreturn_function; in MakeForFunction() 260 diag::err_noreturn_block_has_return_expr; in MakeForBlock() 262 diag::err_maybe_falloff_nonvoid_block; in MakeForBlock() 264 diag::err_noreturn_block_has_return_expr; in MakeForBlock() 266 diag::err_falloff_nonvoid_block; in MakeForBlock() [all …]
|
D | SemaTemplate.cpp | 235 Diag(IILoc, diag::err_template_kw_missing) in DiagnoseUnknownTemplateName() 334 Diag(Found.getNameLoc(), diag::err_no_member_template_suggest) in LookupTemplateName() 338 Diag(Found.getNameLoc(), diag::err_no_template_suggest) in LookupTemplateName() 342 Diag(Template->getLocation(), diag::note_previous_decl) in LookupTemplateName() 385 diag::ext_nested_name_member_ref_lookup_ambiguous) in LookupTemplateName() 389 diag::note_ambig_member_ref_object_type) in LookupTemplateName() 392 diag::note_ambig_member_ref_scope); in LookupTemplateName() 461 Diag(Loc, diag::err_template_param_shadow) in DiagnoseTemplateParameterShadow() 463 Diag(PrevDecl->getLocation(), diag::note_template_param_here); in DiagnoseTemplateParameterShadow() 586 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTypeParameter() [all …]
|
D | SemaAttr.cpp | 150 Diag(PragmaLoc, diag::warn_pragma_options_align_reset_failed) in ActOnPragmaOptionsAlign() 177 Diag(PragmaLoc, diag::err_pragma_options_align_mac68k_target_unsupported); in ActOnPragmaOptionsAlign() 185 Diag(PragmaLoc, diag::warn_pragma_options_align_unsupported_option) in ActOnPragmaOptionsAlign() 208 Diag(PragmaLoc, diag::warn_pragma_pack_invalid_alignment); in ActOnPragmaPack() 233 Diag(PragmaLoc, diag::warn_pragma_pack_show) << "mac68k"; in ActOnPragmaPack() 235 Diag(PragmaLoc, diag::warn_pragma_pack_show) << AlignmentVal; in ActOnPragmaPack() 249 Diag(PragmaLoc, diag::warn_pragma_pack_pop_identifer_and_alignment); in ActOnPragmaPack() 256 Diag(PragmaLoc, diag::warn_pragma_pack_pop_failed) in ActOnPragmaPack() 281 Diag(PragmaLoc, diag::warn_pragma_unused_undeclared_var) in ActOnPragmaUnused() 288 Diag(PragmaLoc, diag::warn_pragma_unused_expected_var_arg) in ActOnPragmaUnused() [all …]
|
D | SemaStmt.cpp | 128 S.Diag(Loc, diag::warn_unused_comparison) in DiagnoseUnusedComparison() 135 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign) in DiagnoseUnusedComparison() 138 S.Diag(Loc, diag::note_equality_comparison_to_assign) in DiagnoseUnusedComparison() 162 unsigned DiagID = diag::warn_unused_expr; in DiagnoseUnusedExprResult() 180 Diag(Loc, diag::warn_unused_result) << R1 << R2; in DiagnoseUnusedExprResult() 184 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "pure"; in DiagnoseUnusedExprResult() 188 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "const"; in DiagnoseUnusedExprResult() 194 Diag(Loc, diag::err_arc_unused_init_message) << R1; in DiagnoseUnusedExprResult() 199 Diag(Loc, diag::warn_unused_result) << R1 << R2; in DiagnoseUnusedExprResult() 205 DiagID = diag::warn_unused_container_subscript_expr; in DiagnoseUnusedExprResult() [all …]
|
D | TargetAttributesSema.cpp | 33 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 1; in HandleMSP430InterruptAttr() 42 S.Diag(Attr.getLoc(), diag::err_attribute_argument_not_int) in HandleMSP430InterruptAttr() 49 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds) in HandleMSP430InterruptAttr() 78 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 1; in HandleMBlazeInterruptHandlerAttr() 93 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 1; in HandleMBlazeSaveVolatilesAttr() 128 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 0; in HandleX86ForceAlignArgPointerAttr() 145 S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) in HandleX86ForceAlignArgPointerAttr() 157 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 0; in HandleDLLImportAttr() 173 S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) in HandleDLLImportAttr() 181 S.Diag(Attr.getLoc(), diag::warn_attribute_ignored) << "dllimport"; in HandleDLLImportAttr() [all …]
|
D | SemaType.cpp | 63 diagID = diag::warn_pointer_attribute_wrong_type; in diagnoseBadTypeAttribute() 68 diagID = diag::warn_objc_object_attribute_wrong_type; in diagnoseBadTypeAttribute() 74 diagID = diag::warn_function_attribute_wrong_type; in diagnoseBadTypeAttribute() 612 S.Diag(DS.getTypeSpecSignLoc(), diag::ext_invalid_sign_spec) in ConvertDeclSpecToType() 618 S.Diag(DS.getTypeSpecSignLoc(), diag::ext_invalid_sign_spec) in ConvertDeclSpecToType() 664 S.Diag(DeclLoc, diag::ext_missing_declspec) in ConvertDeclSpecToType() 676 S.Diag(DeclLoc, diag::err_missing_type_specifier) in ConvertDeclSpecToType() 684 S.Diag(DeclLoc, diag::ext_missing_type_specifier) in ConvertDeclSpecToType() 703 diag::warn_cxx98_compat_longlong : diag::ext_longlong); in ConvertDeclSpecToType() 718 diag::warn_cxx98_compat_longlong : diag::ext_longlong); in ConvertDeclSpecToType() [all …]
|
D | SemaDeclCXX.cpp | 91 diag::err_param_default_argument_references_param) in VisitDeclRefExpr() 99 diag::err_param_default_argument_references_local) in VisitDeclRefExpr() 112 diag::err_param_default_argument_references_this) in VisitCXXThisExpr() 124 diag::err_lambda_capture_default_arg); in VisitLambdaExpr() 232 diag::err_typecheck_decl_incomplete_type)) { in SetParamDefaultArgument() 289 Diag(EqualLoc, diag::err_param_default_argument) in ActOnParamDefaultArgument() 362 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments() 367 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments() 418 diag::err_param_default_argument_redefinition; in MergeCXXFunctionDecl() 433 DiagDefaultParamID = diag::warn_param_default_argument_redefinition; in MergeCXXFunctionDecl() [all …]
|
D | SemaExprObjC.cpp | 56 Diag(S->getLocStart(), diag::err_cfstring_literal_not_string_constant) in ParseObjCStringLiteral() 109 Diag(S->getLocStart(), diag::err_no_nsconstant_string_class) << NSIdent in BuildObjCStringLiteral() 154 S.Diag(Loc, diag::err_invalid_nsnumber_type) in getNSNumberFactoryMethod() 185 S.Diag(Loc, diag::err_undeclared_nsnumber); in getNSNumberFactoryMethod() 189 S.Diag(Loc, diag::err_undeclared_nsnumber); in getNSNumberFactoryMethod() 217 S.Diag(Loc, diag::err_undeclared_nsnumber_method) << Sel; in getNSNumberFactoryMethod() 223 S.Diag(Loc, diag::err_objc_literal_method_sig) in getNSNumberFactoryMethod() 225 S.Diag(Method->getLocation(), diag::note_objc_literal_method_return) in getNSNumberFactoryMethod() 353 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) in CheckObjCCollectionLiteralElement() 369 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) in CheckObjCCollectionLiteralElement() [all …]
|
/external/clang/lib/Lex/ |
D | Pragma.cpp | 91 PP.Diag(Tok, diag::warn_pragma_ignored); in HandlePragma() 179 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma() 186 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma() 196 Diag(Tok, diag::err_invalid_string_udl); in Handle_Pragma() 210 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma() 277 Diag(PragmaLoc, diag::err__Pragma_malformed); in HandleMicrosoft__pragma() 295 Diag(PragmaLoc, diag::err_unterminated___pragma); in HandleMicrosoft__pragma() 321 Diag(OnceTok, diag::pp_pragma_once_in_main_file); in HandlePragmaOnce() 359 Diag(Tok, diag::err_pp_invalid_poison); in HandlePragmaPoison() 372 Diag(Tok, diag::pp_poisoning_existing_macro); in HandlePragmaPoison() [all …]
|
D | PPDirectives.cpp | 113 Diag(MacroNameTok, diag::err_pp_missing_macro_name); in ReadMacroName() 135 Diag(MacroNameTok, diag::err_pp_operator_used_as_macro_name) << Spelling; in ReadMacroName() 137 Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in ReadMacroName() 141 Diag(MacroNameTok, diag::err_defined_macro_name); in ReadMacroName() 146 Diag(MacroNameTok, diag::pp_redef_builtin_macro); in ReadMacroName() 148 Diag(MacroNameTok, diag::pp_undef_builtin_macro); in ReadMacroName() 187 Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << Hint; in CheckEndOfDirective() 238 diag::err_pp_unterminated_conditional); in SkipExcludedConditionalBlock() 340 if (CondInfo.FoundElse) Diag(Tok, diag::pp_err_else_after_else); in SkipExcludedConditionalBlock() 378 if (CondInfo.FoundElse) Diag(Tok, diag::pp_err_elif_after_else); in SkipExcludedConditionalBlock() [all …]
|
D | LiteralSupport.cpp | 78 Diags->Report(Loc, diag::ext_nonstandard_escape) << "e"; in ProcessCharEscape() 83 Diags->Report(Loc, diag::ext_nonstandard_escape) << "E"; in ProcessCharEscape() 105 Diags->Report(Loc, diag::err_hex_escape_no_digits); in ProcessCharEscape() 129 Diags->Report(Loc, diag::warn_hex_escape_too_large); in ProcessCharEscape() 151 Diags->Report(Loc, diag::warn_octal_escape_too_large); in ProcessCharEscape() 161 Diags->Report(Loc, diag::ext_nonstandard_escape) in ProcessCharEscape() 169 Diags->Report(Loc, diag::ext_unknown_escape) in ProcessCharEscape() 172 Diags->Report(Loc, diag::ext_unknown_escape) in ProcessCharEscape() 189 Diags->Report(Loc, diag::warn_ucn_not_valid_in_c89); in ProcessUCNEscape() 198 Diags->Report(Loc, diag::err_ucn_escape_no_digits); 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:4: error: ARC forbids explicit message send of… 47 // CHECK-NEXT: Range: {{.*}}check-with-serialized-diag.m:32:23 {{.*}}check-with-serialized-diag.m:3… 49 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:34:4: error: ARC forbids explicit message send of… 50 // CHECK-NEXT: Range: {{.*}}check-with-serialized-diag.m:34:15 {{.*}}check-with-serialized-diag.m:3… 52 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:35:4: error: ARC forbids explicit message send of… 53 // CHECK-NEXT: Range: {{.*}}check-with-serialized-diag.m:35:6 {{.*}}check-with-serialized-diag.m:35…
|
/external/clang/lib/Basic/ |
D | DiagnosticIDs.cpp | 72 { diag::ENUM, DEFAULT_MAPPING, CLASS, SFINAE, ACCESS, \ 125 diag::MAP_FATAL, /*IsUser=*/false, /*IsPragma=*/false); in GetDefaultDiagMappingInfo() 128 Info.setMapping((diag::Mapping) StaticInfo->Mapping); in GetDefaultDiagMappingInfo() 131 assert(Info.getMapping() == diag::MAP_WARNING && in GetDefaultDiagMappingInfo() 137 assert(Info.getMapping() == diag::MAP_WARNING && in GetDefaultDiagMappingInfo() 170 diag::kind Diag) in getOrAddMappingInfo() 238 namespace diag { namespace 297 CustomDiagInfo = new diag::CustomDiagInfo(); in getCustomDiagID() 307 return DiagID < diag::DIAG_UPPER_LIMIT && in isBuiltinWarningOrExtension() 314 return DiagID < diag::DIAG_UPPER_LIMIT && in isBuiltinNote() [all …]
|
D | Diagnostic.cpp | 164 void DiagnosticsEngine::setDiagnosticMapping(diag::kind Diag, diag::Mapping Map, in setDiagnosticMapping() 166 assert(Diag < diag::DIAG_UPPER_LIMIT && in setDiagnosticMapping() 169 (Map == diag::MAP_FATAL || Map == diag::MAP_ERROR)) && in setDiagnosticMapping() 176 if (Map == diag::MAP_WARNING) { in setDiagnosticMapping() 178 if (Info.getMapping() == diag::MAP_ERROR || in setDiagnosticMapping() 179 Info.getMapping() == diag::MAP_FATAL) in setDiagnosticMapping() 232 StringRef Group, diag::Mapping Map, SourceLocation Loc) in setDiagnosticGroupMapping() 235 llvm::SmallVector<diag::kind, 8> GroupDiags; in setDiagnosticGroupMapping() 246 void DiagnosticsEngine::setDiagnosticWarningAsError(diag::kind Diag, in setDiagnosticWarningAsError() 251 setDiagnosticMapping(Diag, diag::MAP_ERROR, SourceLocation()); in setDiagnosticWarningAsError() [all …]
|
/external/clang/lib/Parse/ |
D | ParsePragma.cpp | 76 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) in HandlePragma() 83 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma() 89 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_rparen) in HandlePragma() 94 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier) in HandlePragma() 100 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol) in HandlePragma() 127 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) << "pack"; in HandlePragma() 159 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_invalid_action); in HandlePragma() 181 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed); in HandlePragma() 192 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed); in HandlePragma() 205 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_rparen) << "pack"; in HandlePragma() [all …]
|
D | ParseDeclCXX.cpp | 91 Diag(attrTok, diag::err_unexpected_namespace_attributes_alias); in ParseNamespace() 93 Diag(InlineLoc, diag::err_inline_namespace_alias) in ParseNamespace() 102 Diag(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon) in ParseNamespace() 105 Diag(Tok, Ident ? diag::err_expected_lbrace : in ParseNamespace() 106 diag::err_expected_ident_lbrace); in ParseNamespace() 114 Diag(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon) in ParseNamespace() 117 Diag(T.getOpenLocation(), diag::err_namespace_nonnamespace_scope); in ParseNamespace() 129 Diag(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon) in ParseNamespace() 143 Diag(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon) in ParseNamespace() 154 diag::warn_cxx98_compat_inline_namespace : diag::ext_inline_namespace); in ParseNamespace() [all …]
|
D | Parser.cpp | 194 Diag(Tok, diag::err_extraneous_token_before_semi) in ExpectAndConsumeSemi() 417 Diag(Tok, diag::ext_empty_source_file); in Initialize() 463 PP.SetPoisonReason(Ident__exception_code,diag::err_seh___except_block); in Initialize() 464 PP.SetPoisonReason(Ident___exception_code,diag::err_seh___except_block); in Initialize() 465 PP.SetPoisonReason(Ident_GetExceptionCode,diag::err_seh___except_block); in Initialize() 466 PP.SetPoisonReason(Ident__exception_info,diag::err_seh___except_filter); in Initialize() 467 PP.SetPoisonReason(Ident___exception_info,diag::err_seh___except_filter); in Initialize() 468 PP.SetPoisonReason(Ident_GetExceptionInfo,diag::err_seh___except_filter); in Initialize() 469 PP.SetPoisonReason(Ident__abnormal_termination,diag::err_seh___finally_block); in Initialize() 470 PP.SetPoisonReason(Ident___abnormal_termination,diag::err_seh___finally_block); in Initialize() [all …]
|
D | ParseObjc.cpp | 74 Diag(AtLoc, diag::err_unexpected_at); in ParseObjCAtDirectives() 95 Diag(Tok, diag::err_expected_ident); in ParseObjCAtClassDeclaration() 110 if (ExpectAndConsume(tok::semi, diag::err_expected_semi_after, "@class")) in ParseObjCAtClassDeclaration() 130 Diag(AtLoc, diag::err_objc_missing_end) in CheckNestedObjCContexts() 133 Diag(Decl->getLocStart(), diag::note_objc_container_start) in CheckNestedObjCContexts() 181 Diag(Tok, diag::err_expected_ident); // missing class or category name. in ParseObjCAtInterfaceDeclaration() 208 Diag(Tok, diag::err_expected_ident); // missing category name. in ParseObjCAtInterfaceDeclaration() 217 Diag(nameLoc, diag::err_objc_no_attributes_on_category); in ParseObjCAtInterfaceDeclaration() 260 Diag(Tok, diag::err_expected_ident); // missing super class name. in ParseObjCAtInterfaceDeclaration() 313 P.Diag(AtLoc, diag::err_objc_property_requires_field_name) in invoke() [all …]
|
/external/clang/lib/Frontend/ |
D | Warnings.cpp | 41 Diags.Report(isPositive? diag::warn_unknown_warning_option_suggest : in EmitUnknownDiagWarning() 42 diag::warn_unknown_negative_warning_option_suggest) in EmitUnknownDiagWarning() 45 Diags.Report(isPositive? diag::warn_unknown_warning_option : in EmitUnknownDiagWarning() 46 diag::warn_unknown_negative_warning_option) in EmitUnknownDiagWarning() 75 llvm::SmallVector<diag::kind, 10> _Diags; in ProcessWarningOptions() 101 diag::Mapping Mapping = isPositive ? diag::MAP_WARNING : diag::MAP_IGNORE; in ProcessWarningOptions() 119 Diags.setMappingToAllDiagnostics(diag::MAP_IGNORE); in ProcessWarningOptions() 132 Diags.Report(diag::warn_unknown_warning_specifier) in ProcessWarningOptions() 160 Diags.Report(diag::warn_unknown_warning_specifier) in ProcessWarningOptions()
|
/external/clang/include/clang/Basic/ |
D | DiagnosticIDs.h | 31 namespace diag { 82 static DiagnosticMappingInfo Make(diag::Mapping Mapping, bool IsUser, in Make() 94 diag::Mapping getMapping() const { return diag::Mapping(Mapping); } in getMapping() 95 void setMapping(diag::Mapping Value) { Mapping = Value; } in setMapping() 121 diag::CustomDiagInfo *CustomDiagInfo; 231 llvm::SmallVectorImpl<diag::kind> &Diags) const; 234 void getAllDiagnostics(llvm::SmallVectorImpl<diag::kind> &Diags) const; 245 llvm::SmallVectorImpl<diag::kind> &Diags) const;
|