LLVM  6.0.0svn
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 1581 of file Record.h.

Member Function Documentation

◆ operator()()

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

Definition at line 1582 of file Record.h.

References llvm::Record::getID().


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