[PATCH] D17981: [clang-tidy] Fix clang-tidy to support parsing of assembly statements.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 11 10:00:00 PST 2016


alexfh added a comment.

In http://reviews.llvm.org/D17981#373153, @rnk wrote:

> In http://reviews.llvm.org/D17981#372823, @alexfh wrote:
>
> > If this issue is specific to MS inline asm, then the additional dependencies should only be added, when we care about MS inline asm (windows builds only?).
>
>
> Clang is always a cross compiler, we never know what we are targeting until we see the command line.


Fair enough, but I guess there are situations, where the one who builds the binary knows for sure that it won't be used for MS targets. We could add a configuration option to enable handling of MS inline assembly in Clang tools.


http://reviews.llvm.org/D17981





More information about the cfe-commits mailing list