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

Member Function Documentation

◆ operator()()

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

Definition at line 2100 of file Record.h.

References LHS, and RHS.


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