* Package: sys-devel/clang-17.0.6:17/17 * Repository: gentoo * Maintainer: llvm@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc extra kernel_linux llvm_targets_AArch64 llvm_targets_AMDGPU llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF llvm_targets_Hexagon llvm_targets_Lanai llvm_targets_LoongArch llvm_targets_MSP430 llvm_targets_Mips llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_VE llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore pie python_single_target_python3_12 static-analyzer * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using python3.12 to build >>> Unpacking source... * Unpacking from llvm-project-17.0.6.src.tar.xz ... [ ok ] >>> Unpacking llvm-17.0.1-manpages.tar.bz2 to /var/tmp/portage/sys-devel/clang-17.0.6/work >>> Unpacking llvm-gentoo-patchset-17.0.6-r1.tar.xz to /var/tmp/portage/sys-devel/clang-17.0.6/work >>> Source unpacked in /var/tmp/portage/sys-devel/clang-17.0.6/work >>> Preparing source in /var/tmp/portage/sys-devel/clang-17.0.6/work/clang ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-devel/clang-17.0.6/work/clang" * Build directory (BUILD_DIR): "/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang" * Applying patches from /var/tmp/portage/sys-devel/clang-17.0.6/work/llvm-gentoo-patchset-17.0.6-r1 ... * 0003-Clang-Fix-build-with-GCC-14-on-ARM-78704.patch ... [ ok ] * Adjusting to prefix / * InitHeaderSearch.cpp ... [ ok ] * Darwin.cpp ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-devel/clang-17.0.6/work/clang ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-devel/clang-17.0.6/work/clang" * Build directory (BUILD_DIR): "/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64" cmake -C /var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DDEFAULT_SYSROOT= -DCMAKE_INSTALL_PREFIX=/usr/lib/llvm/17 -DCMAKE_INSTALL_MANDIR=/usr/lib/llvm/17/share/man -DCLANG_CONFIG_FILE_SYSTEM_DIR=/etc/clang -DCLANG_RESOURCE_DIR=../../../../lib/clang/17 -DBUILD_SHARED_LIBS=OFF -DCLANG_LINK_CLANG_DYLIB=ON -DLLVM_DISTRIBUTION_COMPONENTS=clang-cmake-exports;clang-headers;clang-resource-headers;libclang-headers;aarch64-resource-headers;arm-common-resource-headers;arm-resource-headers;core-resource-headers;cuda-resource-headers;hexagon-resource-headers;hip-resource-headers;hlsl-resource-headers;mips-resource-headers;opencl-resource-headers;openmp-resource-headers;ppc-htm-resource-headers;ppc-resource-headers;riscv-resource-headers;systemz-resource-headers;utility-resource-headers;ve-resource-headers;webassembly-resource-headers;windows-resource-headers;x86-resource-headers;clang-cpp;libclang;bash-autocomplete;libclang-python-bindings;amdgpu-arch;c-index-test;clang;clang-format;clang-linker-wrapper;clang-offload-bundler;clang-offload-packager;clang-refactor;clang-repl;clang-rename;clang-scan-deps;diagtool;hmaptool;nvptx-arch;clang-tblgen;clang-apply-replacements;clang-change-namespace;clang-doc;clang-include-cleaner;clang-include-fixer;clang-move;clang-pseudo;clang-query;clang-reorder-fields;clang-tidy;clang-tidy-headers;clangd;find-all-symbols;modularize;pp-trace;clang-check;clang-extdef-mapping;scan-build;scan-build-py;scan-view; -DCLANG_INCLUDE_TESTS=no -DLLVM_TARGETS_TO_BUILD=AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp -DCMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit=ON -DCMAKE_DISABLE_FIND_PACKAGE_hsa-runtime64=ON -DCLANG_DEFAULT_PIE_ON_LINUX=yes -DCLANG_ENABLE_LIBXML2=no -DCLANG_ENABLE_ARCMT=yes -DCLANG_ENABLE_STATIC_ANALYZER=yes -DPython3_EXECUTABLE=/usr/bin/python3.12 -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=no -DCLANG_INCLUDE_DOCS=OFF -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=/var/tmp/portage/sys-devel/clang-17.0.6/work/clang-tools-extra -DCLANG_TOOLS_EXTRA_INCLUDE_DOCS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/gentoo_toolchain.cmake /var/tmp/portage/sys-devel/clang-17.0.6/work/clang loading initial cache file /var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/gentoo_common_config.cmake CMake Deprecation Warning at /var/tmp/portage/sys-devel/clang-17.0.6/work/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy): The OLD behavior for policy CMP0114 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include) CMake Deprecation Warning at /var/tmp/portage/sys-devel/clang-17.0.6/work/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy): The OLD behavior for policy CMP0116 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include) -- The C compiler identification is GNU 15.0.0 -- The CXX compiler identification is GNU 15.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib64/libffi.so -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib64/libtinfo.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found zstd: /usr/lib64/libzstd.so -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Found Python3: /usr/bin/python3.12 (found version "3.12.4") found components: Interpreter -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 17.0.6 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed -- Found Git: /usr/bin/git (found version "2.45.2") -- Looking for include file sys/inotify.h -- Looking for include file sys/inotify.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- <<< Gentoo configuration >>> Build type RelWithDebInfo Install path /usr/lib/llvm/17 Compiler flags: C -O3 -pipe -march=native -fno-diagnostics-color -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections C++ -O3 -pipe -march=native -fno-diagnostics-color -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,nodelete Shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,defs -Wl,-z,nodelete -- Configuring done (8.1s) -- Generating done (3.4s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit CMAKE_DISABLE_FIND_PACKAGE_hsa-runtime64 -- Build files have been written to: /var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64 >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-devel/clang-17.0.6/work/clang ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-devel/clang-17.0.6/work/clang" * Build directory (BUILD_DIR): "/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64" ninja -v -j4 -l0 distribution [1/1947] /usr/bin/x86_64-pc-linux-gnu-g++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/include -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/include -I/usr/lib/llvm/17/include -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -std=c++17 -fno-diagnostics-color -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o -c /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/ASTTableGen.cpp [2/1947] /usr/bin/x86_64-pc-linux-gnu-g++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/include -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/include -I/usr/lib/llvm/17/include -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -std=c++17 -fno-diagnostics-color -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o -c /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/ClangASTNodesEmitter.cpp [3/1947] /usr/bin/x86_64-pc-linux-gnu-g++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/include -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/include -I/usr/lib/llvm/17/include -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -std=c++17 -fno-diagnostics-color -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o -c /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp [4/1947] /usr/bin/x86_64-pc-linux-gnu-g++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/include -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/include -I/usr/lib/llvm/17/include -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -std=c++17 -fno-diagnostics-color -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -c /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp FAILED: utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen -I/var/tmp/portage/sys-devel/clang-17.0.6/work/clang/include -I/var/tmp/portage/sys-devel/clang-17.0.6/work/x/y/clang-abi_x86_64.amd64/include -I/usr/lib/llvm/17/include -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -std=c++17 -fno-diagnostics-color -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -c /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp In file included from /usr/lib/llvm/17/include/llvm/ADT/SmallString.h:17, from /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:15: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:109:62: error: ‘uint64_t’ was not declared in this scope 109 | std::conditional_t= 8, uint64_t, | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:29:1: note: ‘uint64_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 28 | #include +++ |+#include 29 | #include /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:110:24: error: ‘uint32_t’ was not declared in this scope 110 | uint32_t>; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:110:24: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:110:32: error: template argument 2 is invalid 110 | uint32_t>; | ^ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:110:32: error: template argument 3 is invalid /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:114:27: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? 114 | alignas(SmallVectorBase>) char Base[sizeof( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:114:47: error: template argument 1 is invalid 114 | alignas(SmallVectorBase>) char Base[sizeof( | ^ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:114:48: error: expected ‘)’ before ‘>’ token 114 | alignas(SmallVectorBase>) char Base[sizeof( | ~ ^~ | ) /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:114:48: error: expected unqualified-id before ‘>’ token 114 | alignas(SmallVectorBase>) char Base[sizeof( | ^~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:124:30: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? 124 | : public SmallVectorBase> { | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:124:50: error: template argument 1 is invalid 124 | : public SmallVectorBase> { | ^ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:124:51: error: expected ‘{’ before ‘>’ token 124 | : public SmallVectorBase> { | ^~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In member function ‘T* llvm::SmallVectorTemplateBase >::mallocForGrow(size_t, size_t&)’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:447:23: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? 447 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:447:43: error: template argument 1 is invalid 447 | SmallVectorBase>::mallocForGrow( | ^ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:447:48: error: ‘::mallocForGrow’ has not been declared 447 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: At global scope: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1321:45: error: ‘uint32_t’ was not declared in this scope 1321 | extern template class llvm::SmallVectorBase; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1321:45: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1321:53: error: template argument 1 is invalid 1321 | extern template class llvm::SmallVectorBase; | ^ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallString.h:52:26: required from here 52 | SmallVectorImpl::assign(RHS.begin(), RHS.end()); | ^~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/ADT/SmallString.h:52:26: required from here 52 | SmallVectorImpl::assign(RHS.begin(), RHS.end()); | ^~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ In file included from /usr/lib/llvm/17/include/llvm/Support/MemoryBuffer.h:19, from /usr/lib/llvm/17/include/llvm/Support/SourceMgr.h:19, from /usr/lib/llvm/17/include/llvm/TableGen/Error.h:17, from /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:17: /usr/lib/llvm/17/include/llvm/ADT/Twine.h: In constructor ‘llvm::Twine::Twine(const llvm::SmallVectorImpl&)’: /usr/lib/llvm/17/include/llvm/ADT/Twine.h:309:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 309 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /usr/lib/llvm/17/include/llvm/ADT/Twine.h:310:37: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 310 | LHS.ptrAndLength.length = Str.size(); | ^~~~ /usr/lib/llvm/17/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::toStringRef(llvm::SmallVectorImpl&) const’: /usr/lib/llvm/17/include/llvm/ADT/Twine.h:477:28: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 477 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib/llvm/17/include/llvm/ADT/Twine.h:477:40: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 477 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/SourceMgr.h:290:27: required from here 290 | SmallVector FixIts; | ^~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:332:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 332 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/SourceMgr.h:290:27: required from here 290 | SmallVector FixIts; | ^~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/SourceMgr.h: In member function ‘llvm::ArrayRef llvm::SMDiagnostic::getFixIts() const’: /usr/lib/llvm/17/include/llvm/Support/SourceMgr.h:317:48: error: could not convert ‘((const llvm::SMDiagnostic*)this)->llvm::SMDiagnostic::FixIts’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 317 | ArrayRef getFixIts() const { return FixIts; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:311:26: required from here 311 | SmallVector Slabs; | ^~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:311:26: required from here 311 | SmallVector Slabs; | ^~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl >’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector, 0>’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:314:45: required from here 314 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector, 0>’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:314:45: required from here 314 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ 621 | using SuperClass::set_size; | ^~~~~~~~ In file included from /usr/lib/llvm/17/include/llvm/ADT/FoldingSet.h:22, from /usr/lib/llvm/17/include/llvm/TableGen/Record.h:20, from /usr/lib/llvm/17/include/llvm/TableGen/Error.h:18: /usr/lib/llvm/17/include/llvm/Support/Allocator.h: At global scope: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:351:59: error: expected ‘)’ before ‘,’ token 351 | void DeallocateSlabs(SmallVectorImpl::iterator I, | ~ ^ | ) /usr/lib/llvm/17/include/llvm/Support/Allocator.h:352:24: error: invalid use of qualified-name ‘llvm::SmallVectorImpl::iterator’ 352 | SmallVectorImpl::iterator E) { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:352:49: error: expected ‘;’ at end of member declaration 352 | SmallVectorImpl::iterator E) { | ^~~~~~~~ | ; /usr/lib/llvm/17/include/llvm/Support/Allocator.h:352:58: error: ‘E’ does not name a type 352 | SmallVectorImpl::iterator E) { | ^ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In destructor ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl()’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:98:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 98 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:98:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ 98 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In member function ‘llvm::BumpPtrAllocatorImpl& llvm::BumpPtrAllocatorImpl::operator=(llvm::BumpPtrAllocatorImpl&&)’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:103:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 103 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:103:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ 103 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::Reset()’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:128:15: error: ‘class llvm::SmallVector’ has no member named ‘empty’ 128 | if (Slabs.empty()) | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:133:28: error: ‘class llvm::SmallVector’ has no member named ‘front’ 133 | CurPtr = (char *)Slabs.front(); | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:137:37: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 137 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:137:53: error: ‘class llvm::SmallVector’ has no member named ‘end’ 137 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:138:11: error: ‘class llvm::SmallVector’ has no member named ‘erase’ 138 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:138:33: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 138 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:138:49: error: ‘class llvm::SmallVector’ has no member named ‘end’ 138 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::GetNumSlabs() const’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:225:45: error: ‘const class llvm::SmallVector’ has no member named ‘size’ 225 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:225:71: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘size’ 225 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In member function ‘std::optional llvm::BumpPtrAllocatorImpl::identifyObject(const void*)’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:235:36: error: ‘class llvm::SmallVector’ has no member named ‘size’ 235 | for (size_t Idx = 0, E = Slabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:236:54: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘size_t’ {aka ‘long unsigned int’}) 236 | const char *S = static_cast(Slabs[Idx]); | ^ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:244:47: error: ‘class llvm::SmallVector, 0>’ has no member named ‘size’ 244 | for (size_t Idx = 0, E = CustomSizedSlabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:245:65: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) 245 | const char *S = static_cast(CustomSizedSlabs[Idx].first); | ^ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:246:37: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) 246 | size_t Size = CustomSizedSlabs[Idx].second; | ^ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::getTotalMemory() const’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:283:25: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ 283 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:283:56: error: ‘E’ was not declared in this scope 283 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:284:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ 284 | TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:36, from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/string:53, from /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/TableGenBackends.h:18, from /var/tmp/portage/sys-devel/clang-17.0.6/work/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:14: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: candidate: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 88 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:50: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: candidate: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 95 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: candidate: ‘template _Tp* std::begin(valarray<_Tp>&)’ 113 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: candidate: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 114 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: candidate: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 99 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:48: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: candidate: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 106 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: candidate: ‘template _Tp* std::end(valarray<_Tp>&)’ 115 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: candidate: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:285:35: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::PrintStats() const’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:297:46: error: ‘const class llvm::SmallVector’ has no member named ‘size’ 297 | detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, | ^~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab()’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:337:54: error: ‘class llvm::SmallVector’ has no member named ‘size’ 337 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ^~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::DeallocateCustomSizedSlabs()’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: candidate: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 88 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:50: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: candidate: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 95 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: candidate: ‘template _Tp* std::begin(valarray<_Tp>&)’ 113 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: candidate: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 114 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: candidate: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 99 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:48: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: candidate: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 106 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: candidate: ‘template _Tp* std::end(valarray<_Tp>&)’ 115 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: candidate: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h: In member function ‘void llvm::SpecificBumpPtrAllocator::DestroyAll()’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:410:35: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 410 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:410:76: error: ‘E’ was not declared in this scope 410 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:413:41: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 413 | std::distance(Allocator.Slabs.begin(), I)); | ^~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:415:41: error: ‘class llvm::SmallVector’ has no member named ‘back’ 415 | char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr | ^~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: candidate: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 88 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:50: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: candidate: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 95 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: candidate: ‘template _Tp* std::begin(valarray<_Tp>&)’ 113 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: candidate: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 114 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: candidate: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 99 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:48: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: candidate: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 106 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: candidate: ‘template _Tp* std::end(valarray<_Tp>&)’ 115 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: candidate: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/FoldingSet.h:321:29: required from here 321 | SmallVector Bits; | ^~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/FoldingSet.h:321:29: required from here 321 | SmallVector Bits; | ^~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/FoldingSet.h: In member function ‘unsigned int llvm::FoldingSetNodeID::ComputeHash() const’: /usr/lib/llvm/17/include/llvm/ADT/FoldingSet.h:371:37: error: ‘const class llvm::SmallVector’ has no member named ‘data’ 371 | return FoldingSetNodeIDRef(Bits.data(), Bits.size()).ComputeHash(); | ^~~~ /usr/lib/llvm/17/include/llvm/ADT/FoldingSet.h:371:50: error: ‘const class llvm::SmallVector’ has no member named ‘size’ 371 | return FoldingSetNodeIDRef(Bits.data(), Bits.size()).ComputeHash(); | ^~~~ In file included from /usr/lib/llvm/17/include/llvm/TableGen/Record.h:23: /usr/lib/llvm/17/include/llvm/ADT/StringExtras.h: In function ‘void llvm::toHex(ArrayRef, bool, SmallVectorImpl&)’: /usr/lib/llvm/17/include/llvm/ADT/StringExtras.h:173:10: error: ‘class llvm::SmallVectorImpl’ has no member named ‘resize_for_overwrite’ 173 | Output.resize_for_overwrite(Length * 2); | ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/StringExtras.h:177:11: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVectorImpl’ and ‘size_t’ {aka ‘long unsigned int’}) 177 | Output[i * 2 ] = hexdigit(c >> 4, LowerCase); | ^ /usr/lib/llvm/17/include/llvm/ADT/StringExtras.h:178:11: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVectorImpl’ and ‘size_t’ {aka ‘long unsigned int’}) 178 | Output[i * 2 + 1] = hexdigit(c & 15, LowerCase); | ^ In file included from /usr/lib/llvm/17/include/llvm/TableGen/Record.h:30: /usr/lib/llvm/17/include/llvm/Support/raw_ostream.h: In member function ‘llvm::raw_ostream& llvm::raw_ostream::operator<<(const llvm::SmallVectorImpl&)’: /usr/lib/llvm/17/include/llvm/Support/raw_ostream.h:257:22: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 257 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib/llvm/17/include/llvm/Support/raw_ostream.h:257:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 257 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib/llvm/17/include/llvm/Support/raw_ostream.h: In member function ‘llvm::StringRef llvm::raw_svector_ostream::str() const’: /usr/lib/llvm/17/include/llvm/Support/raw_ostream.h:697:47: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 697 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib/llvm/17/include/llvm/Support/raw_ostream.h:697:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 697 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib/llvm/17/include/llvm/Support/raw_ostream.h: In member function ‘virtual void llvm::raw_svector_ostream::reserveExtraSpace(uint64_t)’: /usr/lib/llvm/17/include/llvm/Support/raw_ostream.h:700:8: error: ‘class llvm::SmallVectorImpl’ has no member named ‘reserve’ 700 | OS.reserve(tell() + ExtraSize); | ^~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1113:53: required from here 1113 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1113:53: required from here 1113 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h: At global scope: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1116:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 1116 | inline const_case_iterator arg_begin() const { return getConds().begin(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1117:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 1117 | inline const_case_iterator arg_end () const { return getConds().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1122:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 1122 | inline const_val_iterator name_begin() const { return getVals().begin();} | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1123:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 1123 | inline const_val_iterator name_end () const { return getVals().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1517:59: required from here 1517 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1517:59: required from here 1517 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1519:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1519 | inline const_arg_iterator arg_begin() const { return getArgs().begin(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1520:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1520 | inline const_arg_iterator arg_end () const { return getArgs().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1525:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1525 | inline const_name_iterator name_begin() const { return getArgNames().begin();} | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1526:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1526 | inline const_name_iterator name_end () const { return getArgNames().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1175:37: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::PreferredInlineBytes’ 1175 | kPreferredSmallVectorSizeof - sizeof(SmallVector); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1176:48: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::NumElementsThatFit’ 1176 | static constexpr size_t NumElementsThatFit = PreferredInlineBytes / sizeof(T); | ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1178:7: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::value’ 1178 | NumElementsThatFit == 0 ? 1 : NumElementsThatFit; | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1198:71: required from here 1198 | unsigned N = CalculateSmallVectorDefaultInlinedElements::value> | ^~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1175:37: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::PreferredInlineBytes’ 1175 | kPreferredSmallVectorSizeof - sizeof(SmallVector); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1176:48: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::NumElementsThatFit’ 1176 | static constexpr size_t NumElementsThatFit = PreferredInlineBytes / sizeof(T); | ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1178:7: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::value’ 1178 | NumElementsThatFit == 0 ? 1 : NumElementsThatFit; | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1198:71: required from here 1198 | unsigned N = CalculateSmallVectorDefaultInlinedElements::value> | ^~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::RecordVal::getReferenceLocs() const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1612:55: error: could not convert ‘((const llvm::RecordVal*)this)->llvm::RecordVal::ReferenceLocs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1612 | ArrayRef getReferenceLocs() const { return ReferenceLocs; } | ^~~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1648:25: required from here 1648 | SmallVector Locs; | ^~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1648:25: required from here 1648 | SmallVector Locs; | ^~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1652:29: required from here 1652 | SmallVector Values; | ^~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:332:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 332 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1652:29: required from here 1652 | SmallVector Values; | ^~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1653:33: required from here 1653 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1653:33: required from here 1653 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl >’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector, 0>’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1657:48: required from here 1657 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector, 0>’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1657:48: required from here 1657 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getLoc() const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1713:43: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Locs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1713 | ArrayRef getLoc() const { return Locs; } | ^~~~ | | | const llvm::SmallVector /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getForwardDeclarationLocs() const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1717:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::ForwardDeclarationLocs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1717 | return ForwardDeclarationLocs; | ^~~~~~~~~~~~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getReferenceLocs() const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1724:55: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::ReferenceLocs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1724 | ArrayRef getReferenceLocs() const { return ReferenceLocs; } | ^~~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getTemplateArgs() const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1738:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::TemplateArgs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1738 | return TemplateArgs; | ^~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getValues() const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1741:50: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Values’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1741 | ArrayRef getValues() const { return Values; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getAssertions() const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1743:58: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Assertions’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1743 | ArrayRef getAssertions() const { return Assertions; } | ^~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef > llvm::Record::getSuperClasses() const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1746:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::SuperClasses’ from ‘const llvm::SmallVector, 0>’ to ‘llvm::ArrayRef >’ 1746 | return SuperClasses; | ^~~~~~~~~~~~ | | | const llvm::SmallVector, 0> /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘const llvm::RecordVal* llvm::Record::getValue(const llvm::Init*) const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1760:33: error: ‘begin’ was not declared in this scope 1760 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1760:33: note: suggested alternatives: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: ‘std::begin’ 114 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: ‘std::begin’ 88 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1760:33: error: ‘end’ was not declared in this scope 1760 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1760:33: note: suggested alternatives: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: ‘std::end’ 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: ‘std::end’ 99 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘void llvm::Record::removeValue(llvm::Init*)’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1788:37: error: ‘class llvm::SmallVector’ has no member named ‘size’ 1788 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | ^~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1789:17: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘unsigned int’) 1789 | if (Values[i].getNameInit() == Name) { | ^ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1790:16: error: ‘class llvm::SmallVector’ has no member named ‘erase’ 1790 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1790:29: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1790 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(const llvm::Record*) const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: candidate: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 88 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: required from here 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:50: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: required from here 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: candidate: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 95 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: candidate: ‘template _Tp* std::begin(valarray<_Tp>&)’ 113 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: candidate: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 114 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: candidate: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 99 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: required from here 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:48: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: required from here 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: candidate: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 106 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: candidate: ‘template _Tp* std::end(valarray<_Tp>&)’ 115 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: candidate: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1812:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1812 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(llvm::StringRef) const’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: candidate: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 88 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:88:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: required from here 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:52:50: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 52 | begin(_Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: candidate: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: required from here 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:63:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 63 | begin(const _Container& __cont) -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: candidate: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 95 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:95:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: candidate: ‘template _Tp* std::begin(valarray<_Tp>&)’ 113 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:113:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: candidate: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 114 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:114:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: candidate: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 99 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/initializer_list:99:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: required from here 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:74:48: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 74 | end(_Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: candidate: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:5: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: required from here 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:85:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 85 | end(const _Container& __cont) -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: candidate: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 106 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:106:5: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: candidate: ‘template _Tp* std::end(valarray<_Tp>&)’ 115 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:115:31: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: candidate: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/range_access.h:116:37: note: template argument deduction/substitution failed: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:1819:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1819 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl >’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector, 4>’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:2107:49: required from here 2107 | SmallVector, 4> Parts; | ^~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:479:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 479 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:123:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 123 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector, 4>’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h:2107:49: required from here 2107 | SmallVector, 4> Parts; | ^~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:581:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 581 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:582:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 582 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:583:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 583 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:584:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 584 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:621:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ 621 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘size_t llvm::LessRecordRegister::RecordParts::size()’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:2130:34: error: ‘class llvm::SmallVector, 4>’ has no member named ‘size’ 2130 | size_t size() { return Parts.size(); } | ^~~~ /usr/lib/llvm/17/include/llvm/TableGen/Record.h: In member function ‘std::pair llvm::LessRecordRegister::RecordParts::getPart(size_t)’: /usr/lib/llvm/17/include/llvm/TableGen/Record.h:2134:19: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 4>’ and ‘size_t’ {aka ‘long unsigned int’}) 2134 | return Parts[i]; | ^ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:577:7: required from ‘class llvm::SmallVectorImpl’ 577 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/ADT/SmallVector.h:1199:22: required from ‘class llvm::SmallVector’ 1199 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm/17/include/llvm/Support/CommandLine.h:233:28: required from here 233 | SmallVector