| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Diagnostics.cpp | 1 //===--- Diagnostics.cpp - Helper class for error diagnostics ---*- C++ -*-===// 9 #include "clang/ASTMatchers/Dynamic/Diagnostics.h" 14 Diagnostics::ArgStream Diagnostics::pushContextFrame(ContextType Type, in pushContextFrame() 23 Diagnostics::Context::Context(ConstructMatcherEnum, Diagnostics *Error, in Context() 30 Diagnostics::Context::Context(MatcherArgEnum, Diagnostics *Error, in Context() 39 Diagnostics::Context::~Context() { Error->ContextStack.pop_back(); } in ~Context() 41 Diagnostics::OverloadContext::OverloadContext(Diagnostics *Error) in OverloadContext() 44 Diagnostics::OverloadContext::~OverloadContext() { in ~OverloadContext() 47 Diagnostics::ErrorContent &Dest = Error->Errors[BeginIndex]; in ~OverloadContext() 55 void Diagnostics::OverloadContext::revertErrors() { in revertErrors() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Diagnostics.cpp | 1 //===-- Diagnostics.cpp ---------------------------------------------------===// 9 #include "lldb/Utility/Diagnostics.h" 23 void Diagnostics::Initialize() { in Initialize() 28 void Diagnostics::Terminate() { in Terminate() 33 bool Diagnostics::Enabled() { return InstanceImpl().operator bool(); } in Enabled() 35 std::optional<Diagnostics> &Diagnostics::InstanceImpl() { in InstanceImpl() 36 static std::optional<Diagnostics> g_diagnostics; in InstanceImpl() 40 Diagnostics &Diagnostics 42 Diagnostics::Diagnostics() : m_log_handler(g_num_log_messages) {} Diagnostics() function in Diagnostics [all...] |
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DelayedDiagnostic.h | 1 //===- DelayedDiagnostic.h - Delayed declarator diagnostics -----*- C++ -*-===// 13 /// DelayedDiangostic is used to record diagnostics that are being 15 /// diagnostics -- notably deprecation and access control -- are suppressed 264 /// A collection of diagnostics which were delayed. 267 SmallVector<DelayedDiagnostic, 4> Diagnostics; variable 276 : Parent(Other.Parent), Diagnostics(std::move(Other.Diagnostics)) { in DelayedDiagnosticPool() 277 Other.Diagnostics.clear(); in DelayedDiagnosticPool() 282 Diagnostics = std::move(Other.Diagnostics); 283 Other.Diagnostics.clear(); 289 i = Diagnostics.begin(), e = Diagnostics.end(); i != e; ++i) in ~DelayedDiagnosticPool() [all …]
|
| /freebsd/sys/contrib/edk2/Include/Protocol/ |
| H A D | DriverDiagnostics.h | 2 EFI Driver Diagnostics Protocol 13 /// The global ID for the Driver Diagnostics Protocol as defined in EFI 1.1. 24 /// Performs standard diagnostics on the controller. 28 /// This is an optional diagnostic type that performs diagnostics on the controller that may 33 /// This is an optional diagnostic type that performs diagnostics on the controller that are 40 /// and there is a desire to cancel the current running diagnostics operation. 47 Runs diagnostics on a controller. 50 @param ControllerHandle The handle of the controller to run diagnostics on. 51 @param ChildHandle The handle of the child controller to run diagnostics on 54 bus drivers that wish to run diagnostics on the bus [all …]
|
| H A D | DriverDiagnostics2.h | 22 Runs diagnostics on a controller. 25 @param ControllerHandle The handle of the controller to run diagnostics on. 26 @param ChildHandle The handle of the child controller to run diagnostics on 29 bus drivers that wish to run diagnostics on the bus 31 wishes to run diagnostics on one of its child controllers. 32 @param DiagnosticType Indicates the type of diagnostics to perform on the controller 53 @retval EFI_ACCESS_DENIED The request for initiating diagnostics was unable 63 running diagnostics for the controller specified 70 the diagnostics. 92 /// Used to perform diagnostics on a controller that an EFI Driver is managing.
|
| /freebsd/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectDiagnostics.cpp | 17 #include "lldb/Utility/Diagnostics.h" 29 : CommandObjectParsed(interpreter, "diagnostics dump", in CommandObjectDiagnosticsDump() 30 "Dump diagnostics to disk", nullptr) {} in CommandObjectDiagnosticsDump() 77 return Diagnostics::CreateUniqueDirectory(); in GetDirectory() 88 llvm::Error error = Diagnostics::Instance().Create(*directory); in DoExecute() 90 result.AppendErrorWithFormat("failed to write diagnostics to %s", in DoExecute() 96 result.GetOutputStream() << "diagnostics written to " << *directory << '\n'; in DoExecute() 107 : CommandObjectMultiword(interpreter, "diagnostics", in CommandObjectDiagnostics() 108 "Commands controlling LLDB diagnostics.", in CommandObjectDiagnostics() 109 "diagnostics <subcomman in CommandObjectDiagnostics() [all...] |
| /freebsd/contrib/llvm-project/clang/include/clang-c/ |
| H A D | CXDiagnostic.h | 1 /*===-- clang-c/CXDiagnostic.h - C Index Diagnostics --------------*- C -*-===*\ 10 |* This header provides the interface to C Index diagnostics. *| 77 * Determine the number of diagnostics in a CXDiagnosticSet. 105 * deserialize diagnostics. 110 * Indicates that the file containing the serialized diagnostics 116 * Indicates that the serialized diagnostics file is invalid or 123 * Deserialize a set of diagnostics from a Clang diagnostics bitcode 128 * deserializing the diagnostics. 133 * diagnostics should be released using clang_disposeDiagnosticSet(). 139 * Release a CXDiagnosticSet and all of its contained diagnostics. [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | Diagnostics.h | 1 //===-- Diagnostics.h -------------------------------------------*- C++ -*-===// 25 /// Diagnostics are a collection of files to help investigate bugs and 28 class Diagnostics { 30 Diagnostics(); 31 ~Diagnostics(); 33 /// Gather diagnostics in the given directory. 36 /// Gather diagnostics and print a message to the given output stream. 50 static Diagnostics &Instance(); 60 static std::optional<Diagnostics> &InstanceImpl();
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | DiagnosticOptions.def | 50 DIAGOPT(ShowLine, 1, 1) /// Show line number on diagnostics. 51 DIAGOPT(ShowColumn, 1, 1) /// Show column number on diagnostics. 55 DIAGOPT(ShowCarets, 1, 1) /// Show carets in diagnostics. 59 DIAGOPT(ShowPresumedLoc, 1, 0) /// Show presumed location for diagnostics. 61 /// diagnostics. 66 ENUM_DIAGOPT(Format, TextDiagnosticFormat, 2, Clang) /// Format for diagnostics: 68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences. 72 DIAGOPT(VerifyDiagnostics, 1, 0) /// Check that diagnostics match the expected 73 /// diagnostics, indicated by markers in the 76 DiagnosticLevelMask::None) /// Ignore unexpected diagnostics of [all …]
|
| H A D | Diagnostic.td | 9 // This file defines the TableGen core definitions for the diagnostics 14 // See the Internals Manual, section The Diagnostics Subsystem for an overview. 41 // Textual substitutions which may be performed on the text of diagnostics 45 // diagnostics 52 // diagnostics to specify a category. 77 // All diagnostics emitted by the compiler are an indirect subclass of this. 158 // Definitions for Diagnostics.
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | Diagnostics.h | 1 //===--- Diagnostics.h - Helper class for error diagnostics -----*- C++ -*-===// 10 /// Diagnostics class to manage error messages. 50 class Diagnostics { 110 Context(ConstructMatcherEnum, Diagnostics *Error, StringRef MatcherName, 114 Context(MatcherArgEnum, Diagnostics *Error, StringRef MatcherName, 119 Diagnostics *const Error; 128 OverloadContext(Diagnostics* Error); 135 Diagnostics *const Error; 139 /// Add an error to the diagnostics.
|
| H A D | Parser.h | 52 class Diagnostics; variable 92 Diagnostics *Error) = 0; 109 ArrayRef<ParserValue> Args, Diagnostics *Error) const = 0; 148 Diagnostics *Error) override; 160 Diagnostics *Error) const override; 185 const NamedValueMap *NamedValues, Diagnostics *Error); 187 parseMatcherExpression(StringRef &MatcherCode, Sema *S, Diagnostics *Error) { in parseMatcherExpression() 191 parseMatcherExpression(StringRef &MatcherCode, Diagnostics *Error) { in parseMatcherExpression() 209 VariantValue *Value, Diagnostics *Error); 211 Diagnostics *Error) { in parseExpression() [all …]
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | OSSL_LIB_CTX_set_conf_diagnostics.pod | 6 - Set and get configuration diagnostics 18 diagnostics flag. If I<value> is nonzero subsequent parsing and application 22 diagnostics flag can be also set when a configuration file is being loaded 29 configuration diagnostics flag. 33 OSSL_LIB_CTX_get_conf_diagnostics() returns 0 if the configuration diagnostics
|
| /freebsd/contrib/llvm-project/clang/include/clang/Testing/ |
| H A D | TestAST.h | 59 /// By default, error diagnostics during parsing are reported as gtest errors. 61 /// In either case, all diagnostics appear in TestAST::diagnostics(). 94 /// Returns diagnostics emitted during parsing. 96 llvm::ArrayRef<StoredDiagnostic> diagnostics() { return Diagnostics; } in diagnostics() function 102 std::vector<StoredDiagnostic> Diagnostics; variable
|
| /freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | CompilerInstance.h | 83 /// The diagnostics engine instance. 84 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; variable 226 /// - The diagnostics engine should have already been created by the client. 361 /// @name Diagnostics Engine 364 bool hasDiagnostics() const { return Diagnostics != nullptr; } in hasDiagnostics() 366 /// Get the current diagnostics engine. 368 assert(Diagnostics && "Compiler instance has no diagnostics!"); in getDiagnostics() 369 return *Diagnostics; in getDiagnostics() 373 assert(Diagnostics && "Compiler instance has no diagnostics!"); in getDiagnosticsPtr() 374 return Diagnostics; in getDiagnosticsPtr() [all …]
|
| H A D | SerializedDiagnosticReader.h | 1 //===- SerializedDiagnosticReader.h - Reads diagnostics ---------*- C++ -*-===// 45 /// A location that is represented in the serialized diagnostics. 56 /// A base class that handles reading serialized diagnostics from a file. 59 /// the various constructs that are found in serialized diagnostics. 65 /// Read the diagnostics in \c File 124 /// Visit the version of the set of diagnostics.
|
| H A D | SerializedDiagnosticPrinter.h | 1 //===--- SerializedDiagnosticPrinter.h - Diagnostics serializer -*- C++ -*-===// 26 /// Returns a DiagnosticConsumer that serializes diagnostics to 30 /// transfer of diagnostics to the enclosing build system (e.g., an IDE). 31 /// This allows wrapper tools for Clang to get diagnostics from Clang
|
| /freebsd/contrib/llvm-project/lldb/source/Expression/ |
| H A D | UtilityFunction.cpp | 90 DiagnosticManager diagnostics; in MakeFunctionCaller() local 93 m_caller_up->CompileFunction(thread_to_use_sp, diagnostics); in MakeFunctionCaller() 97 m_function_name.c_str(), diagnostics.GetString().c_str()); in MakeFunctionCaller() 102 diagnostics.Clear(); in MakeFunctionCaller() 105 if (!m_caller_up->WriteFunctionWrapper(exe_ctx, diagnostics)) { in MakeFunctionCaller() 108 m_function_name.c_str(), diagnostics.GetString().c_str()); in MakeFunctionCaller()
|
| /freebsd/secure/lib/libcrypto/man/man3/ |
| H A D | OSSL_LIB_CTX_set_conf_diagnostics.3 | 65 \&\- Set and get configuration diagnostics 77 diagnostics flag. If \fIvalue\fR is nonzero subsequent parsing and application 81 diagnostics flag can be also set when a configuration file is being loaded 88 configuration diagnostics flag. 91 \&\fBOSSL_LIB_CTX_get_conf_diagnostics()\fR returns 0 if the configuration diagnostics
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 78 newDriver(DiagnosticsEngine *Diagnostics, const char *BinaryName, in newDriver() argument 82 *Diagnostics, "clang LLVM compiler", std::move(VFS)); in newDriver() 133 getCC1Arguments(DiagnosticsEngine *Diagnostics, in getCC1Arguments() argument 162 Diagnostics->Report(diag::err_fe_expected_compiler_job) in getCC1Arguments() 171 CompilerInvocation *newInvocation(DiagnosticsEngine *Diagnostics, in newInvocation() argument 176 CompilerInvocation::CreateFromArgs(*Invocation, CC1Args, *Diagnostics, in newInvocation() 388 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics = in run() local 391 // Although `Diagnostics` are used only for command-line parsing, the custom in run() 393 SourceManager SrcMgr(*Diagnostics, *Files); in run() 394 Diagnostics->setSourceManager(&SrcMgr); in run() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Testing/ |
| H A D | TestAST.cpp | 25 // Captures diagnostics into a vector, optionally reporting errors to gtest. 85 // Extra error conditions are reported through diagnostics, set that up first. in TestAST() 87 Clang->createDiagnostics(new StoreDiagnostics(Diagnostics, !ErrorOK)); in TestAST() 137 // We're done gathering diagnostics, detach the consumer so we can destroy it. in TestAST() 154 Diagnostics.clear(); in clear() 161 Diagnostics = std::move(M.Diagnostics); in operator =()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | SerializedDiagnosticReader.cpp | 1 //===- SerializedDiagnosticReader.cpp - Reads diagnostics -----------------===// 29 // Open the diagnostics file. in readDiagnostics() 336 return "Failed to open diagnostics file"; in message() 338 return "Invalid diagnostics signature"; in message() 340 return "Parse error reading diagnostics"; in message() 342 return "Malformed block at top-level of diagnostics"; in message() 354 return "No version provided in diagnostics"; in message() 356 return "Unsupported diagnostics version"; in message() 358 return "Bitcode constructs that are not supported in diagnostics appear"; in message()
|
| H A D | SerializedDiagnosticPrinter.cpp | 1 //===--- SerializedDiagnosticPrinter.cpp - Serializer for diagnostics -----===// 164 /// Build a DiagnosticsEngine to emit diagnostics about the diagnostics 167 /// Remove old copies of the serialized diagnostics. This is necessary 168 /// so that we can detect when subprocesses write diagnostics that we should 172 /// Emit the preamble for the serialized diagnostics. 235 /// Whether this instance should aggregate diagnostics that are 255 /// The BitStreamWriter for the serialized diagnostics. 258 /// The name of the diagnostics file. 287 /// Engine for emitting diagnostics about the diagnostics. 400 /// Emits the preamble of the diagnostics file. [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/ |
| H A D | Diagnostic.h | 1 //===--- Diagnostic.h - Framework for clang diagnostics tools --*- C++ -*-===// 10 // Structures supporting diagnostics and refactorings that span multiple 11 // translation units. Indicate diagnostics reports and replacements 106 /// Collection of Diagnostics generated from a single translation unit. 110 std::vector<Diagnostic> Diagnostics; member
|
| /freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/ |
| H A D | FixItRewriter.h | 10 // suggested by code modification hints attached to diagnostics. It 11 // then forwards any diagnostics to the adapted diagnostic client. 63 /// The diagnostics machinery. 118 /// returns true) indicates whether the diagnostics handled by this 119 /// DiagnosticConsumer should be included in the number of diagnostics
|