[cfe-dev] parsing a function in the Clang
    Wei Li 
    weili747 at gmail.com
       
    Wed Sep 22 07:59:28 PDT 2010
    
    
  
Dear all:
I am extending Clang for my work. One thing  I am extending is
function body. I am inserting some key words between function name and
the body of the function as following:
int function(int x, int y) zone1 A[*][*], zone2 B[*][*] {
// zone1 and zone2 are my personal key words
// A and B are 2D arrays
      int z;
      z = x + y;
return z;
}
Which files or methods should be modified for this in the Parser?
Thanks,
-- 
Regards,
Wei Li
    
    
More information about the cfe-dev
mailing list