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

#include "clang/ExtractAPI/API.h"

Static Public Member Functions

static bool isPossible (RecordContext *Ctx)
 
static ToTy * doCast (RecordContext *Ctx)
 

Detailed Description

template<typename ToTy, bool IsKnownSubType = std::is_base_of_v<RecordContext, ToTy>>
struct clang::extractapi::FromRecordContextCastInfoWrapper< ToTy, IsKnownSubType >

Definition at line 1519 of file API.h.

Member Function Documentation

◆ doCast()

template<typename ToTy , bool IsKnownSubType = std::is_base_of_v<RecordContext, ToTy>>
static ToTy * clang::extractapi::FromRecordContextCastInfoWrapper< ToTy, IsKnownSubType >::doCast ( RecordContext Ctx)
inlinestatic

Definition at line 1528 of file API.h.

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

◆ isPossible()

template<typename ToTy , bool IsKnownSubType = std::is_base_of_v<RecordContext, ToTy>>
static bool clang::extractapi::FromRecordContextCastInfoWrapper< ToTy, IsKnownSubType >::isPossible ( RecordContext Ctx)
inlinestatic

Definition at line 1524 of file API.h.

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


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