LLVM  4.0.0
Static Public Member Functions | List of all members
llvm::PassInfoMixin< DerivedT > Struct Template Reference

A CRTP mix-in to automatically provide informational APIs needed for passes. More...

#include <PassManager.h>

Inherited by llvm::AnalysisInfoMixin< DerivedT >.

Static Public Member Functions

static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

Detailed Description

template<typename DerivedT>
struct llvm::PassInfoMixin< DerivedT >

A CRTP mix-in to automatically provide informational APIs needed for passes.

This provides some boilerplate for types that are passes.

Definition at line 311 of file PassManager.h.

Member Function Documentation

template<typename DerivedT>
static StringRef llvm::PassInfoMixin< DerivedT >::name ( )
inlinestatic

Gets the name of the pass we are mixed into.

Definition at line 313 of file PassManager.h.


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