clang  10.0.0svn
Public Member Functions | List of all members
clang::transformer::StencilPart Class Reference

A copyable facade for a std::unique_ptr<StencilPartInterface>. More...

#include "clang/Tooling/Transformer/Stencil.h"

Public Member Functions

 StencilPart (std::shared_ptr< StencilPartInterface > Impl)
 
llvm::Error eval (const ast_matchers::MatchFinder::MatchResult &Match, std::string *Result) const
 See StencilPartInterface::eval(). More...
 
std::string toString () const
 

Detailed Description

A copyable facade for a std::unique_ptr<StencilPartInterface>.

Copies result in a copy of the underlying pointee object.

Definition at line 66 of file Stencil.h.

Constructor & Destructor Documentation

◆ StencilPart()

clang::transformer::StencilPart::StencilPart ( std::shared_ptr< StencilPartInterface Impl)
inlineexplicit

Definition at line 68 of file Stencil.h.

Member Function Documentation

◆ eval()

llvm::Error clang::transformer::StencilPart::eval ( const ast_matchers::MatchFinder::MatchResult Match,
std::string *  Result 
) const
inline

See StencilPartInterface::eval().

Definition at line 72 of file Stencil.h.

◆ toString()

std::string clang::transformer::StencilPart::toString ( ) const
inline

Definition at line 77 of file Stencil.h.


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