LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::RecordsEntry Struct Reference

RecordsEntry - Holds exactly one of a Record, ForeachLoop, or AssertionInfo. More...

#include "TableGen/TGParser.h"

Collaboration diagram for llvm::RecordsEntry:
Collaboration graph
[legend]

Public Member Functions

void dump () const
 
 RecordsEntry ()
 
 RecordsEntry (std::unique_ptr< Record > Rec)
 
 RecordsEntry (std::unique_ptr< ForeachLoop > Loop)
 
 RecordsEntry (std::unique_ptr< Record::AssertionInfo > Assertion)
 

Public Attributes

std::unique_ptr< RecordRec
 
std::unique_ptr< ForeachLoopLoop
 
std::unique_ptr< Record::AssertionInfoAssertion
 

Detailed Description

RecordsEntry - Holds exactly one of a Record, ForeachLoop, or AssertionInfo.

Definition at line 41 of file TGParser.h.

Constructor & Destructor Documentation

◆ RecordsEntry() [1/4]

llvm::RecordsEntry::RecordsEntry ( )
inline

Definition at line 48 of file TGParser.h.

◆ RecordsEntry() [2/4]

llvm::RecordsEntry::RecordsEntry ( std::unique_ptr< Record Rec)
inline

Definition at line 49 of file TGParser.h.

◆ RecordsEntry() [3/4]

llvm::RecordsEntry::RecordsEntry ( std::unique_ptr< ForeachLoop Loop)
inline

Definition at line 50 of file TGParser.h.

◆ RecordsEntry() [4/4]

llvm::RecordsEntry::RecordsEntry ( std::unique_ptr< Record::AssertionInfo Assertion)
inline

Definition at line 52 of file TGParser.h.

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void RecordsEntry::dump ( ) const

Definition at line 3767 of file TGParser.cpp.

References llvm::Loop::dump(), and Rec.

Member Data Documentation

◆ Assertion

std::unique_ptr<Record::AssertionInfo> llvm::RecordsEntry::Assertion

Definition at line 44 of file TGParser.h.

◆ Loop

std::unique_ptr<ForeachLoop> llvm::RecordsEntry::Loop

Definition at line 43 of file TGParser.h.

◆ Rec

std::unique_ptr<Record> llvm::RecordsEntry::Rec

Definition at line 42 of file TGParser.h.

Referenced by dump().


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