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

Jacob Kooijman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 4 05:00:51 PST 2017


jckooijman added a comment.

Hi, this is my first time posting here so excuse me if i am giving you not enough information.

I found this bugreport from: https://blog.yuo.be/2016/05/11/columns-ui-can-now-be-compiled-using-clang/

I am getting the exact same issue using clang-tidy e.g.

  C:\Program Files (x86)\Windows Kits\8.0\include\um\winnt.h:833:5: error: MS-styl
  e inline assembly is not available: Unable to find target for this triple (no ta
  rgets are registered) [clang-diagnostic-error]
      __asm    {
      ^

I am trying to use clang-tidy on a windows 32bit source. As you stated clang-tidy seems to simply ignore the error and move on, but i think it should be fixed regardless (my error log gets spammed by this)


https://reviews.llvm.org/D17981





More information about the cfe-commits mailing list