| /freebsd-src/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-src/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 (fo [all...] |
| H A D | Diagnostic.h | 1 //===- Diagnostic.h - C Language Family Diagnostic Handling -----*- C++ -*-===// 10 /// Defines the Diagnostic-related interfaces. 62 /// Annotates a diagnostic with some code that should be 69 /// suppressing the diagnostic output can still result in successful 153 /// A single diagnostic with more than that almost certainly has to 176 /// The list of ranges added to this diagnostic. 194 /// The level of the diagnostic, after it has been through mapping. 301 /// Mapping info is packed into four bits per diagnostic. The low three 307 /// A new DiagState is created and kept around when diagnostic pragmas modify 308 /// the state so that we know what is the diagnostic state at any given [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 categorie [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-src/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 937 const SMDiagnostic &Diagnostic; global() variable 941 DiagnosticInfoMIRParser(DiagnosticSeverity Severity,const SMDiagnostic & Diagnostic) DiagnosticInfoMIRParser() argument 1074 const SMDiagnostic &Diagnostic; global() variable [all...] |
| /freebsd-src/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 po [all...] |
| /freebsd-src/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-src/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 pus [all...] |
| /freebsd-src/contrib/llvm-project/lldb/include/lldb/Expression/ |
| H A D | DiagnosticManager.h | 33 class Diagnostic { 39 static bool classof(const Diagnostic *diag) { 52 Diagnostic(llvm::StringRef message, lldb::Severity severity, in classof() 57 Diagnostic(const Diagnostic &rhs) 61 virtual ~Diagnostic() = default; in Diagnostic() 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 Clear() 107 std::make_unique<Diagnostic>(messag in HasFixIts() 58 Diagnostic(llvm::StringRef message, DiagnosticSeverity severity, Diagnostic() function 63 Diagnostic(const Diagnostic &rhs) Diagnostic() function 116 AddDiagnostic(std::unique_ptr<Diagnostic> diagnostic) AddDiagnostic() argument [all...] |
| /freebsd-src/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-src/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-src/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() 164 DD.ForbiddenTypeData.Diagnostic = diagnostic; in makeForbiddenType() 171 assert(Kind == Access && "Not an access diagnostic in getAccessData() 155 makeForbiddenType(SourceLocation loc,unsigned diagnostic,QualType type,unsigned argument) makeForbiddenType() argument 248 unsigned Diagnostic; global() member [all...] |
| /freebsd-src/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 in HandleDiagnostic() [all...] |
| H A D | TextDiagnosticBuffer.cpp | 9 // This is a concrete diagnostic client, which buffers the diagnostic messages. 14 #include "clang/Basic/Diagnostic.h" 24 const Diagnostic &Info) { in HandleDiagnostic() 32 "Diagnostic not handled during diagnostic buffering!"); in HandleDiagnostic() 58 "Diagnostic not handled during diagnostic flushing!"); in FlushDiagnostics()
|
| 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-src/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-src/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 [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 pragma in getFile() [all...] |
| /freebsd-src/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 ha [all...] |
| /freebsd-src/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-src/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 informatio [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 1 //===- FixItRewriter.cpp - Fix-It Rewriter Diagnostic Client --------------===// 9 // This is a diagnostic client adaptor that performs rewrites as 11 // then forwards any diagnostics to the adapted diagnostic client. 16 #include "clang/Basic/Diagnostic.h" 130 const Diagnostic &Info) { in HandleDiagnostic() 154 // in this diagnostic. in HandleDiagnostic() 199 /// Emit a diagnostic via the adapted diagnostic client. 201 // When producing this diagnostic, we temporarily bypass ourselves, in Diag() 202 // clear out any current diagnostic, and let the downstream client in Diag() 203 // format the diagnostic. in Diag()
|
| /freebsd-src/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_macros.h | 50 /* Diagnostic suppression macros */ 59 /* #pragma GCC diagnostic first appeared in gcc 4.6. */ 64 * diagnostic suppression macros and should not be used anywhere else. 67 # define JEMALLOC_DIAGNOSTIC_PUSH JEMALLOC_PRAGMA__(GCC diagnostic push) 68 # define JEMALLOC_DIAGNOSTIC_POP JEMALLOC_PRAGMA__(GCC diagnostic pop) 70 JEMALLOC_PRAGMA__(GCC diagnostic ignored W) 110 * included by users directly, it does not affect their diagnostic settings.
|