Gyoji Compiler
Loading...
Searching...
No Matches
List of all members
Gyoji::analysis::AnalysisPassVariableScopePairing Class Reference

This pass ensures that every variable that has been declared is also paired with an un-declare. More...

#include <gyoji-analysis.hpp>

Inheritance diagram for Gyoji::analysis::AnalysisPassVariableScopePairing:
Inheritance graph
[legend]
Collaboration diagram for Gyoji::analysis::AnalysisPassVariableScopePairing:
Collaboration graph
[legend]

Detailed Description

This pass ensures that every variable that has been declared is also paired with an un-declare.

This analysis pass checks to make sure that for every path through the code, if a variable is declared, it is also un-declared and also guarantees that each of the constructors called for local variables is matched with a destructor, guaranteeing that it is safe to use constructor/destructor pairs in a way that matches the lexical scopes.


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