clang 22.0.0git
clang::extractapi::ToRecordContextCastInfoWrapper< FromTy, IsKnownSubType > Struct Template Reference

#include "clang/ExtractAPI/API.h"

Inheritance diagram for clang::extractapi::ToRecordContextCastInfoWrapper< FromTy, IsKnownSubType >:
[legend]

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

Member Function Documentation

◆ doCast()

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

Definition at line 1534 of file API.h.

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

◆ isPossible()

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

Definition at line 1532 of file API.h.

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


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