<div dir="ltr">On Wed, Feb 27, 2013 at 9:04 PM, Bas van den Berg <span dir="ltr"><<a href="mailto:b.van.den.berg.nl@gmail.com" target="_blank">b.van.den.berg.nl@gmail.com</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've looked at the SourceManager class, but it has a strong use of<br>the 'MainFile' concept, whereas I would need several files, some of<br>
which are .c files (which are main files and need builtin defines inserted)<br>
and others are just includes.<br><br>Has anyone tried to do this? Or any ideas?<br></blockquote><div><br></div><div style>Usually you'll want to find a different way to key between translation units.</div><div style>
<br></div><div style>If you must, you could create one .c file that #include's all the other .c files you need?</div><div style><br></div><div style>Cheers,</div><div style>/Manuel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>Cheers,<br>Bas<br><br>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div>