<div dir="ltr">I want to randomly remove the variable declaration "a" or "b" from the source file. There are two ways to do this. <div>    1) I can pretty print the VarDecl of "a" and "b". However, these three builtin typedefs mentioned above make the modified source file not compilable, as the _builtin_va_list is not defined. </div><div>    2) I can use rewriter to change the source file. However, as both "a" and "b" are declared in one statement, removing either of them makes the deletion complex. </div><div><br></div><div>I think another way to do this is to separate the statement "int a, b;" into "int a; int b". Any existing functionality in clang to do this?</div><div><br></div><div>Thank you. Any advice is appreciated. </div><div><br></div><div>  </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 3:30 PM, Meador Inge <span dir="ltr"><<a href="mailto:meadori@gmail.com" target="_blank">meadori@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><div class="gmail_quote">On Mon, Feb 22, 2016 at 11:15 AM, Chengnian Sun via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:</div></span><div class="gmail_quote"><span class=""><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, </div><div><br></div><div>I found out that for the following code (only containing two variable declarations), clang will generate three internal typedef declarations. Is there any way to disable the generation of the three typedef?</div></div></blockquote><div><br></div></span><div>Not that I know of.  What problem are you trying to solve by disabling them?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- Meador</div></font></span></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best Regards.<br><br>Chengnian SUN.</div>
</div>