Searched refs:diag (Results 1 - 25 of 245) sorted by relevance

12345678910

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DState.h77 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
82 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
87 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
97 diag::kind DiagId = diag::note_invalid_subexpr_in_const_expr,
102 diag::kind DiagId = diag
[all...]
H A DState.cpp20 OptionalDiagnostic State::FFDiag(SourceLocation Loc, diag::kind DiagId,
22 return diag(Loc, DiagId, ExtraNotes, false);
25 OptionalDiagnostic State::FFDiag(const Expr *E, diag::kind DiagId,
28 return diag(E->getExprLoc(), DiagId, ExtraNotes, false);
33 OptionalDiagnostic State::FFDiag(const SourceInfo &SI, diag::kind DiagId,
36 return diag(SI.getLoc(), DiagId, ExtraNotes, false);
41 OptionalDiagnostic State::CCEDiag(SourceLocation Loc, diag::kind DiagId,
49 return diag(Loc, DiagId, ExtraNotes, true);
52 OptionalDiagnostic State::CCEDiag(const Expr *E, diag::kind DiagId,
57 OptionalDiagnostic State::CCEDiag(const SourceInfo &SI, diag
86 OptionalDiagnostic State::diag(SourceLocation Loc, diag::kind DiagId, function in class:State
[all...]
H A DInterp.cpp107 S.FFDiag(Loc, diag::note_constexpr_access_uninit) << AK << false;
139 S.FFDiag(Loc, diag::note_constexpr_access_inactive_union_member)
157 S.FFDiag(E, diag::note_constexpr_access_static_temporary, 1) << AK;
158 S.Note(Ptr.getDeclLoc(), diag::note_constexpr_temporary_here);
172 S.FFDiag(S.Current->getLocation(OpPC), diag::note_constexpr_modify_global);
188 S.FFDiag(Loc, diag::note_constexpr_ltor_non_constexpr, 1) << VD;
189 S.Note(VD->getLocation(), diag::note_declared_at);
198 S.FFDiag(E, diag::note_constexpr_unsized_array_indexed);
208 S.FFDiag(Src, diag::note_constexpr_null_subobject) << CSK_Field;
210 S.FFDiag(Src, diag
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticCategories.h13 namespace diag { namespace in namespace:clang
22 } // end namespace diag
H A DDiagnosticIDs.h27 namespace diag { namespace in namespace:clang
107 static DiagnosticMapping Make(diag::Severity Severity, bool IsUser,
119 diag::Severity getSeverity() const { return (diag::Severity)Severity; }
120 void setSeverity(diag::Severity Value) { Severity = (unsigned)Value; }
126 return getSeverity() == diag::Severity::Error ||
127 getSeverity() == diag::Severity::Fatal;
172 std::unique_ptr<diag::CustomDiagInfo> CustomDiagInfo;
294 bool getDiagnosticsInGroup(diag::Flavor Flavor, StringRef Group,
295 SmallVectorImpl<diag
[all...]
H A DDiagnosticAST.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticAnalysis.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticComment.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticCrossTU.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticDriver.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticFrontend.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticLex.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticParse.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticRefactoring.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticSema.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
H A DDiagnosticSerialization.h15 namespace diag { namespace in namespace:clang
25 } // end namespace diag
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticIDs.cpp60 diag::Flavor getFlavor() const {
61 return Class == CLASS_REMARK ? diag::Flavor::Remark
62 : diag::Flavor::WarningOrError;
73 static_cast<unsigned>(diag::NUM_BUILTIN_##NAME##_DIAGNOSTICS) < \
74 static_cast<unsigned>(diag::DIAG_START_##NAME) + \
75 static_cast<unsigned>(diag::DIAG_SIZE_##NAME), \
101 diag::ENUM, DEFAULT_SEVERITY, CLASS, DiagnosticIDs::SFINAE, NOWERROR, \
125 // Out of bounds diag. Can't be in the table.
126 using namespace diag;
165 // If the diag i
[all...]
H A DWarnings.cpp35 diag::Flavor Flavor, StringRef Prefix,
38 Diags.Report(diag::warn_unknown_diag_option)
39 << (Flavor == diag::Flavor::WarningOrError ? 0 : 1)
67 Diags.setExtensionHandlingBehavior(diag::Severity::Error);
69 Diags.setExtensionHandlingBehavior(diag::Severity::Warning);
71 Diags.setExtensionHandlingBehavior(diag::Severity::Ignored);
73 SmallVector<diag::kind, 10> _Diags;
89 const auto Flavor = diag::Flavor::WarningOrError;
107 diag::Severity Mapping =
108 isPositive ? diag
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangDiagnostic.h28 static inline bool classof(const Diagnostic *diag) { argument
29 return diag->getKind() == eDiagnosticOriginClang;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp140 InDiag = diag::note_protected_by_vla;
143 return ScopePair(diag::note_protected_by___block,
144 diag::note_exits___block);
147 return ScopePair(diag::note_protected_by_cleanup,
148 diag::note_exits_cleanup);
153 return ScopePair(diag::note_protected_by_objc_strong_init,
154 diag::note_exits_objc_strong);
157 return ScopePair(diag::note_protected_by_objc_weak_init,
158 diag::note_exits_objc_weak);
161 return ScopePair(diag
[all...]
H A DSemaModule.cpp44 ? diag::ext_module_import_not_at_top_level_noop
45 : diag::err_module_import_not_at_top_level_fatal)
48 diag::note_module_import_not_at_top_level)
51 S.Diag(ImportLoc, diag::ext_module_import_in_extern_c)
53 S.Diag(ExternCLoc, diag::note_extern_c_begins_here);
110 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch)
116 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module);
120 Diag(ModuleLoc, diag::err_module_decl_in_header_module);
132 Diag(ModuleLoc, diag::err_module_redeclaration);
134 diag
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp40 TA.report(E->getBeginLoc(), diag::warn_arcmt_nsalloc_realloc,
53 TA.clearDiagnostic(diag::err_unavailable,
54 diag::err_unavailable_message,
55 diag::err_ovl_deleted_call, // ObjC++
H A DTransAPIUses.cpp78 diag::err_arcmt_nsinvocation_ownership,
89 Pass.TA.hasDiagnostic(diag::err_unavailable,
90 diag::err_unavailable_message,
94 Pass.TA.clearDiagnostic(diag::err_unavailable,
95 diag::err_unavailable_message,
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1025 Context.getApplicableDiagnostic(diag::err_odr_tag_type_inconsistent))
1027 Context.Diag2(Field2->getLocation(), diag::note_odr_field_name)
1029 Context.Diag1(Field1->getLocation(), diag::note_odr_field_name)
1040 Context.getApplicableDiagnostic(diag::err_odr_tag_type_inconsistent))
1042 Context.Diag2(Field2->getLocation(), diag::note_odr_field)
1044 Context.Diag1(Field1->getLocation(), diag::note_odr_field)
1054 Context.getApplicableDiagnostic(diag::err_odr_tag_type_inconsistent))
1057 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field)
1060 Context.Diag2(Field2->getLocation(), diag::note_odr_not_bit_field)
1063 Context.Diag2(Field2->getLocation(), diag
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp118 PP.Diag(Tok, diag::warn_pragma_ignored);
217 Diag(PragmaLoc, diag::err__Pragma_malformed);
224 Diag(PragmaLoc, diag::err__Pragma_malformed);
238 Diag(Tok, diag::err_invalid_string_udl);
252 Diag(PragmaLoc, diag::err__Pragma_malformed);
352 Diag(PragmaLoc, diag::err__Pragma_malformed);
370 Diag(PragmaLoc, diag::err_unterminated___pragma);
406 Diag(OnceTok, diag::pp_pragma_once_in_main_file);
439 Diag(Tok, diag::err_pp_invalid_poison);
452 Diag(Tok, diag
[all...]

Completed in 273 milliseconds

12345678910