clang 22.0.0git
clang::extractapi::FromRecordContextCastInfoWrapper< ToTy, IsKnownSubType > Struct Template Reference

#include "clang/ExtractAPI/API.h"

Inheritance diagram for clang::extractapi::FromRecordContextCastInfoWrapper< ToTy, IsKnownSubType >:
[legend]

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 1553 of file API.h.

Member Function Documentation

◆ doCast()

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

Definition at line 1562 of file API.h.

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

◆ isPossible()

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

Definition at line 1558 of file API.h.

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


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