<div dir="ltr">If Clang is configured without x86 backend support, there will be linker errors here. I believe we have a wrapper called InitializeAllRegisteredTargets() and some cmake way to link in all target libraries. We could just do that.<div><br></div><div>It might also be better to make it so that tools can easily recover with a partial AST in this situation. They won't be able to see if the inline asm blob uses any parameters so any refactorings could possibly be broken, but that was already the case for clang-modernize.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 23, 2014 at 9:47 PM, Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@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">Some x86 system includes on windows have inline assembly that causes clang-modernize to fail.</div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>