Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticIDs.cpp116 LLVM_PREFERRED_TYPE(diag::Severity)
147 diag::Flavor getFlavor() const { in getFlavor()
148 return Class == CLASS_REMARK ? diag::Flavor::Remark in getFlavor()
149 : diag::Flavor::WarningOrError; in getFlavor()
160 static_cast<unsigned>(diag::NUM_BUILTIN_##NAME##_DIAGNOSTICS) < \
161 static_cast<unsigned>(diag::DIAG_START_##NAME) + \
162 static_cast<unsigned>(diag::DIAG_SIZE_##NAME), \
188 diag::ENUM, \
224 using namespace diag; in GetDiagInfo()
274 diag::Severity::Fatal, /*IsUser=*/false, /*IsPragma=*/false); in getDefaultMapping()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp149 InDiag = diag::note_protected_by_vla; in GetDiagForGotoScopeDecl()
152 return ScopePair(diag::note_protected_by___block, in GetDiagForGotoScopeDecl()
153 diag::note_exits___block); in GetDiagForGotoScopeDecl()
156 return ScopePair(diag::note_protected_by_cleanup, in GetDiagForGotoScopeDecl()
157 diag::note_exits_cleanup); in GetDiagForGotoScopeDecl()
162 return ScopePair(diag::note_protected_by_objc_strong_init, in GetDiagForGotoScopeDecl()
163 diag::note_exits_objc_strong); in GetDiagForGotoScopeDecl()
166 return ScopePair(diag::note_protected_by_objc_weak_init, in GetDiagForGotoScopeDecl()
167 diag::note_exits_objc_weak); in GetDiagForGotoScopeDecl()
170 return ScopePair(diag::note_protected_by_non_trivial_c_struct_init, in GetDiagForGotoScopeDecl()
[all …]
H A DAnalysisBasedWarnings.cpp81 !S.getDiagnostics().isIgnored(diag::warn_unreachable_fallthrough_attr, in HandleUnreachable()
93 unsigned diag = diag::warn_unreachable; in HandleUnreachable() local
96 diag = diag::warn_unreachable_break; in HandleUnreachable()
99 diag = diag::warn_unreachable_return; in HandleUnreachable()
102 diag = diag::warn_unreachable_loop_increment; in HandleUnreachable()
108 S.Diag(L, diag) << R1 << R2; in HandleUnreachable()
115 S.Diag(Open, diag::note_unreachable_silence) in HandleUnreachable()
166 ? diag::warn_tautological_negation_or_compare in logicAlwaysTrue()
167 : diag::warn_tautological_negation_and_compare; in logicAlwaysTrue()
177 S.Diag(B->getExprLoc(), diag::warn_tautological_overlap_comparison) in compareAlwaysTrue()
[all …]
H A DSemaObjCProperty.cpp99 diag::err_arc_inconsistent_property_ownership) in checkPropertyDeclWithOwnership()
398 S.Diag(NewProperty->getLocation(), diag::warn_property_attribute) in checkAtomicPropertyMismatch()
401 S.Diag(OldProperty->getLocation(), diag::note_property_declare); in checkAtomicPropertyMismatch()
419 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension()
434 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension()
435 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
449 unsigned diag = in HandlePropertyInClassExtension() local
453 ? diag::err_use_continuation_class_redeclaration_readwrite in HandlePropertyInClassExtension()
454 : diag::err_use_continuation_class; in HandlePropertyInClassExtension()
455 Diag(AtLoc, diag) in HandlePropertyInClassExtension()
[all …]
H A DSemaSwift.cpp30 Diag(PrevSNA->getLocation(), diag::err_attributes_are_not_compatible) in mergeNameAttr()
34 Diag(SNA.getLoc(), diag::note_conflicting_attribute); in mergeNameAttr()
96 Diag(AL.getLoc(), diag::warn_duplicate_attribute) << AL; in handleBridge()
132 S.Diag(AL.getLoc(), diag::err_attr_swift_error_no_error_parameter) in handleError()
145 S.Diag(AL.getLoc(), diag::err_attr_swift_error_return_type) in handleError()
156 S.Diag(AL.getLoc(), diag::err_attr_swift_error_return_type) in handleError()
169 Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) in handleError()
206 diag::err_swift_async_error_without_swift_async) in checkSwiftAsyncErrorBlock()
230 diag::err_attribute_argument_out_of_bounds) in checkSwiftAsyncErrorBlock()
240 S.Diag(ErrorAttr->getLocation(), diag::err_swift_async_error_non_integral) in checkSwiftAsyncErrorBlock()
[all …]
H A DSemaOpenCL.cpp25 Diag(AL.getLoc(), diag::err_attribute_requires_opencl_version) in handleNoSVMAttr()
28 Diag(AL.getLoc(), diag::warn_opencl_attr_deprecated_ignored) in handleNoSVMAttr()
40 Diag(AL.getLoc(), diag::warn_duplicate_declspec) in handleAccessAttr()
43 Diag(AL.getLoc(), diag::err_opencl_multiple_access_qualifiers) in handleAccessAttr()
68 Diag(AL.getLoc(), diag::err_opencl_invalid_read_write) in handleAccessAttr()
85 Diag(AL.getLoc(), diag::err_attribute_argument_is_zero) in handleSubGroupSize()
93 Diag(AL.getLoc(), diag::warn_duplicate_attribute) << AL; in handleSubGroupSize()
130 diag::err_opencl_enqueue_kernel_blocks_non_local_void_args); in checkBlockArgs()
146 Diag(Call->getBeginLoc(), diag::err_opencl_requires_extension) in checkSubgroupExt()
164 Diag(NDRangeArg->getBeginLoc(), diag::err_opencl_builtin_expected_type) in checkBuiltinNDRangeAndBlock()
[all …]
H A DSemaDeclAttr.cpp105 S.Diag(Expr->getExprLoc(), diag::err_ice_too_large) in checkPositiveIntArgument()
122 Diag(E->getBeginLoc(), diag::err_attribute_argument_type) in checkStringLiteralArgumentAttr()
137 Diag(Loc->Loc, diag::err_attribute_argument_type) in checkStringLiteralArgumentAttr()
154 Diag(ArgExpr->getBeginLoc(), diag::err_attribute_argument_type) in checkStringLiteralArgumentAttr()
225 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_pointer) << AL << QT; in threadSafetyCheckIsPointer()
344 diag::warn_thread_attribute_not_on_capability_member) in checkAttrArgsAreCapabilityObjs()
347 S.Diag(AL.getLoc(), diag::warn_thread_attribute_not_on_non_static_member) in checkAttrArgsAreCapabilityObjs()
372 S.Diag(AL.getLoc(), diag::warn_thread_attribute_ignored) << AL; in checkAttrArgsAreCapabilityObjs()
401 diag::err_attribute_argument_out_of_bounds_extra_info) in checkAttrArgsAreCapabilityObjs()
414 S.Diag(AL.getLoc(), diag::warn_thread_attribute_argument_not_lockable) in checkAttrArgsAreCapabilityObjs()
[all …]
H A DSemaModule.cpp47 ? diag::ext_module_import_not_at_top_level_noop in checkModuleImportContext()
48 : diag::err_module_import_not_at_top_level_fatal) in checkModuleImportContext()
51 diag::note_module_import_not_at_top_level) in checkModuleImportContext()
54 S.Diag(ImportLoc, diag::ext_module_import_in_extern_c) in checkModuleImportContext()
56 S.Diag(ExternCLoc, diag::note_extern_c_begins_here); in checkModuleImportContext()
250 return S.Diag(Loc, diag::err_invalid_module_name) << II; in DiagReservedModuleName()
252 S.Diag(Loc, diag::warn_reserved_module_name) << II; in DiagReservedModuleName()
300 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch) in ActOnModuleDecl()
306 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module); in ActOnModuleDecl()
310 Diag(ModuleLoc, diag::err_module_decl_in_header_unit); in ActOnModuleDecl()
[all …]
H A DSemaDecl.cpp229 S.Diag(NameLoc, diag::ext_found_in_dependent_base) << &II; in recoverFromTypeInKnownDependentBase()
329 Diag(QualifiedLoc, diag::warn_cxx17_compat_implicit_typename); in getTypeName()
331 Diag(QualifiedLoc, diag::ext_implicit_typename) in getTypeName()
427 PDiag(diag::err_unknown_type_or_class_name_suggest) in getTypeName()
517 Diag(NameLoc, diag::err_out_of_line_qualified_id_type_names_constructor) in getTypeName()
605 Diag(NameLoc, diag::ext_ms_delayed_template_argument) << &II; in ActOnMSVCUnknownTypeName()
615 Diag(NameLoc, diag::ext_undeclared_unqual_id_with_dependent_base) << &II in ActOnMSVCUnknownTypeName()
704 PDiag(IsTemplateName ? diag::err_no_template_suggest in DiagnoseUnknownTypeName()
705 : diag::err_unknown_typename_suggest) in DiagnoseUnknownTypeName()
712 PDiag(IsTemplateName ? diag::err_no_template_suggest in DiagnoseUnknownTypeName()
[all …]
H A DSemaDeclObjC.cpp112 Diag(loc, diag::err_arc_init_method_unrelated_result_type); in checkInitMethod()
122 S.Diag(NewD->getLocation(), diag::warn_overriding_method_missing_noescape); in diagnoseNoescape()
123 S.Diag(OldD->getLocation(), diag::note_overridden_marked_noescape); in diagnoseNoescape()
136 S.Diag(CD->getLocation(), diag::note_cat_conform_to_noescape_prot) in diagnoseNoescape()
169 diag::warn_related_result_type_compatibility_class) in CheckObjCMethodOverride()
175 diag::warn_related_result_type_compatibility_protocol) in CheckObjCMethodOverride()
182 diag::note_related_result_type_family) in CheckObjCMethodOverride()
187 diag::note_related_result_type_overridden); in CheckObjCMethodOverride()
194 ? diag::err_nsreturns_retained_attribute_mismatch in CheckObjCMethodOverride()
195 : diag::warn_nsreturns_retained_attribute_mismatch) in CheckObjCMethodOverride()
[all …]
H A DSemaBoundsSafety.cpp60 Diag(FD->getBeginLoc(), diag::err_count_attr_in_union) in CheckCountedByAttrOnField()
68 diag::err_count_attr_not_on_ptr_or_flexible_array_member) in CheckCountedByAttrOnField()
74 diag::err_count_attr_not_on_ptr_or_flexible_array_member) in CheckCountedByAttrOnField()
85 diag::err_counted_by_attr_on_array_not_flexible_array_member) in CheckCountedByAttrOnField()
128 ? diag::warn_counted_by_attr_elt_type_unknown_size in CheckCountedByAttrOnField()
129 : diag::err_counted_by_attr_pointee_unknown_size; in CheckCountedByAttrOnField()
139 Diag(E->getBeginLoc(), diag::err_count_attr_argument_not_integer) in CheckCountedByAttrOnField()
147 diag::err_count_attr_only_support_simple_decl_reference) in CheckCountedByAttrOnField()
158 Diag(E->getBeginLoc(), diag::err_count_attr_must_be_in_structure) in CheckCountedByAttrOnField()
162 diag::note_flexible_array_counted_by_attr_field) in CheckCountedByAttrOnField()
[all …]
H A DSemaObjC.cpp49 diag::err_toomany_element_decls)); in ActOnObjCForCollectionStmt()
61 Diag(D->getLocation(), diag::err_non_local_variable_decl_in_for)); in ActOnObjCForCollectionStmt()
85 Diag(Loc, diag::warn_auto_var_is_id) << D->getDeclName(); in ActOnObjCForCollectionStmt()
93 Diag(First->getBeginLoc(), diag::err_selector_element_not_lvalue) in ActOnObjCForCollectionStmt()
98 Diag(ForLoc, diag::err_selector_element_const_type) in ActOnObjCForCollectionStmt()
104 return StmtError(Diag(ForLoc, diag::err_selector_element_type) in ActOnObjCForCollectionStmt()
146 return Diag(forLoc, diag::err_collection_expr_type) in CheckObjCForCollectionOperand()
159 diag::err_arc_collection_forward, in CheckObjCForCollectionOperand()
186 Diag(forLoc, diag::warn_collection_expr_type) in CheckObjCForCollectionOperand()
227 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try"; in ActOnObjCAtTryStmt()
[all …]
H A DSemaAttr.cpp258 Diag(PragmaLoc, diag::err_pragma_options_align_mac68k_target_unsupported); in ActOnPragmaOptionsAlign()
273 Diag(PragmaLoc, diag::warn_pragma_options_align_reset_failed) in ActOnPragmaOptionsAlign()
321 Diag(PragmaLoc, diag::err_pragma_section_invalid_for_target) in ActOnPragmaClangSection()
340 Diag(PragmaLoc, diag::err_pragma_pack_identifer_not_supported); in ActOnPragmaPack()
359 Diag(PragmaLoc, diag::warn_pragma_pack_invalid_alignment); in ActOnPragmaPack()
365 Diag(PragmaLoc, diag::err_pragma_pack_invalid_alignment); in ActOnPragmaPack()
379 Diag(PragmaLoc, diag::warn_pragma_pack_show) << "mac68k"; in ActOnPragmaPack()
381 Diag(PragmaLoc, diag::warn_pragma_pack_show) << AlignmentVal; in ActOnPragmaPack()
388 Diag(PragmaLoc, diag::warn_pragma_pack_pop_identifier_and_alignment); in ActOnPragmaPack()
392 Diag(PragmaLoc, diag::warn_pragma_pop_failed) << "pack" << "stack empty"; in ActOnPragmaPack()
[all …]
H A DSemaStmt.cpp104 Diag(decl->getLocation(), diag::err_non_variable_decl_in_for); in ActOnForEachDeclStmt()
189 S.Diag(Loc, diag::warn_unused_comparison) in DiagnoseUnusedComparison()
196 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign) in DiagnoseUnusedComparison()
199 S.Diag(Loc, diag::note_equality_comparison_to_assign) in DiagnoseUnusedComparison()
215 return S.Diag(Loc, diag::warn_unused_constructor) << A << R1 << R2; in DiagnoseNoDiscard()
216 return S.Diag(Loc, diag::warn_unused_result) << A << R1 << R2; in DiagnoseNoDiscard()
220 return S.Diag(Loc, diag::warn_unused_constructor_msg) << A << Msg << R1 in DiagnoseNoDiscard()
222 return S.Diag(Loc, diag::warn_unused_result_msg) << A << Msg << R1 << R2; in DiagnoseNoDiscard()
304 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "pure"; in DiagnoseUnusedExprResult()
308 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "const"; in DiagnoseUnusedExprResult()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp119 PP.Diag(Tok, diag::warn_pragma_ignored); in HandlePragma()
218 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
225 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
239 Diag(Tok, diag::err_invalid_string_udl); in Handle_Pragma()
253 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
269 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma()
369 Diag(PragmaLoc, diag::err__Pragma_malformed); in HandleMicrosoft__pragma()
387 Diag(PragmaLoc, diag::err_unterminated___pragma); in HandleMicrosoft__pragma()
423 Diag(OnceTok, diag::pp_pragma_once_in_main_file); in HandlePragmaOnce()
460 Diag(Tok, diag::err_pp_invalid_poison); in HandlePragmaPoison()
[all …]
H A DPPDirectives.cpp328 return Diag(MacroNameTok, diag::err_pp_missing_macro_name); in CheckMacroName()
332 return Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in CheckMacroName()
338 ? diag::ext_pp_operator_used_as_macro_name in CheckMacroName()
339 : diag::err_pp_operator_used_as_macro_name) in CheckMacroName()
347 return Diag(MacroNameTok, diag::err_defined_macro_name); in CheckMacroName()
371 Diag(MacroNameTok, diag::warn_pp_macro_is_reserved_id); in CheckMacroName()
443 Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << Hint; in CheckEndOfDirective()
468 Diag(Tok, diag::warn_pp_invalid_directive) << 1 << SuggValue << Hint; in SuggestTypoedDirective()
698 Diag(Tok, diag::pp_err_else_after_else); in SkipExcludedConditionalBlock()
726 Diag(Tok, diag::pp_err_elif_after_else) << PED_Elif; in SkipExcludedConditionalBlock()
[all …]
H A DLiteralSupport.cpp163 diag::ext_nonstandard_escape) << "e"; in ProcessCharEscape()
169 diag::ext_nonstandard_escape) << "E"; in ProcessCharEscape()
194 diag::err_delimited_escape_empty); in ProcessCharEscape()
200 diag::err_hex_escape_no_digits) << "x"; in ProcessCharEscape()
220 diag::err_delimited_escape_invalid) in ProcessCharEscape()
241 diag::err_escape_too_large) in ProcessCharEscape()
266 diag::err_escape_too_large) << 1; in ProcessCharEscape()
277 diag::err_delimited_escape_missing_brace) in ProcessCharEscape()
287 diag::err_delimited_escape_empty); in ProcessCharEscape()
301 diag::err_delimited_escape_invalid) in ProcessCharEscape()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DState.cpp21 OptionalDiagnostic State::FFDiag(SourceLocation Loc, diag::kind DiagId, in FFDiag()
23 return diag(Loc, DiagId, ExtraNotes, false); in FFDiag()
26 OptionalDiagnostic State::FFDiag(const Expr *E, diag::kind DiagId, in FFDiag()
29 return diag(E->getExprLoc(), DiagId, ExtraNotes, false); in FFDiag()
34 OptionalDiagnostic State::FFDiag(const SourceInfo &SI, diag::kind DiagId, in FFDiag()
37 return diag(SI.getLoc(), DiagId, ExtraNotes, false); in FFDiag()
42 OptionalDiagnostic State::CCEDiag(SourceLocation Loc, diag::kind DiagId, in CCEDiag()
50 return diag(Loc, DiagId, ExtraNotes, true); in CCEDiag()
53 OptionalDiagnostic State::CCEDiag(const Expr *E, diag::kind DiagId, in CCEDiag()
58 OptionalDiagnostic State::CCEDiag(const SourceInfo &SI, diag::kind DiagId, in CCEDiag()
[all …]
H A DInterp.cpp64 S.FFDiag(E, diag::note_constexpr_var_init_unknown, 1) << VD; in diagnoseMissingInitializer()
65 S.Note(VD->getLocation(), diag::note_declared_at) << VD->getSourceRange(); in diagnoseMissingInitializer()
76 S.FFDiag(E, diag::note_constexpr_function_param_value_unknown) << D; in diagnoseUnknownDecl()
77 S.Note(D->getLocation(), diag::note_declared_at) << D->getSourceRange(); in diagnoseUnknownDecl()
112 S.FFDiag(Loc, diag::note_constexpr_ltor_non_const_int, 1) << VD; in diagnoseNonConstVariable()
113 S.Note(VD->getLocation(), diag::note_declared_at); in diagnoseNonConstVariable()
118 S.getLangOpts().CPlusPlus11 ? diag::note_constexpr_ltor_non_constexpr in diagnoseNonConstVariable()
119 : diag::note_constexpr_ltor_non_integral, in diagnoseNonConstVariable()
122 S.Note(VD->getLocation(), diag::note_declared_at); in diagnoseNonConstVariable()
152 S.FFDiag(Loc, diag::note_constexpr_access_inactive_union_member) in CheckActive()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticIDs.h28 namespace diag {
105 LLVM_PREFERRED_TYPE(diag::Severity)
119 static DiagnosticMapping Make(diag::Severity Severity, bool IsUser, in Make()
131 diag::Severity getSeverity() const { return (diag::Severity)Severity; } in getSeverity()
132 void setSeverity(diag::Severity Value) { Severity = (unsigned)Value; } in setSeverity()
138 return getSeverity() == diag::Severity::Error || in isErrorOrFatal()
139 getSeverity() == diag::Severity::Fatal; in isErrorOrFatal()
188 std::unique_ptr<diag::CustomDiagInfo> CustomDiagInfo;
248 static StringRef getWarningOptionForGroup(diag::Group);
251 static StringRef getWarningOptionDocumentation(diag::Group GroupID);
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp115 PP.Diag(Tok.getLocation(), diag::warn_pragma_fp_ignored) in HandlePragma()
175 PP.Diag(UnknownTok, diag::ext_stdc_pragma_ignored); in HandlePragma()
188 template <diag::kind IgnoredDiag>
196 : public PragmaNoSupportHandler<diag::warn_pragma_omp_ignored> {
201 : public PragmaNoSupportHandler<diag::warn_pragma_acc_ignored> {
209 diag::kind UnexpectedDiag>
219 diag::err_omp_unexpected_directive> {
226 diag::err_acc_unexpected_directive> {
316 PP.Diag(FirstToken.getLocation(), diag::warn_pragma_fp_ignored) in HandlePragma()
324 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) in HandlePragma()
[all …]
H A DParseDeclCXX.cpp94 ? diag::warn_cxx14_compat_ns_enum_attribute in ParseNamespace()
95 : diag::ext_ns_enum_attribute) in ParseNamespace()
135 Diag(attrLoc, diag::err_unexpected_nested_namespace_attribute); in ParseNamespace()
139 Diag(Tok, diag::err_expected) << tok::identifier; in ParseNamespace()
146 diag::err_unexpected_qualified_namespace_alias) in ParseNamespace()
153 Diag(attrLoc, diag::err_unexpected_namespace_attributes_alias); in ParseNamespace()
155 Diag(InlineLoc, diag::err_inline_namespace_alias) in ParseNamespace()
164 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseNamespace()
166 Diag(Tok, diag::err_expected_either) << tok::identifier << tok::l_brace; in ParseNamespace()
173 Diag(T.getOpenLocation(), diag::err_namespace_nonnamespace_scope); in ParseNamespace()
[all …]
H A DParseHLSL.cpp38 P.Diag(D->getLocation(), diag::err_invalid_declaration_in_hlsl_buffer) in validateDeclsInsideHLSLBuffer()
45 P.Diag(D->getLocation(), diag::err_invalid_declaration_in_hlsl_buffer) in validateDeclsInsideHLSLBuffer()
58 Diag(Tok, diag::err_expected) << tok::identifier; in ParseHLSLBuffer()
71 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseHLSLBuffer()
114 P.Diag(ArgLoc, diag::err_hlsl_separate_attr_arg_and_number) in fixSeparateAttrArgAndNumber()
140 Diag(Tok.getLocation(), diag::err_expected_semantic_identifier); in ParseHLSLAnnotations()
153 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after)) { in ParseHLSLAnnotations()
158 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseHLSLAnnotations()
174 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseHLSLAnnotations()
187 if (ExpectAndConsume(tok::r_paren, diag::err_expected)) { in ParseHLSLAnnotations()
[all …]
H A DParseOpenMP.cpp268 P.Diag(Tok.getLocation(), diag::err_omp_expected_reduction_identifier); in parseOpenMPReductionId()
294 diag::err_expected_lparen_after, in ParseOpenMPDeclareReductionDirective()
313 Diag(Tok.getLocation(), diag::err_expected_type); in ParseOpenMPDeclareReductionDirective()
345 Diag(Tok.getLocation(), diag::err_expected_type); in ParseOpenMPDeclareReductionDirective()
364 Diag(Tok.getLocation(), diag::err_expected_expression); in ParseOpenMPDeclareReductionDirective()
402 Diag(Tok.getLocation(), diag::err_expected) << "'initializer'"; in ParseOpenMPDeclareReductionDirective()
411 !T.expectAndConsume(diag::err_expected_lparen_after, "initializer") && in ParseOpenMPDeclareReductionDirective()
517 Diag(Tok, diag::warn_cxx98_compat_generalized_initializer_lists); in ParseOpenMPReductionInitializerForDecl()
545 if (T.expectAndConsume(diag::err_expected_lparen_after, in ParseOpenMPDeclareMapperDirective()
556 Diag(Tok.getLocation(), diag::err_omp_mapper_illegal_identifier); in ParseOpenMPDeclareMapperDirective()
[all …]
H A DParser.cpp132 if (DiagID == diag::err_expected) in ExpectAndConsume()
134 else if (DiagID == diag::err_expected_after) in ExpectAndConsume()
154 if (DiagID == diag::err_expected) in ExpectAndConsume()
156 else if (DiagID == diag::err_expected_after) in ExpectAndConsume()
175 Diag(Tok, diag::err_extraneous_token_before_semi) in ExpectAndConsumeSemi()
204 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi) in ConsumeExtraSemi()
207 Diag(StartLoc, diag::ext_extra_semi_cxx11) in ConsumeExtraSemi()
213 Diag(StartLoc, diag::ext_extra_semi) in ConsumeExtraSemi()
219 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def) in ConsumeExtraSemi()
228 Diag(Tok, diag::err_expected_token_instead_of_objcxx_keyword) in expectIdentifier()
[all …]

12345678910>>...13