clang  6.0.0svn
Public Member Functions | List of all members
clang::tooling::InMemoryToolResults Class Reference

#include "clang/Tooling/Execution.h"

Inheritance diagram for clang::tooling::InMemoryToolResults:
Inheritance graph
[legend]
Collaboration diagram for clang::tooling::InMemoryToolResults:
Collaboration graph
[legend]

Public Member Functions

void addResult (StringRef Key, StringRef Value) override
 
std::vector< std::pair< std::string, std::string > > AllKVResults () override
 
void forEachResult (llvm::function_ref< void(StringRef Key, StringRef Value)> Callback) override
 
- Public Member Functions inherited from clang::tooling::ToolResults
virtual ~ToolResults ()=default
 

Detailed Description

Definition at line 53 of file Execution.h.

Member Function Documentation

◆ addResult()

void clang::tooling::InMemoryToolResults::addResult ( StringRef  Key,
StringRef  Value 
)
overridevirtual

Implements clang::tooling::ToolResults.

Definition at line 23 of file Execution.cpp.

◆ AllKVResults()

std::vector< std::pair< std::string, std::string > > clang::tooling::InMemoryToolResults::AllKVResults ( )
overridevirtual

Implements clang::tooling::ToolResults.

Definition at line 28 of file Execution.cpp.

◆ forEachResult()

void clang::tooling::InMemoryToolResults::forEachResult ( llvm::function_ref< void(StringRef Key, StringRef Value)>  Callback)
overridevirtual

Implements clang::tooling::ToolResults.

Definition at line 32 of file Execution.cpp.


The documentation for this class was generated from the following files: