struct TypedefRecord

Declaration

struct TypedefRecord : public APIRecord { /* full declaration omitted */ };

Description

This holds information associated with typedefs. Note: Typedefs for anonymous enums and structs typically don't get emitted by the serializers but still get a TypedefRecord. Instead we use the typedef name as a name for the underlying anonymous struct or enum.

Declared at: clang/include/clang/ExtractAPI/API.h:440

Inherits from: APIRecord

Member Variables

public clang::extractapi::SymbolReference UnderlyingType

Inherited from APIRecord:

public USR
public Name
public Location
public Availability
public Linkage
public Comment
public Declaration
public SubHeading

Method Overview

  • public TypedefRecord(llvm::StringRef USR, llvm::StringRef Name, clang::PresumedLoc Loc, const clang::extractapi::AvailabilityInfo & Availability, const clang::extractapi::DocComment & Comment, clang::extractapi::DeclarationFragments Declaration, clang::extractapi::DeclarationFragments SubHeading, clang::extractapi::SymbolReference UnderlyingType)
  • private virtual void anchor()
  • public static bool classof(const clang::extractapi::APIRecord * Record)

Inherited from APIRecord:

Methods

TypedefRecord(
    llvm::StringRef USR,
    llvm::StringRef Name,
    clang::PresumedLoc Loc,
    const clang::extractapi::AvailabilityInfo&
        Availability,
    const clang::extractapi::DocComment& Comment,
    clang::extractapi::DeclarationFragments
        Declaration,
    clang::extractapi::DeclarationFragments
        SubHeading,
    clang::extractapi::SymbolReference
        UnderlyingType)

Declared at: clang/include/clang/ExtractAPI/API.h:443

Parameters

llvm::StringRef USR
llvm::StringRef Name
clang::PresumedLoc Loc
const clang::extractapi::AvailabilityInfo& Availability
const clang::extractapi::DocComment& Comment
clang::extractapi::DeclarationFragments Declaration
clang::extractapi::DeclarationFragments SubHeading
clang::extractapi::SymbolReference UnderlyingType

virtual void anchor()

Declared at: clang/include/clang/ExtractAPI/API.h:456

static bool classof(
    const clang::extractapi::APIRecord* Record)

Declared at: clang/include/clang/ExtractAPI/API.h:451

Parameters

const clang::extractapi::APIRecord* Record