Skip to content

CPreproc::If::isValid

Returns 'true' if this appears to be a complete '#if' directive.

Synopsis

Declared in <src/midend/programTransformation/astOutlining/If.hh>

bool
isValid() const;

Description

A 'valid' directive is one which begins with an '#if', ends with an '#endif', and contains zero or more '#elif' in between.

Created with MrDocs