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.
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. On Sun, Nov 23, 2014 at 9:47 PM, Nikola Smiljanic <[email protected]> wrote: > Some x86 system includes on windows have inline assembly that causes > clang-modernize to fail. > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
