parsing a function in the Clang

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,

Don't try to add these keywords directly, because it will create a ton of extra work. Use attributes, and follow the many other function attributes in Clang through parsing/semantic analysis/AST/etc. to figure out what to modify.

  - Doug