c++ - Adding file as header in source-source transformation using clang -
#include <stdio.h> int main(void) { workfunc(); return 0; }
i have sample code above, function being called in 'main' in header file 'header.h'. after transformation, code must like
#include <stdio.h> #include "header.h" int main(void) { workfunc(); return 0; }
please help. using clang, c++ coding , transformation code available in link
i recommend call along same way call header files program , should work.
Comments
Post a Comment