[PATCH] D102322: [clang-tidy] Add '-target' CLI option to override target triple

Georgy Komarov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 12 10:36:04 PDT 2021


jubnzv abandoned this revision.
jubnzv added a comment.

Thank you, I didn't know that it is possible to set the target triple using `--extra-arg`. I created a new revision with this fix: https://reviews.llvm.org/D102337.
For some reasons, the `--target=unknown-windows` doesn't work for me with the following error: `error: unknown target triple 'unknown-unknown-windows-msvc19.11.0', please use -triple or -arch [clang-diagnostic-error]`.
But `--target=x86_64-windows` works fine.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102322/new/

https://reviews.llvm.org/D102322



More information about the cfe-commits mailing list