decompiler  1.0.0
Public Member Functions | List of all members
ghidra::CommentOrder Struct Reference

Compare two Comment pointers. More...

#include <comment.hh>

Public Member Functions

bool operator() (const Comment *a, const Comment *b) const
 Comparison operator. More...
 

Detailed Description

Compare two Comment pointers.

Comments are ordered first by function, then address, then the sub-sort index.

Member Function Documentation

◆ operator()()

bool ghidra::CommentOrder::operator() ( const Comment a,
const Comment b 
) const

Comparison operator.

Parameters
ais the first Comment to compare
bis the second
Returns
true is the first is ordered before the second

References ghidra::Comment::getAddr(), ghidra::Comment::getFuncAddr(), and ghidra::Comment::getUniq().


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