[cfe-users] Finding of functions and inserting code
Radim Sojka via cfe-users
cfe-users at lists.llvm.org
Wed Dec 2 05:17:47 PST 2015
Hello,
I'd like to ask you if it is possible to find the lines of my code where
the specific functions is called and insert some code around function's
block.
Example of code:
10: some code
11: foo()
12: some code/
/
Example of output:
10: some code
11: inserted code
12: foo()
13: inserted code
14: some code
foo() was called on line 11
Is it possible with Clang?
Thank you for your answers!
Radim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20151202/5533a6f5/attachment.html>
More information about the cfe-users
mailing list