LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MachO::RecordLoc Struct Reference

#include "llvm/TextAPI/Record.h"

Public Member Functions

 RecordLoc ()=default
 
 RecordLoc (std::string File, unsigned Line)
 
bool isValid () const
 Whether there is source location tied to the RecordLoc object.
 
bool operator== (const RecordLoc &O) const
 

Public Attributes

const std::string File
 
const unsigned Line = 0
 

Detailed Description

Definition at line 31 of file Record.h.

Constructor & Destructor Documentation

◆ RecordLoc() [1/2]

llvm::MachO::RecordLoc::RecordLoc ( )
default

◆ RecordLoc() [2/2]

llvm::MachO::RecordLoc::RecordLoc ( std::string  File,
unsigned  Line 
)
inline

Definition at line 33 of file Record.h.

Member Function Documentation

◆ isValid()

bool llvm::MachO::RecordLoc::isValid ( ) const
inline

Whether there is source location tied to the RecordLoc object.

Definition at line 37 of file Record.h.

References File.

◆ operator==()

bool llvm::MachO::RecordLoc::operator== ( const RecordLoc O) const
inline

Definition at line 39 of file Record.h.

References File, and Line.

Member Data Documentation

◆ File

const std::string llvm::MachO::RecordLoc::File

Definition at line 43 of file Record.h.

Referenced by isValid(), and operator==().

◆ Line

const unsigned llvm::MachO::RecordLoc::Line = 0

Definition at line 44 of file Record.h.

Referenced by operator==().


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