Closed smanders closed 3 years ago
clang-format 9.0.0 was building with Visual Studio 2019 16.4, but doesn't build with 16.9.5
64>Performing build_Release_x64 step for 'llvmformat_msvc'
64>Microsoft (R) Build Engine version 16.9.0+5e4b48a27 for .NET Framework
64>Copyright (C) Microsoft Corporation. All rights reserved.
64>
64> obj.clang-tblgen.vcxproj -> C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\tools\clang\utils\TableGen\obj.clang-tblgen.dir\Release\obj.clang-tblgen.lib
64> MicrosoftDemangle.cpp
64> MicrosoftDemangleNodes.cpp
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\include\llvm/Demangle/MicrosoftDemangleNodes.h(259,8): error C2039: 'string': is not a member of 'std' (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangle.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include\array(20): message : see declaration of 'std' (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangle.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\include\llvm/Demangle/MicrosoftDemangleNodes.h(259,15): error C3646: 'toString': unknown override specifier (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangle.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\include\llvm/Demangle/MicrosoftDemangleNodes.h(259,23): error C2059: syntax error: '(' (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangle.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\include\llvm/Demangle/MicrosoftDemangleNodes.h(259,8): error C2039: 'string': is not a member of 'std' (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangleNodes.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include\array(20): message : see declaration of 'std' (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangleNodes.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\include\llvm/Demangle/MicrosoftDemangleNodes.h(259,61): error C2238: unexpected token(s) preceding ';' (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangle.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\include\llvm/Demangle/MicrosoftDemangleNodes.h(259,15): error C3646: 'toString': unknown override specifier (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangleNodes.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\include\llvm/Demangle/MicrosoftDemangleNodes.h(259,23): error C2059: syntax error: '(' (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangleNodes.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\include\llvm/Demangle/MicrosoftDemangleNodes.h(259,61): error C2238: unexpected token(s) preceding ';' (compiling source file C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangleNodes.cpp) [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangleNodes.cpp(115,19): error C2039: 'toString': is not a member of 'llvm::ms_demangle::Node' [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\include\llvm/Demangle/MicrosoftDemangleNodes.h(251): message : see declaration of 'llvm::ms_demangle::Node' [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangleNodes.cpp(115,53): error C2270: 'toString': modifiers not allowed on nonmember functions [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64>C:\dev\src\externpro\_bld\xpbase\Source\llvm\lib\Demangle\MicrosoftDemangleNodes.cpp(118,3): error C2355: 'this': can only be referenced inside non-static member functions or non-static data member initializers [C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\lib\Demangle\LLVMDemangle.vcxproj]
64> LLVMSupport.vcxproj -> C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\Release\lib\LLVMSupport.lib
64> LLVMTableGen.vcxproj -> C:\dev\src\externpro\_bld\xpbase\Build\llvmformat_msvc\Release\lib\LLVMTableGen.lib
64>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5): error MSB8066: Custom build for 'C:\dev\src\externpro\_bld\CMakeFiles\0062d257ec726ea0ce0866bf1e1326af\llvmformat_msvc-build_Release_x64.rule;C:\dev\src\externpro\_bld\CMakeFiles\0062d257ec726ea0ce0866bf1e1326af\llvmformat_msvc-install.rule;C:\dev\src\externpro\_bld\CMakeFiles\0062d257ec726ea0ce0866bf1e1326af\llvmformat_msvc-install_Release_x64.rule;C:\dev\src\externpro\_bld\CMakeFiles\2ca6e6f6a3563753e205327f3d73fb01\llvmformat_msvc-complete.rule;C:\dev\src\externpro\_bld\CMakeFiles\9f402c4deb4245014d6e81937f991915\llvmformat_msvc.rule' exited with code 1.
64>Done building project "llvmformat_msvc.vcxproj" -- FAILED.
cmake warning building clang-format
8>------ Build started: Project: llvmformat_msvc, Configuration: Release x64 ------
8>Creating directories for 'llvmformat_msvc'
8>No download step for 'llvmformat_msvc'
8>No update step for 'llvmformat_msvc'
8>No patch step for 'llvmformat_msvc'
8>Performing configure step for 'llvmformat_msvc'
8>CMake Warning at CMakeLists.txt:37 (message):
8> Visual Studio generators use the x86 host compiler by default, even for
8> 64-bit targets. This can result in linker instability and out of memory
8> errors. To use the 64-bit host compiler, pass -Thost=x64 on the CMake
8> command line.
Visual Studio 2019 16.4 included clang-format 9.0.0, but it appears 16.9.5 includes clang-format 11.0.0
smanders@VIP-WINBLD6 MINGW64 /c/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/Llvm
$ ./bin/clang-format.exe --version
clang-format version 11.0.0
smanders@VIP-WINBLD6 MINGW64 /c/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/Llvm
$ ./x64/bin/clang-format.exe --version
clang-format version 11.0.0
clang-format/llvm 11.0.0 fails to build with Visual Studio 2017
1>------ Build started: Project: llvm, Configuration: Release x64 ------
2>------ Build started: Project: llvm_clang, Configuration: Release x64 ------
3>------ Build started: Project: llvmformat_msvc, Configuration: Release x64 ------
3>Creating directories for 'llvmformat_msvc'
3>Building Custom Rule C:/dev/src/externpro/CMakeLists.txt
3>No download step for 'llvmformat_msvc'
3>No update step for 'llvmformat_msvc'
3>No patch step for 'llvmformat_msvc'
3>Performing configure step for 'llvmformat_msvc'
3>-- Selecting Windows SDK version 10.0.17134.0 to target Windows 10.0.19042.
3>-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
3>-- Native target architecture is X86
3>-- Threads enabled.
3>-- Doxygen disabled.
3>-- Go bindings disabled.
3>-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
3>-- OCaml bindings disabled.
3>-- LLVM host triple: x86_64-pc-windows-msvc
3>-- LLVM default target triple: x86_64-pc-windows-msvc
3>-- Using Debug VC++ CRT: MDd
3>-- Using Release VC++ CRT: MD
3>-- Using MinSizeRel VC++ CRT: MD
3>-- Using RelWithDebInfo VC++ CRT: MD
3>-- Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter)
3> Reason given by package:
3> Interpreter: Wrong major version for the interpreter "C:/Python27/python.exe"
3>
3>CMake Warning at CMakeLists.txt:702 (message):
3> Python3 not found, using python2 as a fallback
3>
3>
3>-- Constructing LLVMBuild project information
3>-- LLVMHello ignored -- Loadable modules not supported on this platform.
3>-- Targeting X86
3>-- Clang version: 11.0.0
3>-- PrintFunctionNames ignored -- Loadable modules not supported on this platform.
3>-- AnnotateFunctions ignored -- Loadable modules not supported on this platform.
3>-- Attribute ignored -- Loadable modules not supported on this platform.
3>-- BugpointPasses ignored -- Loadable modules not supported on this platform.
3>-- Version: 0.0.0
3>-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
3>-- Performing Test HAVE_POSIX_REGEX -- failed to compile
3>CMake Warning at utils/benchmark/CMakeLists.txt:244 (message):
3> Using std::regex with exceptions disabled is not fully supported
3>
3>
3>-- Performing Test HAVE_STEADY_CLOCK -- success
3>-- Configuring done
3>-- Generating done
3>-- Build files have been written to: E:/smanders/bld/externpro/xpbase/Build/llvmformat_msvc
3>Performing bugworkaround step for 'llvmformat_msvc'
3>-- Selecting Windows SDK version 10.0.17134.0 to target Windows 10.0.19042.
3>-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
3>-- Native target architecture is X86
3>-- Threads enabled.
3>-- Doxygen disabled.
3>-- Go bindings disabled.
3>-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
3>-- OCaml bindings disabled.
3>-- LLVM host triple: x86_64-pc-windows-msvc
3>-- LLVM default target triple: x86_64-pc-windows-msvc
3>-- Using Debug VC++ CRT: MDd
3>-- Using Release VC++ CRT: MD
3>-- Using MinSizeRel VC++ CRT: MD
3>-- Using RelWithDebInfo VC++ CRT: MD
3>-- Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter)
3> Reason given by package:
3> Interpreter: Wrong major version for the interpreter "C:/Python27/python.exe"
3>
3>CMake Warning at CMakeLists.txt:702 (message):
3> Python3 not found, using python2 as a fallback
3>
3>
3>-- Constructing LLVMBuild project information
3>-- LLVMHello ignored -- Loadable modules not supported on this platform.
3>-- Targeting X86
3>-- Clang version: 11.0.0
3>-- PrintFunctionNames ignored -- Loadable modules not supported on this platform.
3>-- AnnotateFunctions ignored -- Loadable modules not supported on this platform.
3>-- Attribute ignored -- Loadable modules not supported on this platform.
3>-- BugpointPasses ignored -- Loadable modules not supported on this platform.
3>-- Version: 0.0.0
3>-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
3>-- Performing Test HAVE_POSIX_REGEX -- failed to compile
3>CMake Warning at utils/benchmark/CMakeLists.txt:244 (message):
3> Using std::regex with exceptions disabled is not fully supported
3>
3>
3>-- Performing Test HAVE_STEADY_CLOCK -- success
3>-- Configuring done
3>-- Generating done
3>-- Build files have been written to: E:/smanders/bld/externpro/xpbase/Build/llvmformat_msvc
3>Performing build step for 'llvmformat_msvc'
3>Build MSVC...
3>Performing build_Release_x64 step for 'llvmformat_msvc'
3>Microsoft (R) Build Engine version 15.7.177.53362 for .NET Framework
3>Copyright (C) Microsoft Corporation. All rights reserved.
3>
3> obj.clang-tblgen.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\tools\clang\utils\TableGen\obj.clang-tblgen.dir\Release\obj.clang-tblgen.lib
3> LLVMDemangle.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMDemangle.lib
3> LLVMSupport.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMSupport.lib
3> LLVMTableGen.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMTableGen.lib
3> clang-tblgen.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\bin\clang-tblgen.exe
3> obj.llvm-tblgen.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\utils\TableGen\obj.llvm-tblgen.dir\Release\obj.llvm-tblgen.lib
3> LLVMTableGenGlobalISel.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMTableGenGlobalISel.lib
3> llvm-tblgen.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\bin\llvm-tblgen.exe
3> LLVMBinaryFormat.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMBinaryFormat.lib
3> LLVMBitstreamReader.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMBitstreamReader.lib
3> LLVMRemarks.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMRemarks.lib
3> Attributes.cpp
3> Constants.cpp
3> DIBuilder.cpp
3> DebugInfoMetadata.cpp
3> DebugLoc.cpp
3> DiagnosticInfo.cpp
3> Globals.cpp
3> InlineAsm.cpp
3> Instructions.cpp
3> LLVMContext.cpp
3> LLVMContextImpl.cpp
3> Metadata.cpp
3> Type.cpp
3> Value.cpp
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Attributes.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Attributes.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Attributes.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\LLVMContext.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\LLVMContext.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\LLVMContext.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Metadata.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Metadata.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Metadata.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Globals.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Globals.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Globals.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\LLVMContextImpl.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\LLVMContextImpl.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\LLVMContextImpl.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DebugLoc.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DebugLoc.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DebugLoc.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Type.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Type.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Type.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Constants.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Constants.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Constants.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Value.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Value.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Value.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DiagnosticInfo.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DiagnosticInfo.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DiagnosticInfo.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DIBuilder.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DIBuilder.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DIBuilder.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DebugInfoMetadata.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DebugInfoMetadata.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\DebugInfoMetadata.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Instructions.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Instructions.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Instructions.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2327: 'llvm::AttributeBitSet::AvailableAttrs': is not a type name, static, or enumerator (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\InlineAsm.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2065: 'AvailableAttrs': undeclared identifier (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\InlineAsm.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>e:\smanders\bld\externpro\xpbase\source\llvm\lib\ir\AttributeImpl.h(191): error C2338: Too many attributes (compiling source file E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\InlineAsm.cpp) [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3>E:\smanders\bld\externpro\xpbase\Source\llvm\lib\IR\Attributes.cpp(987): warning C4307: '+': integral constant overflow [E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\lib\IR\LLVMCore.vcxproj]
3> LLVMDebugInfoMSF.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMDebugInfoMSF.lib
3> LLVMDebugInfoCodeView.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMDebugInfoCodeView.lib
3> LLVMMC.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMMC.lib
3> LLVMMCParser.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMMCParser.lib
3> LLVMTextAPI.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\Release\lib\LLVMTextAPI.lib
3> obj.clangAST.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\tools\clang\lib\AST\obj.clangAST.dir\Release\obj.clangAST.lib
3> obj.clangBasic.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\tools\clang\lib\Basic\obj.clangBasic.dir\Release\obj.clangBasic.lib
3> obj.clangLex.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\tools\clang\lib\Lex\obj.clangLex.dir\Release\obj.clangLex.lib
3> obj.clangFormat.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\tools\clang\lib\Format\obj.clangFormat.dir\Release\obj.clangFormat.lib
3> obj.clangRewrite.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\tools\clang\lib\Rewrite\obj.clangRewrite.dir\Release\obj.clangRewrite.lib
3> obj.clangToolingCore.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\tools\clang\lib\Tooling\Core\obj.clangToolingCore.dir\Release\obj.clangToolingCore.lib
3> obj.clangToolingInclusions.vcxproj -> E:\smanders\bld\externpro\xpbase\Build\llvmformat_msvc\tools\clang\lib\Tooling\Inclusions\obj.clangToolingInclusions.dir\Release\obj.clangToolingInclusions.lib
3>Done building project "llvmformat_msvc.vcxproj" -- FAILED.
========== Build: 2 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
completed with commits referenced above
since our current version of llvm/clang/clang-format fails to build with Visual Studio 2019, the course of action is to update the version of llvm/clang/clang-format
also, it appears there was a GitHub Migration and repos were combined into a single repo