struct StructRecord

Declaration

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

Description

This holds information associated with structs.

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

Inherits from: APIRecord

Member Variables

public SmallVector<std::unique_ptr<StructFieldRecord>> Fields

Inherited from APIRecord:

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

Method Overview

  • public StructRecord(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)
  • private virtual void anchor()
  • public static bool classof(const clang::extractapi::APIRecord * Record)

Inherited from APIRecord:

Methods

StructRecord(
    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)

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

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

virtual void anchor()

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

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

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

Parameters

const clang::extractapi::APIRecord* Record