Clang/C2 is abandoned by MS. Look for some reddit posts by STL there.
Clang/LLVM (5.0+) must be used with the VS2017(.3?) and higher. On
older versions you can easily get endless list of errors.
CMake needs to be tuned in terms of command line flags. I saw the same
issue today.
See ticket
Hi,
I posted on 2016/05/02 about the fact that when generating Visual
projects for clang_c2 debug was broken.
The answer was:
"Basically we need to have a different flag table for each possible
toolset. Also it looks like additional special handling may be
needed for PDBs and perhaps other