Home
last modified time | relevance | path

Searched full:diagnostics (Results 1 – 25 of 987) sorted by relevance

12345678910>>...40

/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp1 //===--- 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 …]
H A DParser.cpp16 #include "clang/ASTMatchers/Dynamic/Diagnostics.h"
70 explicit CodeTokenizer(StringRef &MatcherCode, Diagnostics *Error) in CodeTokenizer()
75 CodeTokenizer(StringRef &MatcherCode, Diagnostics *Error, in CodeTokenizer()
315 Diagnostics *Error;
384 Diagnostics::Context Ctx(Diagnostics::Context::ConstructMatcher, Error, in parseIdentifierPrefixImpl()
495 Diagnostics::Context Ctx(Diagnostics::Context::MatcherArg, Error, in parseMatcherBuilder()
578 Diagnostics::Context Ctx(Diagnostics::Context::ConstructMatcher, Error, in parseMatcherBuilder()
609 Diagnostics::Context Ctx(Diagnostics::Context::ConstructMatcher, Error, in parseMatcherBuilder()
663 Diagnostics::Context Ctx(Diagnostics::Context::MatcherArg, Error, in parseMatcherExpressionImpl()
701 Diagnostics::Context Ctx(Diagnostics::Context::ConstructMatcher, Error, in parseMatcherExpressionImpl()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DDiagnostics.cpp1 //===-- 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 DDelayedDiagnostic.h1 //===- 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 DDriverDiagnostics.h2 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 DDriverDiagnostics2.h22 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 DCommandObjectDiagnostics.cpp17 #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()
106 : CommandObjectMultiword(interpreter, "diagnostics", in CommandObjectDiagnostics()
107 "Commands controlling LLDB diagnostics.", in CommandObjectDiagnostics()
108 "diagnostics <subcommand> [<command-options>]") { in CommandObjectDiagnostics()
/freebsd/contrib/llvm-project/clang/include/clang-c/
H A DCXDiagnostic.h1 /*===-- 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 DDiagnostics.h1 //===-- 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 DDiagnosticOptions.def50 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 DDiagnostic.td9 // 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.
166 // the compatibility ids in the same place as the other diagnostics (which means
225 // Definitions for Diagnostics.
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h1 //===--- 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 DParser.h52 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 DOSSL_LIB_CTX_set_conf_diagnostics.pod6 - 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 DTestAST.h59 /// 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 DSerializedDiagnosticReader.h1 //===- 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 DCompilerInstance.h85 /// The diagnostics engine instance.
86 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; variable
226 /// - The diagnostics engine should have already been created by the client.
347 /// @name Diagnostics Engine
350 bool hasDiagnostics() const { return Diagnostics != nullptr; } in hasDiagnostics()
352 /// Get the current diagnostics engine.
354 assert(Diagnostics && "Compiler instance has no diagnostics!"); in getDiagnostics()
355 return *Diagnostics; in getDiagnostics()
359 assert(Diagnostics && "Compiler instance has no diagnostics!"); in getDiagnosticsPtr()
360 return Diagnostics; in getDiagnosticsPtr()
[all …]
H A DSerializedDiagnosticPrinter.h1 //===--- 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 DUtilityFunction.cpp90 DiagnosticManager diagnostics; in MakeFunctionCaller() local
93 m_caller_up->CompileFunction(thread_to_use_sp, diagnostics); in MakeFunctionCaller()
95 error = Status::FromError(diagnostics.GetAsError( in MakeFunctionCaller()
103 diagnostics.Clear(); in MakeFunctionCaller()
106 if (!m_caller_up->WriteFunctionWrapper(exe_ctx, diagnostics)) { in MakeFunctionCaller()
107 error = Status::FromError(diagnostics.GetAsError( in MakeFunctionCaller()
/freebsd/secure/lib/libcrypto/man/man3/
H A DOSSL_LIB_CTX_set_conf_diagnostics.368 \&\- Set and get configuration diagnostics
80 diagnostics flag. If \fIvalue\fR is nonzero subsequent parsing and application
84 diagnostics flag can be also set when a configuration file is being loaded
91 configuration diagnostics flag.
94 \&\fBOSSL_LIB_CTX_get_conf_diagnostics()\fR returns 0 if the configuration diagnostics
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp75 newDriver(DiagnosticsEngine *Diagnostics, const char *BinaryName, in newDriver() argument
79 *Diagnostics, "clang LLVM compiler", std::move(VFS)); in newDriver()
130 getCC1Arguments(DiagnosticsEngine *Diagnostics, in getCC1Arguments() argument
159 Diagnostics->Report(diag::err_fe_expected_compiler_job) in getCC1Arguments()
168 CompilerInvocation *newInvocation(DiagnosticsEngine *Diagnostics, in newInvocation() argument
173 CompilerInvocation::CreateFromArgs(*Invocation, CC1Args, *Diagnostics, in newInvocation()
385 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics = in run() local
389 // Although `Diagnostics` are used only for command-line parsing, the custom in run()
391 SourceManager SrcMgr(*Diagnostics, *Files); in run()
392 Diagnostics->setSourceManager(&SrcMgr); in run()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp25 // Captures diagnostics into a vector, optionally reporting errors to gtest.
99 // Extra error conditions are reported through diagnostics, set that up first. in TestAST()
101 Clang->createDiagnostics(*VFS, 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 DSerializedDiagnosticReader.cpp1 //===- SerializedDiagnosticReader.cpp - Reads diagnostics -----------------===//
27 // Open the diagnostics file. in readDiagnostics()
334 return "Failed to open diagnostics file"; in message()
336 return "Invalid diagnostics signature"; in message()
338 return "Parse error reading diagnostics"; in message()
340 return "Malformed block at top-level of diagnostics"; in message()
352 return "No version provided in diagnostics"; in message()
354 return "Unsupported diagnostics version"; in message()
356 return "Bitcode constructs that are not supported in diagnostics appear"; in message()
H A DSerializedDiagnosticPrinter.cpp1 //===--- SerializedDiagnosticPrinter.cpp - Serializer for diagnostics -----===//
161 /// Build a DiagnosticsEngine to emit diagnostics about the diagnostics
164 /// Remove old copies of the serialized diagnostics. This is necessary
165 /// so that we can detect when subprocesses write diagnostics that we should
169 /// Emit the preamble for the serialized diagnostics.
232 /// Whether this instance should aggregate diagnostics that are
252 /// The BitStreamWriter for the serialized diagnostics.
255 /// The name of the diagnostics file.
284 /// Engine for emitting diagnostics about the diagnostics.
399 /// Emits the preamble of the diagnostics file.
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DDiagnostic.h1 //===--- 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

12345678910>>...40