clang 20.0.0git
|
The context of an execution, including the information about compilation and results. More...
#include "clang/Tooling/Execution.h"
Public Member Functions | |
virtual | ~ExecutionContext () |
ExecutionContext (ToolResults *Results) | |
Initializes a context. This does not take ownership of Results . | |
void | reportResult (StringRef Key, StringRef Value) |
Adds a KV pair to the result container of this execution. | |
virtual std::string | getRevision () |
virtual std::string | getCorpus () |
virtual std::string | getCurrentCompilationUnit () |
The context of an execution, including the information about compilation and results.
Definition at line 77 of file Execution.h.
|
inlinevirtual |
Definition at line 79 of file Execution.h.
|
inlineexplicit |
Initializes a context. This does not take ownership of Results
.
Definition at line 82 of file Execution.h.
|
inlinevirtual |
Definition at line 93 of file Execution.h.
|
inlinevirtual |
Definition at line 96 of file Execution.h.
|
inlinevirtual |
Definition at line 89 of file Execution.h.
void clang::tooling::ExecutionContext::reportResult | ( | StringRef | Key, |
StringRef | Value | ||
) |
Adds a KV pair to the result container of this execution.
Definition at line 38 of file Execution.cpp.
References clang::tooling::ToolResults::addResult().