1 #ifndef __TAN_ANALYSIS_REGISTER_DECLARATIONS_H__
2 #define __TAN_ANALYSIS_REGISTER_DECLARATIONS_H__
4 #include "analysis/analysis_action.h"
16 DECLARE_AST_VISITOR_IMPL(
Program);
19 DECLARE_AST_VISITOR_IMPL(
If);
20 DECLARE_AST_VISITOR_IMPL(
VarDecl);
21 DECLARE_AST_VISITOR_IMPL(
ArgDecl);
30 DECLARE_AST_VISITOR_IMPL(
Loop);
33 bool _within_test_comp_error =
false;
36 void register_public_type_decl(
const str& name,
TypeDecl *decl);
Represent if-[else] or if-elif-[else] statements.
A generic representation of Intrinsic variables/functions.
Register all declarations (including local) in the corresponding scopes. Run this stage early to easi...