Home
last modified time | relevance | path

Searched refs:Diagnostics (Results 1 – 25 of 59) 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 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.h84 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; variable
364 bool hasDiagnostics() const { return Diagnostics != nullptr; } in hasDiagnostics()
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()
381 assert(Diagnostics && Diagnostics->getClient() && in getDiagnosticClient()
383 return *Diagnostics->getClient(); in getDiagnosticClient()
591 if (Diagnostics) in getPCHContainerWriter()
592 Diagnostics->Report(diag::err_module_format_unhandled) << Format; in getPCHContainerWriter()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp78 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
393 SourceManager SrcMgr(*Diagnostics, *Files); in run()
394 Diagnostics->setSourceManager(&SrcMgr); in run()
400 newInvocation(&*Diagnostics, CC1Args, BinaryName)); in run()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp87 Clang->createDiagnostics(new StoreDiagnostics(Diagnostics, !ErrorOK)); in TestAST()
154 Diagnostics.clear(); in clear()
161 Diagnostics = std::move(M.Diagnostics); in operator =()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowAnalysis.h350 llvm::SmallVector<Diagnostic> Diagnostics; variable
355 &Diagnostics](const CFGElement &Elt,
363 llvm::move(EltDiagnostics, std::back_inserter(Diagnostics));
369 &Diagnostics](const CFGElement &Elt,
377 llvm::move(EltDiagnostics, std::back_inserter(Diagnostics));
390 return Diagnostics;
/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/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/clang/lib/StaticAnalyzer/Checkers/
H A DPointerIterationChecker.cpp47 std::string Diagnostics; in emitDiagnostics() local
48 llvm::raw_string_ostream OS(Diagnostics); in emitDiagnostics()
H A DPointerSortingChecker.cpp47 std::string Diagnostics; in emitDiagnostics() local
48 llvm::raw_string_ostream OS(Diagnostics); in emitDiagnostics()
H A DOSObjectCStyleCast.cpp59 std::string Diagnostics; in emitDiagnostics() local
60 llvm::raw_string_ostream OS(Diagnostics); in emitDiagnostics()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectDiagnostics.cpp17 #include "lldb/Utility/Diagnostics.h"
77 return Diagnostics::CreateUniqueDirectory(); in GetDirectory()
88 llvm::Error error = Diagnostics::Instance().Create(*directory); in DoExecute()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticInstallAPIKinds.td10 // InstallAPI Diagnostics
34 // Diagnostics about symbols.
57 // Diagnostics about load commands.
H A DDiagnosticRefactoringKinds.td10 // Refactoring Diagnostics
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp416 DiagnosticsEngine &Diagnostics, in Build() argument
466 Clang->setDiagnostics(&Diagnostics); in Build()
481 Diagnostics.Reset(); in Build()
482 ProcessWarningOptions(Diagnostics, Clang->getDiagnosticOpts()); in Build()
485 createVFSFromCompilerInvocation(Clang->getInvocation(), Diagnostics, VFS); in Build()
492 new SourceManager(Diagnostics, Clang->getFileManager())); in Build()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DUserExpression.cpp331 if (!diagnostic_manager.Diagnostics().empty()) in Evaluate()
351 if (!diagnostic_manager.Diagnostics().size()) in Evaluate()
379 if (!diagnostic_manager.Diagnostics().size()) in Evaluate()
H A DDiagnosticManager.cpp51 for (const auto &diagnostic : Diagnostics()) { in GetString()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DDiagnostic.h110 std::vector<Diagnostic> Diagnostics; member
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp243 DiagnosticsEngine Diagnostics( in fillRanges() local
246 SourceManager Sources(Diagnostics, Files); in fillRanges()
524 DiagnosticsEngine Diagnostics( in format() local
527 SourceManager Sources(Diagnostics, Files); in format()

123