clang  9.0.0
Public Member Functions | List of all members
clang::tooling::StencilPart Class Reference

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

#include "clang/Tooling/Refactoring/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...
 
bool operator== (const StencilPart &Other) 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 69 of file Stencil.h.

Constructor & Destructor Documentation

◆ StencilPart()

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

Definition at line 71 of file Stencil.h.

Member Function Documentation

◆ eval()

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

See StencilPartInterface::eval().

Definition at line 75 of file Stencil.h.

◆ operator==()

bool clang::tooling::StencilPart::operator== ( const StencilPart Other) const
inline

Definition at line 80 of file Stencil.h.


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