Hello,<br><br>I wonder if someone can give me a hand with this. I am trying to use the library libclangRewrite.a that is built with the files present in the lib/Rewrite directory of the clang directory structure, this lib contains examples of code rewriting functionality, when I link the static library and compile a simple code it appears to work without problems:<br>
<br>I execute <br><br>clang main.cpp llvm/clang/llvm/Debug+Asserts/lib/libclangRewrite.a -o main.out<br><br>and the code of main.cpp is only this:<br><br>int main ()<br>{<br>  return 0;<br>}<br><br>and it generates the executable file.<br>
<br>Now, I would like to know how can I invoke the methods of the library from inside the main.cpp. To be more specific I would like to test the methods that are in lib/Rewrite/RewriteTest.cpp<br><br>Thanks and greetings.<br>