Porytiles
Loading...
Searching...
No Matches
porytiles::SkippedConstruct Struct Reference

A construct the tolerant scanners recorded but could not fully evaluate. More...

#include <tolerant_scan.hpp>

Collaboration diagram for porytiles::SkippedConstruct:
[legend]

Public Member Functions

bool operator== (const SkippedConstruct &) const =default
 

Public Attributes

std::string name
 
SourcePosition position
 
std::string reason
 

Detailed Description

A construct the tolerant scanners recorded but could not fully evaluate.

Tolerant scans do not abort when a single construct fails to evaluate (for example a #define whose value references a macro from an unparsed header). Instead the offender is captured here with enough context to report it, and scanning continues. The name still counts as defined for later conditional decisions.

Definition at line 20 of file tolerant_scan.hpp.

Member Function Documentation

◆ operator==()

bool porytiles::SkippedConstruct::operator== ( const SkippedConstruct ) const
default

Member Data Documentation

◆ name

std::string porytiles::SkippedConstruct::name

Definition at line 21 of file tolerant_scan.hpp.

◆ position

SourcePosition porytiles::SkippedConstruct::position

Definition at line 22 of file tolerant_scan.hpp.

◆ reason

std::string porytiles::SkippedConstruct::reason

Definition at line 23 of file tolerant_scan.hpp.


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