LLVM 22.0.0git
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 32 of file Record.h.

Constructor & Destructor Documentation

◆ RecordLoc() [1/2]

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

Referenced by operator==().

◆ RecordLoc() [2/2]

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

Definition at line 34 of file Record.h.

References File, Line, and llvm::move().

Member Function Documentation

◆ isValid()

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

Whether there is source location tied to the RecordLoc object.

Definition at line 38 of file Record.h.

References File.

◆ operator==()

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

Definition at line 40 of file Record.h.

References File, Line, and RecordLoc().

Member Data Documentation

◆ File

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

Definition at line 44 of file Record.h.

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

◆ Line

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

Definition at line 45 of file Record.h.

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


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