clang 20.0.0git
|
An abstraction for the result of a tool execution. More...
#include "clang/Tooling/Execution.h"
Public Member Functions | |
virtual | ~ToolResults ()=default |
virtual void | addResult (StringRef Key, StringRef Value)=0 |
virtual std::vector< std::pair< llvm::StringRef, llvm::StringRef > > | AllKVResults ()=0 |
virtual void | forEachResult (llvm::function_ref< void(StringRef Key, StringRef Value)> Callback)=0 |
An abstraction for the result of a tool execution.
For example, the underlying result can be in-memory or on-disk.
Results should be string key-value pairs. For example, a refactoring tool can use source location as key and a replacement in YAML format as value.
Definition at line 46 of file Execution.h.
|
virtualdefault |
|
pure virtual |
Implemented in clang::tooling::InMemoryToolResults.
Referenced by clang::tooling::ExecutionContext::reportResult().
|
pure virtual |
Implemented in clang::tooling::InMemoryToolResults.
|
pure virtual |
Implemented in clang::tooling::InMemoryToolResults.