GCC Middle and Back End API Reference
diagnostics::option_id Struct Reference

#include <option-id.h>

Public Member Functions

 option_id ()
 option_id (int idx)
bool operator== (option_id other) const

Data Fields

int m_idx

Detailed Description

A class to use for the ID of an option that controls
a particular diagnostic.
This is just a wrapper around "int", but better documents
the intent of the code.   

Constructor & Destructor Documentation

◆ option_id() [1/2]

diagnostics::option_id::option_id ( )
inline

References m_idx.

Referenced by operator==().

◆ option_id() [2/2]

diagnostics::option_id::option_id ( int idx)
inline

References m_idx.

Member Function Documentation

◆ operator==()

bool diagnostics::option_id::operator== ( option_id other) const
inline

References m_idx, and option_id().

Field Documentation

◆ m_idx


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