LLVM 20.0.0git
Public Member Functions | List of all members
AttributeComparator Struct Reference

Attribute comparator that only compares attribute keys. More...

Public Member Functions

bool operator() (Attribute A0, Attribute A1) const
 
bool operator() (Attribute A0, Attribute::AttrKind Kind) const
 
bool operator() (Attribute A0, StringRef Kind) const
 

Detailed Description

Attribute comparator that only compares attribute keys.

Enum attributes are sorted before string attributes.

Definition at line 1825 of file Attributes.cpp.

Member Function Documentation

◆ operator()() [1/3]

bool AttributeComparator::operator() ( Attribute  A0,
Attribute  A1 
) const
inline

◆ operator()() [2/3]

bool AttributeComparator::operator() ( Attribute  A0,
Attribute::AttrKind  Kind 
) const
inline

◆ operator()() [3/3]

bool AttributeComparator::operator() ( Attribute  A0,
StringRef  Kind 
) const
inline

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