Caphyon / clang-power-tools

Bringing clang-tidy magic to Visual Studio C++ developers.
http://www.clangpowertools.com
Apache License 2.0
472 stars 57 forks source link

When exporting the compilation database, the -imsvc compiler option is not recognized #1344

Open FrankPIE opened 3 months ago

FrankPIE commented 3 months ago

When generating MSVC projects using CMake with a higher version and ClangCl as the compiler, the -imsvc option is replaced with /external:I as an alternative compiler option. This is due to a reported issue where Clang-Tidy cannot recognize the /external:I option but can recognize -imsvc. This results in a contradiction where -imsvc is not recognized when exporting the Compilation Database, while /external:I is accurately exported.

mariru27 commented 3 months ago

Hi @FrankPIE,

Apologies, your request falls outside our usual scope of support

Feel free to contact us for further assistance

Kind regards, Marina