Searched refs:Diagnostics (Results 1 - 25 of 52) sorted by relevance

123

/freebsd-current/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,
23 Diagnostics::Context::Context(ConstructMatcherEnum, Diagnostics *Error,
30 Diagnostics::Context::Context(MatcherArgEnum, Diagnostics *Error,
39 Diagnostics::Context::~Context() { Error->ContextStack.pop_back(); }
41 Diagnostics
[all...]
H A DParser.cpp16 #include "clang/ASTMatchers/Dynamic/Diagnostics.h"
71 explicit CodeTokenizer(StringRef &MatcherCode, Diagnostics *Error)
76 CodeTokenizer(StringRef &MatcherCode, Diagnostics *Error,
316 Diagnostics *Error;
385 Diagnostics::Context Ctx(Diagnostics::Context::ConstructMatcher, Error,
496 Diagnostics::Context Ctx(Diagnostics::Context::MatcherArg, Error,
579 Diagnostics::Context Ctx(Diagnostics
[all...]
H A DMarshallers.h25 #include "clang/ASTMatchers/Dynamic/Diagnostics.h"
310 Diagnostics *Error) const = 0;
318 Diagnostics *Error) const {
378 Diagnostics *Error);
396 Diagnostics *Error) const override {
494 ArrayRef<ParserValue> Args, Diagnostics *Error) {
546 Diagnostics *Error);
561 Diagnostics *Error) const override {
655 Diagnostics *Error) {
666 Diagnostics *Erro
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Utility/
H A DDiagnostics.cpp1 //===-- Diagnostics.cpp ---------------------------------------------------===//
9 #include "lldb/Utility/Diagnostics.h"
23 void Diagnostics::Initialize() {
28 void Diagnostics::Terminate() {
33 bool Diagnostics::Enabled() { return InstanceImpl().operator bool(); }
35 std::optional<Diagnostics> &Diagnostics::InstanceImpl() {
36 static std::optional<Diagnostics> g_diagnostics;
40 Diagnostics &Diagnostics
42 Diagnostics::Diagnostics() : m_log_handler(g_num_log_messages) {} function in class:Diagnostics
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h265 SmallVector<DelayedDiagnostic, 4> Diagnostics; member in class:clang::sema::DelayedDiagnosticPool
274 : Parent(Other.Parent), Diagnostics(std::move(Other.Diagnostics)) {
275 Other.Diagnostics.clear();
280 Diagnostics = std::move(Other.Diagnostics);
281 Other.Diagnostics.clear();
287 i = Diagnostics.begin(), e = Diagnostics.end(); i != e; ++i)
295 return (Diagnostics
[all...]
/freebsd-current/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 { class in namespace:lldb_private
30 Diagnostics();
31 ~Diagnostics();
50 static Diagnostics &Instance();
60 static std::optional<Diagnostics> &InstanceImpl();
/freebsd-current/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 { class in namespace:clang::ast_matchers::dynamic
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;
H A DParser.h52 class Diagnostics;
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) {
191 parseMatcherExpression(StringRef &MatcherCode, Diagnostics *Error) {
209 VariantValue *Value, Diagnostics *Error);
211 Diagnostics *Erro
[all...]
H A DRegistry.h19 #include "clang/ASTMatchers/Dynamic/Diagnostics.h"
92 ArrayRef<ParserValue> Args, Diagnostics *Error);
141 Diagnostics *Error);
153 Diagnostics *Error);
/freebsd-current/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceMgrAdapter.h35 DiagnosticsEngine &Diagnostics; member in class:clang::SourceMgrAdapter
54 SourceMgrAdapter(SourceManager &SM, DiagnosticsEngine &Diagnostics,
/freebsd-current/contrib/llvm-project/clang/include/clang/Testing/
H A DTestAST.h92 llvm::ArrayRef<StoredDiagnostic> diagnostics() { return Diagnostics; }
98 std::vector<StoredDiagnostic> Diagnostics; member in class:clang::TestAST
/freebsd-current/contrib/llvm-project/lldb/source/Initialization/
H A DSystemInitializerCommon.cpp16 #include "lldb/Utility/Diagnostics.h"
69 Diagnostics::Initialize();
103 Diagnostics::Terminate();
/freebsd-current/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h84 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; member in class:clang::CompilerInstance
337 /// @name Diagnostics Engine
340 bool hasDiagnostics() const { return Diagnostics != nullptr; }
344 assert(Diagnostics && "Compiler instance has no diagnostics!");
345 return *Diagnostics;
349 assert(Diagnostics && "Compiler instance has no diagnostics!");
350 return Diagnostics;
357 assert(Diagnostics && Diagnostics->getClient() &&
359 return *Diagnostics
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp86 Clang->createDiagnostics(new StoreDiagnostics(Diagnostics, !ErrorOK));
151 Diagnostics.clear();
158 Diagnostics = std::move(M.Diagnostics);
/freebsd-current/contrib/llvm-project/clang/lib/Basic/
H A DSourceMgrAdapter.cpp25 DiagnosticsEngine &Diagnostics,
29 : SrcMgr(SM), Diagnostics(Diagnostics), ErrorDiagID(ErrorDiagID),
120 DiagnosticBuilder Builder = Diagnostics.Report(Loc, DiagID) << Message;
24 SourceMgrAdapter(SourceManager &SM, DiagnosticsEngine &Diagnostics, unsigned ErrorDiagID, unsigned WarningDiagID, unsigned NoteDiagID, OptionalFileEntryRef DefaultFile) argument
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerSortingChecker.cpp47 std::string Diagnostics; local
48 llvm::raw_string_ostream OS(Diagnostics);
H A DPointerIterationChecker.cpp47 std::string Diagnostics; local
48 llvm::raw_string_ostream OS(Diagnostics);
H A DOSObjectCStyleCast.cpp59 std::string Diagnostics;
60 llvm::raw_string_ostream OS(Diagnostics);
H A DGCDAntipatternChecker.cpp187 std::string Diagnostics; local
188 llvm::raw_string_ostream OS(Diagnostics);
/freebsd-current/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectDiagnostics.cpp17 #include "lldb/Utility/Diagnostics.h"
77 return Diagnostics::CreateUniqueDirectory();
88 llvm::Error error = Diagnostics::Instance().Create(*directory);
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/DumpTool/
H A DClangSrcLocDump.cpp101 DiagnosticsEngine Diagnostics(
115 "clang", llvm::sys::getDefaultTargetTriple(), Diagnostics,
135 CompilerInvocation::CreateFromArgs(*Invocation, CC1Args, Diagnostics);
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoring.cpp44 DiagnosticsEngine Diagnostics(
47 SourceManager Sources(Diagnostics, getFiles());
H A DTooling.cpp78 newDriver(DiagnosticsEngine *Diagnostics, const char *BinaryName, argument
82 *Diagnostics, "clang LLVM compiler", std::move(VFS));
133 getCC1Arguments(DiagnosticsEngine *Diagnostics, argument
162 Diagnostics->Report(diag::err_fe_expected_compiler_job)
171 CompilerInvocation *newInvocation(DiagnosticsEngine *Diagnostics, argument
176 CompilerInvocation::CreateFromArgs(*Invocation, CC1Args, *Diagnostics,
388 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics = local
391 // Although `Diagnostics` are used only for command-line parsing, the custom
393 SourceManager SrcMgr(*Diagnostics, *Files);
394 Diagnostics
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DDiagnostic.h106 /// Collection of Diagnostics generated from a single translation unit.
110 std::vector<Diagnostic> Diagnostics; member in struct:clang::tooling::TranslationUnitDiagnostics
/freebsd-current/contrib/llvm-project/lldb/source/Expression/
H A DDiagnosticManager.cpp51 for (const auto &diagnostic : Diagnostics()) {

Completed in 158 milliseconds

123