<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><font face="Courier New, courier, monaco, monospace, sans-serif" size="2">Hi,</font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2"><br></font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2">I am trying write a little program that reads an (ObjC) header files (.h). For each method declaration found in this .h file, and create a implementation source file (.m) that contains these methods and create a generic
implementation such as empty method body for void method, or one line like return 0, false, or nill depending on the return type in the declaration.</font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2"><br></font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2">Can I know if Clang can help on this? and can you show me some pointers to read on how I can use Clang to parse header files?</font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style:
normal;"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2"><br></font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2">Thanks a lot,</font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2">Steven</font></div></div></body></html>