Home
last modified time | relevance | path

Searched refs:Diagnostics (Results 1 – 25 of 63) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp14 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()
60 Diagnostics::ArgStream &Diagnostics::ArgStream::operator<<(const Twine &Arg) { in operator <<()
65 Diagnostics::ArgStream Diagnostics::addError(SourceRange Range, in addError()
[all …]
H A DParser.cpp70 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()
721 Diagnostics::Context Ctx(Diagnostics::Context::ConstructMatcher, Error, in parseMatcherExpressionImpl()
[all …]
H A DMarshallers.h310 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 *Error) {
679 Diagnostics *Error) {
[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.h267 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()
297 return (Diagnostics.empty() && (!Parent || Parent->empty())); in empty()
302 Diagnostics.push_back(diag); in add()
307 if (pool.Diagnostics.empty()) return; in steal()
309 if (Diagnostics.empty()) { in steal()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
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 …]
H A DDiagnostics.h50 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;
H A DRegistry.h92 ArrayRef<ParserValue> Args, Diagnostics *Error);
141 Diagnostics *Error);
153 Diagnostics *Error);
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DDiagnostics.h28 class Diagnostics {
30 Diagnostics();
31 ~Diagnostics();
50 static Diagnostics &Instance();
60 static std::optional<Diagnostics> &InstanceImpl();
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h86 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; variable
350 bool hasDiagnostics() const { return Diagnostics != nullptr; } in hasDiagnostics()
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()
367 assert(Diagnostics && Diagnostics->getClient() && in getDiagnosticClient()
369 return *Diagnostics->getClient(); in getDiagnosticClient()
577 if (Diagnostics) in getPCHContainerWriter()
578 Diagnostics->Report(diag::err_module_format_unhandled) << Format; in getPCHContainerWriter()
[all …]
/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
391 SourceManager SrcMgr(*Diagnostics, *Files); in run()
392 Diagnostics->setSourceManager(&SrcMgr); in run()
398 newInvocation(&*Diagnostics, CC1Args, BinaryName)); in run()
[all …]
H A DRefactoring.cpp42 DiagnosticsEngine Diagnostics( in runAndSave() local
45 SourceManager Sources(Diagnostics, getFiles()); in runAndSave()
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp101 Clang->createDiagnostics(*VFS, new StoreDiagnostics(Diagnostics, !ErrorOK)); in TestAST()
154 Diagnostics.clear(); in clear()
161 Diagnostics = std::move(M.Diagnostics); in operator =()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DOSObjectCStyleCast.cpp59 std::string Diagnostics; in emitDiagnostics() local
60 llvm::raw_string_ostream OS(Diagnostics); in emitDiagnostics()
71 Diagnostics, in emitDiagnostics()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowAnalysis.h334 llvm::SmallVector<Diagnostic> Diagnostics; variable
339 &Diagnostics](const CFGElement &Elt,
347 llvm::move(EltDiagnostics, std::back_inserter(Diagnostics));
353 &Diagnostics](const CFGElement &Elt,
361 llvm::move(EltDiagnostics, std::back_inserter(Diagnostics));
374 return Diagnostics;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DMemoryUnsafeCastChecker.cpp49 std::string Diagnostics; in emitDiagnostics() local
50 llvm::raw_string_ostream OS(Diagnostics); in emitDiagnostics()
69 std::string Diagnostics; in emitDiagnosticsUnrelated() local
70 llvm::raw_string_ostream OS(Diagnostics); in emitDiagnosticsUnrelated()
/freebsd/contrib/llvm-project/clang/include/clang/Testing/
H A DTestAST.h96 llvm::ArrayRef<StoredDiagnostic> diagnostics() { return Diagnostics; } in diagnostics()
102 std::vector<StoredDiagnostic> Diagnostics; variable
/freebsd/contrib/llvm-project/lldb/source/Initialization/
H A DSystemInitializerCommon.cpp16 #include "lldb/Utility/Diagnostics.h"
69 Diagnostics::Initialize(); in Initialize()
103 Diagnostics::Terminate();
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectDiagnostics.cpp77 return Diagnostics::CreateUniqueDirectory(); in GetDirectory()
88 llvm::Error error = Diagnostics::Instance().Create(*directory); in DoExecute()
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDiagnosticManager.h110 const DiagnosticList &Diagnostics() const { return m_diagnostics; } in Diagnostics() function
111 DiagnosticList &Diagnostics() { return m_diagnostics; } in Diagnostics() function
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticInstallAPIKinds.td10 // InstallAPI Diagnostics
34 // Diagnostics about symbols.
57 // Diagnostics about load commands.
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp415 DiagnosticsEngine &Diagnostics, in Build() argument
464 Clang->setDiagnostics(&Diagnostics); in Build()
479 Diagnostics.Reset(); in Build()
480 ProcessWarningOptions(Diagnostics, Clang->getDiagnosticOpts(), *VFS); in Build()
483 createVFSFromCompilerInvocation(Clang->getInvocation(), Diagnostics, VFS); in Build()
490 new SourceManager(Diagnostics, Clang->getFileManager())); in Build()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DUserExpression.cpp338 if (diagnostic_manager.Diagnostics().empty()) in Evaluate()
356 if (diagnostic_manager.Diagnostics().empty()) in Evaluate()
383 if (diagnostic_manager.Diagnostics().empty()) in Evaluate()
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp244 DiagnosticsEngine Diagnostics( in fillRanges() local
246 SourceManager Sources(Diagnostics, Files); in fillRanges()
520 DiagnosticsEngine Diagnostics( in format() local
523 SourceManager Sources(Diagnostics, Files); in format()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DDiagnostic.h110 std::vector<Diagnostic> Diagnostics; member

123