[cfe-dev] Refactoring tool using Python bindings
    Riyad Parvez 
    riyad.parvez at uwaterloo.ca
       
    Sun May 10 21:27:56 PDT 2015
    
    
  
Hi All,
I want to write tool in python which will go through every source file 
and add preprocessor macro to the file.
    #include <stdio.h>
    #include "my_header.h"   // This should be inserted by clang python tool
    int main() {
    }
How can I do this using Python bindings?
Thanks
Riyad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150511/1f374632/attachment.html>
    
    
More information about the cfe-dev
mailing list