I am building a GCC plugin and am trying to create a call to a constructor for
a global variable. The class is declared in a .cpp file and I have global
instance of the class declared in the file as well. The class declaration for
the global instance I am trying to create follows:
}
}
--
For clarity, the FUNCTION_DECL does take an argument, the pointer to the
variable to be initialized. Any arguments to the FUNCTION_DECL beyond a
pointer to the variable to be initialized would be arguments to the class
constructor itself.
Thanks,