<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>Dear All,</DIV>
<DIV> I'm trying to add a command line option to Clang/Clang++.I want to let clang do the actions coresponding to the new command option.<BR>      What I have done is that I have modified the driver of Clang, including the "Dirver.cpp" ,"options.td", "Tools.cpp" and "Action.cpp".</DIV>
<DIV>      But the compilation instance( namely Clang cc1) of Clang cannot identify the new option. And the console prints the ERROR:" unsupported argumnet". Perhaps, I should modified the Clang cc1 to make it be albe to accept the new option. But I don't know how to deal with the "Clang cc1".<BR>       what's more,  when I have add the new command line argumnet to the "CC1Options.td", the console prints the "ast infomation"(in my opinion) of the source File. I have no idea about the reason.<BR>      Thanks in advance.</DIV>
<DIV>      ----Redder.</DIV></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>