<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Clang developers,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">May I know how to insert an extra function declaration at the very beginning of the compilation? <br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For example, I want to add a call to function "foo", which is not defined by the source code. Instead of  adding "extern void foo()" to each source code manually, I'd like to use clang to do it automatically. </div><div class="gmail_default" style="font-size:small"><br></div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Regards,<div>Hong HU</div></div></div></div></div></div>
</div>