libabigail
Loading...
Searching...
No Matches
data_member_comp Struct Reference

A comparison functor to compare two data members based on their offset. More...

#include <abg-comparison-priv.h>

Public Member Functions

bool compare_data_members (const var_decl_sptr &first_dm, const var_decl_sptr &second_dm) const
 Compare two data members.
 
bool operator() (const changed_var_sptr &f, const changed_var_sptr &s) const
 Compare two data members.
 
bool operator() (const decl_base_sptr &f, const decl_base_sptr &s) const
 Compare two data members.
 

Detailed Description

A comparison functor to compare two data members based on their offset.

Definition at line 586 of file abg-comparison-priv.h.

Member Function Documentation

◆ compare_data_members()

bool compare_data_members ( const var_decl_sptr & first_dm,
const var_decl_sptr & second_dm ) const
inline

Compare two data members.

First look at their offset and then their name.

@parm first_dm the first data member to consider.

Parameters
second_dmthe second data member to consider.

Definition at line 597 of file abg-comparison-priv.h.

◆ operator()() [1/2]

bool operator() ( const changed_var_sptr & f,
const changed_var_sptr & s ) const
inline

Compare two data members.

First look at their offset and then their name.

@parm first_dm the first data member to consider.

Parameters
second_dmthe second data member to consider.

Definition at line 643 of file abg-comparison-priv.h.

◆ operator()() [2/2]

bool operator() ( const decl_base_sptr & f,
const decl_base_sptr & s ) const
inline

Compare two data members.

First look at their offset and then their name.

@parm first_dm the first data member to consider.

Parameters
second_dmthe second data member to consider.

Definition at line 626 of file abg-comparison-priv.h.


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