LLVM 19.0.0git
Public Member Functions | List of all members
llvm::LessRecordByID Struct Reference

Sorting predicate to sort record pointers by their unique ID. More...

#include "llvm/TableGen/Record.h"

Public Member Functions

bool operator() (const Record *LHS, const Record *RHS) const
 

Detailed Description

Sorting predicate to sort record pointers by their unique ID.

If you just need a deterministic order, use this, since it just compares two unsigned; the other sorting predicates require string manipulation.

Definition at line 2109 of file Record.h.

Member Function Documentation

◆ operator()()

bool llvm::LessRecordByID::operator() ( const Record LHS,
const Record RHS 
) const
inline

Definition at line 2110 of file Record.h.

References LHS, and RHS.


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