| /freebsd/contrib/llvm-project/clang/include/clang-c/ |
| H A D | CXDiagnostic.h | 25 * \defgroup CINDEX_DIAG Diagnostic reporting 31 * Describes the severity of a particular diagnostic. 35 * A diagnostic that has been suppressed, e.g., by a command-line 41 * This diagnostic is a note that should be attached to the 42 * previous (non-note) diagnostic. 47 * This diagnostic indicates suspicious code that may not be 53 * This diagnostic indicates that the code is ill-formed. 58 * This diagnostic indicates that the code is ill-formed such 66 * A single diagnostic, containing the diagnostic's severity, 82 * Retrieve a diagnostic associated with the given CXDiagnosticSet. [all …]
|
| /freebsd/contrib/libpcap/ |
| H A D | diag-control.h | 87 * This is Clang 2.8 or later; we can use "clang diagnostic 88 * ignored -Wxxx" and "clang diagnostic push/pop". 99 PCAP_DO_PRAGMA(clang diagnostic push) \ 100 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wsign-compare") \ 101 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wdocumentation") \ 102 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wshorten-64-to-32") \ 103 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wmissing-noreturn") \ 104 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wunused-parameter") \ 105 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wunreachable-code") 107 PCAP_DO_PRAGMA(clang diagnostic pop) [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | DiagnosticIDs.h | 1 //===--- DiagnosticIDs.h - Diagnostic IDs Handling --------------*- C++ -*-===// 10 /// Defines the Diagnostic IDs-related interfaces. 27 // Import the diagnostic enums themselves. 31 // Size of each of the diagnostic categories. 87 Ignored = 1, ///< Do not present this diagnostic, ignore it. 88 Remark = 2, ///< Present this diagnostic as a remark. 89 Warning = 3, ///< Present this diagnostic as a warning. 90 Error = 4, ///< Present this diagnostic as an error. 91 Fatal = 5 ///< Present this diagnostic as a fatal error. 95 /// kind of diagnostic (for instance, for -W/-R flags). [all …]
|
| H A D | Diagnostic.td | 1 //===--- Diagnostic.td - C Language Family Diagnostic Handling ------------===// 10 // and diagnostic control. 16 // Define the diagnostic severities. 26 // Define the diagnostic classes. 34 // Responses to a diagnostic in a SFINAE context. 51 // Diagnostic Categories. These can be applied to groups or individual 57 // Diagnostic Groups. 67 // This defines documentation for diagnostic groups. 70 // This defines all of the named diagnostic categories. 73 // This defines all of the named diagnostic groups. [all …]
|
| H A D | PartialDiagnostic.h | 1 //===- PartialDiagnostic.h - Diagnostic "closures" --------------*- C++ -*-===// 10 /// Implements a partial diagnostic that can be emitted anwyhere 18 #include "clang/Basic/Diagnostic.h" 37 /// The diagnostic ID. 42 /// Create a null partial diagnostic, which cannot carry a payload, 43 /// and only exists to be swapped with a real partial diagnostic. 90 PartialDiagnostic(const Diagnostic &Other, DiagStorageAllocator &Allocator_) in PartialDiagnostic() 169 // FIXME: It should be possible to render a diagnostic to a string without in EmitToString() 173 Diagnostic(&Diags).FormatDiagnostic(Buf); in EmitToString() 178 /// Clear out this partial diagnostic, giving it a new diagnostic ID [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DiagnosticInfo.h | 1 //===- llvm/IR/DiagnosticInfo.h - Diagnostic Declaration --------*- C++ -*-===// 48 /// Defines the different supported severity of a diagnostic. 53 // A note attaches additional information to one of the previous diagnostic 58 /// Defines the different supported kind of a diagnostic. 93 /// Get the next available kind ID for a plugin diagnostic. 103 /// This is the base abstract class for diagnostic reporting in 112 /// Severity gives the severity of the diagnostic. 136 /// Diagnostic information for inline asm reporting. 150 /// for the whole life time of the Diagnostic. 158 /// for the whole life time of the Diagnostic. [all …]
|
| /freebsd/contrib/tcpdump/ |
| H A D | diag-control.h | 59 DIAG_DO_PRAGMA(clang diagnostic push) \ 60 DIAG_DO_PRAGMA(clang diagnostic ignored "-Wassign-enum") 62 DIAG_DO_PRAGMA(clang diagnostic pop) 75 DIAG_DO_PRAGMA(clang diagnostic push) \ 76 DIAG_DO_PRAGMA(clang diagnostic ignored "-Wassign-enum") 78 DIAG_DO_PRAGMA(clang diagnostic pop) 94 DIAG_DO_PRAGMA(clang diagnostic push) \ 95 DIAG_DO_PRAGMA(clang diagnostic ignored "-Wcast-qual") 97 DIAG_DO_PRAGMA(clang diagnostic pop) 103 DIAG_DO_PRAGMA(clang diagnostic push) \ [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/ |
| H A D | Diagnostic.h | 1 //===--- Diagnostic.h - Framework for clang diagnostics tools --*- C++ -*-===// 20 #include "clang/Basic/Diagnostic.h" 40 /// Represents the diagnostic message with the error message associated 45 /// Constructs a diagnostic message with anoffset to the diagnostic 58 /// Fixes for this diagnostic, grouped by file path. 66 /// Represents the diagnostic with the level of severity and possible 68 struct Diagnostic { struct 75 Diagnostic() = default; argument 77 Diagnostic(llvm::StringRef DiagnosticName, Level DiagLevel, 80 Diagnostic(llvm::StringRef DiagnosticName, const DiagnosticMessage &Message, [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Expression/ |
| H A D | DiagnosticManager.h | 33 class Diagnostic { 39 static bool classof(const Diagnostic *diag) { in classof() 52 Diagnostic(llvm::StringRef message, lldb::Severity severity, in Diagnostic() function 57 Diagnostic(const Diagnostic &rhs) in Diagnostic() function 61 virtual ~Diagnostic() = default; 82 uint32_t m_compiler_id; // Compiler-specific diagnostic ID 85 typedef std::vector<std::unique_ptr<Diagnostic>> DiagnosticList; 98 [](const std::unique_ptr<Diagnostic> &diag) { in HasFixIts() 107 std::make_unique<Diagnostic>(message, severity, origin, compiler_id)); 110 void AddDiagnostic(std::unique_ptr<Diagnostic> diagnostic) { in AddDiagnostic() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | DiagnosticRenderer.h | 1 //===- DiagnosticRenderer.h - Diagnostic Pretty-Printing --------*- C++ -*-===// 18 #include "clang/Basic/Diagnostic.h" 33 llvm::PointerUnion<const Diagnostic *, const StoredDiagnostic *>; 35 /// Class to encapsulate the logic for formatting a diagnostic message. 40 /// diagnostic, including all of the macro backtraces, caret diagnostics, FixIt 52 /// The location of the previous diagnostic if known. 55 /// diagnostic location, or that location itself is invalid or comes from 62 /// root locations rather than diagnostic locations. 65 /// The level of the last diagnostic emitted. 67 /// The level of the last diagnostic emitted. Used to detect level changes [all …]
|
| H A D | LogDiagnosticPrinter.h | 1 //===--- LogDiagnosticPrinter.h - Log Diagnostic Client ---------*- C++ -*-===// 12 #include "clang/Basic/Diagnostic.h" 23 /// The primary message line of the diagnostic. 35 /// The ID of the diagnostic. 38 /// The Option Flag for the diagnostic 41 /// The level of the diagnostic. 79 const Diagnostic &Info) override;
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/ |
| H A D | DiagnosticsYaml.h | 18 #include "clang/Tooling/Core/Diagnostic.h" 23 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic) 60 template <> struct MappingTraits<clang::tooling::Diagnostic> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 61 /// Helper to (de)serialize a Diagnostic since we don't have direct in LLVM_YAML_IS_SEQUENCE_VECTOR() 66 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} in LLVM_YAML_IS_SEQUENCE_VECTOR() 68 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) in LLVM_YAML_IS_SEQUENCE_VECTOR() 72 clang::tooling::Diagnostic denormalize(const IO &) { in LLVM_YAML_IS_SEQUENCE_VECTOR() 73 return clang::tooling::Diagnostic(DiagnosticName, Message, Notes, in LLVM_YAML_IS_SEQUENCE_VECTOR() 80 clang::tooling::Diagnostic::Level DiagLevel; in LLVM_YAML_IS_SEQUENCE_VECTOR() 84 static void mapping(IO &Io, clang::tooling::Diagnostic &D) { in LLVM_YAML_IS_SEQUENCE_VECTOR() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DelayedDiagnostic.h | 93 /// Sets a diagnostic to be performed. The diagnostic is given 100 assert(isQuiet() && "partial diagnostic already defined"); in setDiag() 104 assert(isQuiet() && "partial diagnostic already defined"); in setDiag() 105 assert(DiagID && "creating null diagnostic"); in setDiag() 124 /// A diagnostic message which has been conditionally emitted pending 157 unsigned diagnostic, in makeForbiddenType() argument 164 DD.ForbiddenTypeData.Diagnostic = diagnostic; in makeForbiddenType() 171 assert(Kind == Access && "Not an access diagnostic."); in getAccessData() 175 assert(Kind == Access && "Not an access diagnostic."); in getAccessData() 180 assert(Kind == Availability && "Not an availability diagnostic."); in getAvailabilityReferringDecl() [all …]
|
| H A D | SemaBase.h | 19 #include "clang/Basic/Diagnostic.h" 51 /// responsible for emitting the diagnostic (as DiagnosticBuilder 52 /// does) and, if the diagnostic comes from inside a template 96 /// A generic diagnostic builder for errors which may or may not be deferred. 104 /// attach a diagnostic to a FunctionDecl that's emitted iff it's codegen'ed. 106 /// This class lets you emit either a regular diagnostic, a deferred 107 /// diagnostic, or no diagnostic at all, according to an argument you pass to 115 /// Emit the diagnostic immediately (i.e., behave like Sema::Diag()). 117 /// Emit the diagnostic immediately, and, if it's a warning or error, also 121 /// Create a deferred diagnostic, which is emitted only if the function [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | TextDiagnosticPrinter.cpp | 1 //===--- TextDiagnosticPrinter.cpp - Diagnostic Printer -------------------===// 9 // This diagnostic client prints out their diagnostic messages. 46 /// Print any diagnostic option information to a raw_ostream. 48 /// This implements all of the logic for adding diagnostic options to a message 53 const Diagnostic &Info, in printDiagnosticOptions() 64 // report to the user what happened by inferring what the diagnostic engine in printDiagnosticOptions() 65 // did. Eventually it might make more sense to have the diagnostic engine in printDiagnosticOptions() 66 // include some "why" information in the diagnostic. in printDiagnosticOptions() 110 const Diagnostic &Info) { in HandleDiagnostic() 114 // Render the diagnostic message into a temporary buffer eagerly. We'll use in HandleDiagnostic() [all …]
|
| H A D | SARIFDiagnosticPrinter.cpp | 1 //===------- SARIFDiagnosticPrinter.cpp - Diagnostic Printer---------------===// 9 // This diagnostic client prints out their diagnostic messages in SARIF format. 52 const Diagnostic &Info) { in HandleDiagnostic() 58 // Render the diagnostic message into a temporary buffer eagerly. We'll use in HandleDiagnostic() 59 // this later as we add the diagnostic to the SARIF object. in HandleDiagnostic() 75 assert(DiagOpts && "Unexpected diagnostic without options set"); in HandleDiagnostic() 77 "Unexpected diagnostic with no source manager"); in HandleDiagnostic()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/ |
| H A D | FixItRewriter.h | 1 //===- FixItRewriter.h - Fix-It Rewriter Diagnostic Client ------*- C++ -*-===// 9 // This is a diagnostic client adaptor that performs rewrites as 11 // then forwards any diagnostics to the adapted diagnostic client. 18 #include "clang/Basic/Diagnostic.h" 56 /// If true, only pass the diagnostic to the actual diagnostic consumer 57 /// if it is an error or a fixit was applied as part of the diagnostic. 72 /// The diagnostic client that performs the actual formatting 84 /// Whether the previous diagnostic was not passed to the consumer. 123 /// HandleDiagnostic - Handle this diagnostic, reporting it to the user or 126 const Diagnostic &Info) override; [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | DiagnosticIDs.cpp | 1 //===--- DiagnosticIDs.cpp - Diagnostic IDs Handling ----------------------===// 9 // This file implements the Diagnostic IDs-related interfaces. 25 // Builtin Diagnostic information 105 // Diagnostic classes. 228 // Compute the index of the requested diagnostic in the static table. in GetDiagInfo() 230 // diagnostic and of the category the diagnostic is in. This gives us in GetDiagInfo() 233 // the offset of the diagnostic in the category. in GetDiagInfo() 298 // The diagnostic category names. 346 /// getBuiltinDiagClass - Return the class field of the diagnostic. 355 // Custom Diagnostic information [all …]
|
| H A D | Diagnostic.cpp | 1 //===- Diagnostic.cpp - C Language Family Diagnostic Handling -------------===// 9 // This file implements the Diagnostic-related interfaces. 13 #include "clang/Basic/Diagnostic.h" 83 // If we own the diagnostic client, destroy it first so that it can access the in ~DiagnosticsEngine() 134 // Clear state related to #pragma diagnostic. in Reset() 139 // Create a DiagState and DiagStatePoint representing diagnostic changes in Reset() 209 // Common case: we have not seen any diagnostic pragmas. in lookup() 237 // We created a new File; look up the diagnostic state at the start of it and in getFile() 250 // top-level file and added diagnostic pragmas to it. See the code at the in getFile() 259 llvm::errs() << "diagnostic state at "; in dump() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | BackendConsumer.h | 67 // This is here so that the diagnostic printer knows the module a diagnostic 84 // to use the clang diagnostic handler for IR input files. It avoids 117 /// Get the best possible source location to represent a diagnostic that 128 /// Specialized handler for InlineAsm diagnostic. 129 /// \return True if the diagnostic has been successfully reported, false 134 /// Specialized handler for StackSize diagnostic. 135 /// \return True if the diagnostic has been successfully reported, false 138 /// Specialized handler for ResourceLimit diagnostic. 139 /// \return True if the diagnostic has been successfully reported, false 143 /// Specialized handler for unsupported backend feature diagnostic.
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Core/ |
| H A D | Diagnostic.cpp | 1 //===--- Diagnostic.cpp - Framework for clang diagnostics tools ----------===// 13 #include "clang/Tooling/Core/Diagnostic.h" 48 Diagnostic::Diagnostic(llvm::StringRef DiagnosticName, in Diagnostic() function in clang::tooling::Diagnostic 49 Diagnostic::Level DiagLevel, StringRef BuildDirectory) in Diagnostic() 53 Diagnostic::Diagnostic(llvm::StringRef DiagnosticName, in Diagnostic() function in clang::tooling::Diagnostic 60 const llvm::StringMap<Replacements> *selectFirstFix(const Diagnostic& D) { in selectFirstFix()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOptimizationRemarkEmitter.h | 9 /// Optimization diagnostic interfaces for machine passes. It's packaged as an 11 /// as well. MBFI is used to compute the "hotness" of the diagnostic message. 41 /// MI-specific kinds of diagnostic Arguments. 58 /// Diagnostic information for applied optimization remarks. 61 /// \p PassName is the name of the pass emitting this diagnostic. If this name 62 /// matches the regular expression given in -Rpass=, then the diagnostic will 84 /// Diagnostic information for missed-optimization remarks. 87 /// \p PassName is the name of the pass emitting this diagnostic. If this name 89 /// diagnostic will be emitted. \p RemarkName is a textual identifier for the 110 /// Diagnostic information for optimization analysis remarks. [all …]
|
| /freebsd/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_macros.h | 47 /* Diagnostic suppression macros */ 56 /* #pragma GCC diagnostic first appeared in gcc 4.6. */ 61 * diagnostic suppression macros and should not be used anywhere else. 64 # define JEMALLOC_DIAGNOSTIC_PUSH JEMALLOC_PRAGMA__(GCC diagnostic push) 65 # define JEMALLOC_DIAGNOSTIC_POP JEMALLOC_PRAGMA__(GCC diagnostic pop) 67 JEMALLOC_PRAGMA__(GCC diagnostic ignored W) 107 * included by users directly, it does not affect their diagnostic settings.
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_diag.h | 32 /// \brief Location at which a diagnostic can be emitted. Either a in ~SymbolizedStackHolder() 75 /// A diagnostic severity level. in getKind() 78 DL_Note ///< A note, attached to a prior diagnostic. in isMemoryLocation() 81 /// \brief Annotation for a range of locations in a diagnostic. in getSourceLocation() 109 /// \brief Representation of an in-flight diagnostic. in Range() 112 /// accumulate arguments for a diagnostic. The destructor emits the diagnostic in getText() 118 /// The diagnostic level. 139 /// An individual diagnostic message argument. 163 /// The arguments which have been added to this diagnostic s in Arg() [all...] |
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | prfchiintrin.h | 33 #pragma clang diagnostic push in _m_prefetchit0() 34 #pragma clang diagnostic ignored "-Wcast-qual" in _m_prefetchit0() 36 #pragma clang diagnostic pop in _m_prefetchit0() 53 #pragma clang diagnostic push in _m_prefetchit1() 54 #pragma clang diagnostic ignored "-Wcast-qual" in _m_prefetchit1() 56 #pragma clang diagnostic pop in _m_prefetchit1()
|