clang 19.0.0git
Static Public Member Functions | List of all members
clang::extractapi::ToRecordContextCastInfoWrapper< FromTy, IsKnownSubType > Struct Template Reference

#include "clang/ExtractAPI/API.h"

Static Public Member Functions

static bool isPossible (FromTy *From)
 
static RecordContextdoCast (FromTy *From)
 

Detailed Description

template<typename FromTy, bool IsKnownSubType = std::is_base_of_v<RecordContext, FromTy>>
struct clang::extractapi::ToRecordContextCastInfoWrapper< FromTy, IsKnownSubType >

Definition at line 1497 of file API.h.

Member Function Documentation

◆ doCast()

template<typename FromTy , bool IsKnownSubType = std::is_base_of_v<RecordContext, FromTy>>
static RecordContext * clang::extractapi::ToRecordContextCastInfoWrapper< FromTy, IsKnownSubType >::doCast ( FromTy *  From)
inlinestatic

Definition at line 1503 of file API.h.

References clang::extractapi::APIRecord::castToRecordContext().

◆ isPossible()

template<typename FromTy , bool IsKnownSubType = std::is_base_of_v<RecordContext, FromTy>>
static bool clang::extractapi::ToRecordContextCastInfoWrapper< FromTy, IsKnownSubType >::isPossible ( FromTy *  From)
inlinestatic

Definition at line 1501 of file API.h.

References clang::extractapi::RecordContext::classof().


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