LLVM  8.0.1
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 1673 of file Record.h.

Member Function Documentation

◆ operator()()

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

Definition at line 1674 of file Record.h.

References llvm::Record::getID().


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