1 #include <featureTests.h>
2 #ifdef ROSE_ENABLE_SOURCE_ANALYSIS
4 #if !defined(FUNCTION_STATE_H) && !defined(NO_FUNCTION_STATE_H)
5 #define FUNCTION_STATE_H
7 #include "analysisCommon.h"
9 #include "CallGraphTraverse.h"
23 static std::set<FunctionState*> allDefinedFuncs;
24 static std::set<FunctionState*> allFuncs;
25 static bool allFuncsComputed;
36 static std::set<FunctionState*>& getAllDefinedFuncs();
39 static std::set<FunctionState*>& getAllFuncs();
51 static void setArgParamMap(
SgFunctionCallExp* call, std::map<varID, varID>& argParamMap);
55 static void setParamArgByRefMap(
SgFunctionCallExp* call, std::map<varID, varID>& paramArgByRefMap);