Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang13.spec'], chrootPath='/var/lib/mock/f42-build-56572025-6544407/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g08f1vrp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g08f1vrp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd1f93e022adb448eb385ee8791a7bde4', '-D', '/var/lib/mock/f42-build-56572025-6544407/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g08f1vrp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang13.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/clang13-13.0.1-7.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang13.spec'], chrootPath='/var/lib/mock/f42-build-56572025-6544407/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g08f1vrp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g08f1vrp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a9ba8afc390a4b1480a154cd729f2ee9', '-D', '/var/lib/mock/f42-build-56572025-6544407/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g08f1vrp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang13.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.aGxulg + umask 022 + cd /builddir/build/BUILD/clang13-13.0.1-build + test -d /builddir/build/BUILD/clang13-13.0.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/clang13-13.0.1-build + /usr/bin/rm -rf /builddir/build/BUILD/clang13-13.0.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/clang13-13.0.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/clang13-13.0.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mRaREC + umask 022 + cd /builddir/build/BUILD/clang13-13.0.1-build + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/tstellar-gpg-key.asc --signature=/builddir/build/SOURCES/clang-13.0.1.src.tar.xz.sig --data=/builddir/build/SOURCES/clang-13.0.1.src.tar.xz gpgv: Signature made Wed Feb 2 14:58:10 2022 UTC gpgv: using RSA key 474E22316ABF4785A88C6E8EA2C794A986419D8A gpgv: Good signature from "Tom Stellard " + cd /builddir/build/BUILD/clang13-13.0.1-build + rm -rf clang-13.0.1.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clang-13.0.1.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clang-13.0.1.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-PATCH-clang-Reorganize-gtest-integration.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-PATCH-clang-Don-t-install-static-libraries.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Driver-Add-a-gcc-equivalent-triple-to-the-list-of-tr.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-PATCH-clang-Fix-scan-build-py-executable-lookup-path.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Work-around-gcc-miscompile.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.E02i0Z + umask 022 + cd /builddir/build/BUILD/clang13-13.0.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clang-13.0.1.src + sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@/64/g' test/lit.cfg.py + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -G Ninja -DLLVM_PARALLEL_LINK_JOBS=1 -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_SKIP_RPATH:BOOL=ON -DCLANG_BUILD_TOOLS:BOOL=OFF -DLLVM_CONFIG:FILEPATH=/usr/lib64/llvm13/bin/llvm-config-13-64 -DCMAKE_INSTALL_PREFIX=/usr/lib64/llvm13 -DCLANG_INCLUDE_TESTS:BOOL=OFF -DLLVM_TABLEGEN_EXE:FILEPATH=/usr/bin/llvm-tblgen-13 -DCLANG_ENABLE_ARCMT:BOOL=ON -DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON -DCLANG_INCLUDE_DOCS:BOOL=ON -DCLANG_PLUGIN_SUPPORT:BOOL=ON -DENABLE_LINKER_BUILD_ID:BOOL=ON -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_BUILD_DOCS=ON -DLLVM_ENABLE_NEW_PASS_MANAGER=ON -DLLVM_ENABLE_SPHINX=ON -DCLANG_LINK_CLANG_DYLIB=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF -DCLANG_BUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS=OFF '-DCLANG_REPOSITORY_STRING=Fedora 13.0.1-7.fc42' -DCLANG_DEFAULT_UNWINDLIB=libgcc -- The C compiler identification is GNU 15.0.1 -- The CXX compiler identification is GNU 15.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found LLVM_CONFIG as /usr/lib64/llvm13/bin/llvm-config-13-64 CMake Deprecation Warning at CMakeLists.txt:17 (message): Using llvm-config to detect the LLVM installation is deprecated. The installed cmake files should be used instead. CMake should be able to detect your LLVM install automatically, but you can also use LLVM_DIR to specify the path containing LLVMConfig.cmake. -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- 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 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 C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- 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 C_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_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 -- Found Python3: /usr/bin/python3.13 (found suitable version "3.13.1", minimum required is "3.0") found components: Interpreter -- Looking for sys/resource.h -- Looking for sys/resource.h - found CMake Warning (dev) at CMakeLists.txt:288 (find_package): Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake --help-policy CMP0146" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Clang version: 13.0.1 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning (dev) at lib/Tooling/CMakeLists.txt:55 (add_custom_command): COMMENT requires exactly one argument, but multiple values or COMMENT keywords have been given. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at lib/Tooling/CMakeLists.txt:76 (add_custom_command): COMMENT requires exactly one argument, but multiple values or COMMENT keywords have been given. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- 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 -- Not building amdgpu-arch: hsa-runtime64 not found -- Sphinx enabled. -- Found Sphinx: /usr/bin/sphinx-build -- Configuring done (5.5s) CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:1 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:5 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:9 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:13 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:17 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:21 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:25 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:29 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:33 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:37 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:41 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:45 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:49 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:53 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:57 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:61 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:65 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:69 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/AST/CMakeLists.txt:73 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:8 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:9 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:10 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:11 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:12 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:13 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:14 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:15 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:16 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:17 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:18 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:2 (clang_tablegen) include/clang/Basic/CMakeLists.txt:19 (clang_diag_gen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:20 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:24 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:28 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:33 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:38 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:45 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:48 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:51 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:54 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:57 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:60 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:63 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:66 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:69 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:72 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:75 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:78 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:81 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:84 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:87 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Basic/CMakeLists.txt:90 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): include/clang/Driver/CMakeLists.txt:2 (tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Parse/CMakeLists.txt:1 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Parse/CMakeLists.txt:6 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Sema/CMakeLists.txt:1 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Sema/CMakeLists.txt:6 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Sema/CMakeLists.txt:11 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Sema/CMakeLists.txt:16 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Sema/CMakeLists.txt:21 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Serialization/CMakeLists.txt:1 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Serialization/CMakeLists.txt:6 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/StaticAnalyzer/Checkers/CMakeLists.txt:1 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Tooling/Syntax/CMakeLists.txt:1 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) include/clang/Tooling/Syntax/CMakeLists.txt:5 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) lib/Headers/CMakeLists.txt:188 (clang_tablegen) lib/Headers/CMakeLists.txt:212 (clang_generate_header) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) lib/Headers/CMakeLists.txt:188 (clang_tablegen) lib/Headers/CMakeLists.txt:216 (clang_generate_header) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) lib/Headers/CMakeLists.txt:188 (clang_tablegen) lib/Headers/CMakeLists.txt:208 (clang_generate_header) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) lib/Headers/CMakeLists.txt:188 (clang_tablegen) lib/Headers/CMakeLists.txt:214 (clang_generate_header) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) lib/Headers/CMakeLists.txt:188 (clang_tablegen) lib/Headers/CMakeLists.txt:206 (clang_generate_header) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) lib/Headers/CMakeLists.txt:188 (clang_tablegen) lib/Headers/CMakeLists.txt:210 (clang_generate_header) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) lib/Headers/CMakeLists.txt:188 (clang_tablegen) lib/Headers/CMakeLists.txt:218 (clang_generate_header) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) lib/AST/CMakeLists.txt:11 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) lib/Sema/CMakeLists.txt:8 (clang_tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) docs/CMakeLists.txt:99 (clang_tablegen) docs/CMakeLists.txt:127 (gen_rst_file_from_td) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) docs/CMakeLists.txt:99 (clang_tablegen) docs/CMakeLists.txt:128 (gen_rst_file_from_td) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/llvm13/lib/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/modules/AddClang.cmake:24 (tablegen) docs/CMakeLists.txt:99 (clang_tablegen) docs/CMakeLists.txt:129 (gen_rst_file_from_td) This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done (0.4s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX PYTHON_EXECUTABLE SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j12 --verbose Change Dir: '/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 12 [1/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -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 /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp FAILED: utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -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 /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp In file included from /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:16, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:15: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:92:69: error: ‘uint64_t’ was not declared in this scope 92 | typename std::conditional= 8, uint64_t, | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:31:1: note: ‘uint64_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 30 | #include +++ |+#include 31 | #include /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:31: error: ‘uint32_t’ was not declared in this scope 93 | uint32_t>::type; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:31: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:39: error: template argument 2 is invalid 93 | uint32_t>::type; | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:39: error: template argument 3 is invalid /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:40: error: ‘’ is not a template [-fpermissive] 93 | uint32_t>::type; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:27: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:47: error: template argument 1 is invalid [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:48: error: expected ‘)’ before ‘>’ token [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ~ ^~ | ) /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:48: error: expected unqualified-id before ‘>’ token [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:107:30: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 107 | : public SmallVectorBase> { | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:107:50: error: template argument 1 is invalid [-Wtemplate-body] 107 | : public SmallVectorBase> { | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:107:51: error: expected ‘{’ before ‘>’ token 107 | : public SmallVectorBase> { | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In member function ‘T* llvm::SmallVectorTemplateBase >::mallocForGrow(size_t, size_t&)’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:355:25: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 355 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:355:45: error: template argument 1 is invalid [-Wtemplate-body] 355 | SmallVectorBase>::mallocForGrow( | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:355:50: error: ‘::mallocForGrow’ has not been declared [-Wtemplate-body] 355 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:51:26: required from here 51 | SmallVectorImpl::assign(RHS.begin(), RHS.end()); | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:51:26: required from here 51 | SmallVectorImpl::assign(RHS.begin(), RHS.end()); | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/Support/MemoryBuffer.h:19, from /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:19, from /usr/lib64/llvm13/include/llvm/TableGen/Error.h:17, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:17: /usr/lib64/llvm13/include/llvm/ADT/Twine.h: In constructor ‘llvm::Twine::Twine(const llvm::SmallVectorImpl&)’: /usr/lib64/llvm13/include/llvm/ADT/Twine.h:313:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 313 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h:314:37: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 314 | LHS.ptrAndLength.length = Str.size(); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::toStringRef(llvm::SmallVectorImpl&) const’: /usr/lib64/llvm13/include/llvm/ADT/Twine.h:481:28: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 481 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h:481:40: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 481 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:260:27: required from here 260 | SmallVector FixIts; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:315:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 315 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:260:27: required from here 260 | SmallVector FixIts; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h: In member function ‘llvm::ArrayRef llvm::SMDiagnostic::getFixIts() const’: /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:287:48: error: could not convert ‘((const llvm::SMDiagnostic*)this)->llvm::SMDiagnostic::FixIts’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 287 | ArrayRef getFixIts() const { return FixIts; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:306:26: required from here 306 | SmallVector Slabs; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:306:26: required from here 306 | SmallVector Slabs; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl >’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:309:45: required from here 309 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:309:45: required from here 309 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/ADT/FoldingSet.h:20, from /usr/lib64/llvm13/include/llvm/TableGen/Record.h:20, from /usr/lib64/llvm13/include/llvm/TableGen/Error.h:18: /usr/lib64/llvm13/include/llvm/Support/Allocator.h: At global scope: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:346:59: error: expected ‘)’ before ‘,’ token [-Wtemplate-body] 346 | void DeallocateSlabs(SmallVectorImpl::iterator I, | ~ ^ | ) /usr/lib64/llvm13/include/llvm/Support/Allocator.h:347:24: error: invalid use of qualified-name ‘llvm::SmallVectorImpl::iterator’ [-Wtemplate-body] 347 | SmallVectorImpl::iterator E) { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:347:49: error: expected ‘;’ at end of member declaration [-Wtemplate-body] 347 | SmallVectorImpl::iterator E) { | ^~~~~~~~ | ; /usr/lib64/llvm13/include/llvm/Support/Allocator.h:347:58: error: ‘E’ does not name a type [-Wtemplate-body] 347 | SmallVectorImpl::iterator E) { | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In destructor ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:100:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 100 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:100:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 100 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘llvm::BumpPtrAllocatorImpl& llvm::BumpPtrAllocatorImpl::operator=(llvm::BumpPtrAllocatorImpl&&)’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:105:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 105 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:105:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 105 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::Reset()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:130:15: error: ‘class llvm::SmallVector’ has no member named ‘empty’ [-Wtemplate-body] 130 | if (Slabs.empty()) | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:135:28: error: ‘class llvm::SmallVector’ has no member named ‘front’ [-Wtemplate-body] 135 | CurPtr = (char *)Slabs.front(); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:139:37: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 139 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:139:53: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 139 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:140:11: error: ‘class llvm::SmallVector’ has no member named ‘erase’ [-Wtemplate-body] 140 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:140:33: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 140 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:140:49: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 140 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::GetNumSlabs() const’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:220:45: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 220 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:220:71: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 220 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘llvm::Optional llvm::BumpPtrAllocatorImpl::identifyObject(const void*)’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:230:36: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 230 | for (size_t Idx = 0, E = Slabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:231:54: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 231 | const char *S = static_cast(Slabs[Idx]); | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:239:47: error: ‘class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 239 | for (size_t Idx = 0, E = CustomSizedSlabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:240:65: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 240 | const char *S = static_cast(CustomSizedSlabs[Idx].first); | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:241:37: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 241 | size_t Size = CustomSizedSlabs[Idx].second; | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::getTotalMemory() const’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:278:25: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 278 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:278:56: error: ‘E’ was not declared in this scope [-Wtemplate-body] 278 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:279:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 279 | TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: there are 6 candidates In file included from /usr/include/c++/15/bits/range_access.h:38, from /usr/include/c++/15/string:55, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/TableGenBackends.h:18, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:14: /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::PrintStats() const’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:292:46: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 292 | detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:332:54: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 332 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::DeallocateCustomSizedSlabs()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::SpecificBumpPtrAllocator::DestroyAll()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:404:35: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 404 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:404:76: error: ‘E’ was not declared in this scope [-Wtemplate-body] 404 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:407:41: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 407 | std::distance(Allocator.Slabs.begin(), I)); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:409:41: error: ‘class llvm::SmallVector’ has no member named ‘back’ [-Wtemplate-body] 409 | char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/FoldingSet.h:316:29: required from here 316 | SmallVector Bits; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/FoldingSet.h:316:29: required from here 316 | SmallVector Bits; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/TableGen/Record.h:30: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h: In member function ‘llvm::raw_ostream& llvm::raw_ostream::operator<<(const llvm::SmallVectorImpl&)’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:246:22: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 246 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:246:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 246 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h: In member function ‘llvm::StringRef llvm::raw_svector_ostream::str() const’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:681:47: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 681 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:681:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 681 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h: In member function ‘virtual void llvm::raw_svector_ostream::reserveExtraSpace(uint64_t)’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:684:8: error: ‘class llvm::SmallVectorImpl’ has no member named ‘reserve’ 684 | OS.reserve(tell() + ExtraSize); | ^~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:983:53: required from here 983 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:983:53: required from here 983 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: At global scope: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:986:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 986 | inline const_case_iterator arg_begin() const { return getConds().begin(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:987:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 987 | inline const_case_iterator arg_end () const { return getConds().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:992:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 992 | inline const_val_iterator name_begin() const { return getVals().begin();} | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:993:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 993 | inline const_val_iterator name_end () const { return getVals().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1377:59: required from here 1377 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1377:59: required from here 1377 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1379:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1379 | inline const_arg_iterator arg_begin() const { return getArgs().begin(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1380:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1380 | inline const_arg_iterator arg_end () const { return getArgs().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1385:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1385 | inline const_name_iterator name_begin() const { return getArgNames().begin();} | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1386:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1386 | inline const_name_iterator name_end () const { return getArgNames().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1491:25: required from here 1491 | SmallVector Locs; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1491:25: required from here 1491 | SmallVector Locs; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1493:29: required from here 1493 | SmallVector Values; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1493:29: required from here 1493 | SmallVector Values; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1494:33: required from here 1494 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1494:33: required from here 1494 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl >’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1498:48: required from here 1498 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1498:48: required from here 1498 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getLoc() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1552:43: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Locs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1552 | ArrayRef getLoc() const { return Locs; } | ^~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getTemplateArgs() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1564:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::TemplateArgs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1564 | return TemplateArgs; | ^~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getValues() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1567:50: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Values’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1567 | ArrayRef getValues() const { return Values; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getAssertions() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1569:58: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Assertions’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1569 | ArrayRef getAssertions() const { return Assertions; } | ^~~~~~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef > llvm::Record::getSuperClasses() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1572:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::SuperClasses’ from ‘const llvm::SmallVector, 0>’ to ‘llvm::ArrayRef >’ 1572 | return SuperClasses; | ^~~~~~~~~~~~ | | | const llvm::SmallVector, 0> /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘const llvm::RecordVal* llvm::Record::getValue(const llvm::Init*) const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: error: ‘begin’ was not declared in this scope 1586 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: note: suggested alternatives: /usr/include/c++/15/bits/range_access.h:120:37: note: ‘std::begin’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: ‘std::begin’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: error: ‘end’ was not declared in this scope 1586 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: note: suggested alternatives: /usr/include/c++/15/bits/range_access.h:122:37: note: ‘std::end’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/initializer_list:101:5: note: ‘std::end’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘void llvm::Record::removeValue(llvm::Init*)’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1614:37: error: ‘class llvm::SmallVector’ has no member named ‘size’ 1614 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | ^~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1615:17: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘unsigned int’) 1615 | if (Values[i].getNameInit() == Name) { | ^ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1616:16: error: ‘class llvm::SmallVector’ has no member named ‘erase’ 1616 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1616:29: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1616 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(const llvm::Record*) const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(llvm::StringRef) const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl >’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 4>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1917:49: required from here 1917 | SmallVector, 4> Parts; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 4>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1917:49: required from here 1917 | SmallVector, 4> Parts; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘size_t llvm::LessRecordRegister::RecordParts::size()’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1940:34: error: ‘class llvm::SmallVector, 4>’ has no member named ‘size’ 1940 | size_t size() { return Parts.size(); } | ^~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘std::pair llvm::LessRecordRegister::RecordParts::getPart(size_t)’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1944:19: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 4>’ and ‘size_t’ {aka ‘long unsigned int’}) 1944 | return Parts[i]; | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 40]’: /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:28:3: required from here 28 | SmallString() = default; | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallString.h: In instantiation of ‘llvm::StringRef llvm::SmallString::str() const [with unsigned int InternalLen = 40]’: /usr/lib64/llvm13/include/llvm/ADT/StringExtras.h:304:27: required from here 304 | return std::string(S.str()); | ~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:259:50: error: ‘const class llvm::SmallString<40>’ has no member named ‘data’ 259 | StringRef str() const { return StringRef(this->data(), this->size()); } | ~~~~~~^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 0]’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:710:71: required from here 710 | buffer_ostream(raw_ostream &OS) : raw_svector_ostream(Buffer), OS(OS) {} | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = llvm::Init*; unsigned int N = 0]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1519:58: required from here 1519 | ID(LastID++), IsAnonymous(Anonymous), IsClass(Class) { | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::SmallVector(const llvm::SmallVector&) [with T = llvm::Init*; unsigned int N = 0]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1531:35: required from here 1531 | : Name(O.Name), Locs(O.Locs), TemplateArgs(O.TemplateArgs), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1202:14: error: ‘const class llvm::SmallVector’ has no member named ‘empty’ 1202 | if (!RHS.empty()) | ~~~~^~~~~ In file included from /usr/lib64/llvm13/include/llvm/ADT/StringRef.h:12, from /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:17: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: error: no matching function for call to ‘begin(const llvm::SmallVector&)’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: there are 6 candidates /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 1: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: ‘const llvm::SmallVector’ is not derived from ‘const std::valarray<_Tp>’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 2: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector’ have incompatible cv-qualifiers 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 3: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 4: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: required from ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 5: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: required from ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/initializer_list:90:5: note: candidate 6: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: ‘llvm::SmallVector’ is not derived from ‘std::initializer_list<_Tp>’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: error: no matching function for call to ‘end(const llvm::SmallVector&)’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: there are 6 candidates /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 1: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: ‘const llvm::SmallVector’ is not derived from ‘const std::valarray<_Tp>’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 2: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector’ have incompatible cv-qualifiers 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 3: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 4: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: required from ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 5: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: required from ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/initializer_list:101:5: note: candidate 6: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: ‘llvm::SmallVector’ is not derived from ‘std::initializer_list<_Tp>’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = llvm::Init*; unsigned int N = 4]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:2060:51: required from here 2060 | explicit RecordResolver(Record &R) : Resolver(&R) {} | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 32]’: /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:28:3: required from here 28 | SmallString() = default; | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallString.h: In instantiation of ‘llvm::StringRef llvm::SmallString::str() const [with unsigned int InternalLen = 32]’: /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:69:71: required from here 69 | StringMatcher::StringPair Match(Spelling, std::string(CLiteral.str())); | ~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:259:50: error: ‘const class llvm::SmallString<32>’ has no member named ‘data’ 259 | StringRef str() const { return StringRef(this->data(), this->size()); } | ~~~~~~^~~~ [2/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangDataCollectorsEmitter.cpp [3/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp FAILED: utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp In file included from /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:18, from /usr/lib64/llvm13/include/llvm/TableGen/Error.h:17, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp:14: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:92:69: error: ‘uint64_t’ was not declared in this scope 92 | typename std::conditional= 8, uint64_t, | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:31:1: note: ‘uint64_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 30 | #include +++ |+#include 31 | #include /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:31: error: ‘uint32_t’ was not declared in this scope 93 | uint32_t>::type; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:31: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:39: error: template argument 2 is invalid 93 | uint32_t>::type; | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:39: error: template argument 3 is invalid /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:40: error: ‘’ is not a template [-fpermissive] 93 | uint32_t>::type; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:27: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:47: error: template argument 1 is invalid [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:48: error: expected ‘)’ before ‘>’ token [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ~ ^~ | ) /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:48: error: expected unqualified-id before ‘>’ token [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:107:30: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 107 | : public SmallVectorBase> { | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:107:50: error: template argument 1 is invalid [-Wtemplate-body] 107 | : public SmallVectorBase> { | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:107:51: error: expected ‘{’ before ‘>’ token 107 | : public SmallVectorBase> { | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In member function ‘T* llvm::SmallVectorTemplateBase >::mallocForGrow(size_t, size_t&)’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:355:25: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 355 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:355:45: error: template argument 1 is invalid [-Wtemplate-body] 355 | SmallVectorBase>::mallocForGrow( | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:355:50: error: ‘::mallocForGrow’ has not been declared [-Wtemplate-body] 355 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h:313:33: required from here 313 | LHS.ptrAndLength.ptr = Str.data(); | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/Twine.h:313:33: required from here 313 | LHS.ptrAndLength.ptr = Str.data(); | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/Support/MemoryBuffer.h:19, from /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:19: /usr/lib64/llvm13/include/llvm/ADT/Twine.h: In constructor ‘llvm::Twine::Twine(const llvm::SmallVectorImpl&)’: /usr/lib64/llvm13/include/llvm/ADT/Twine.h:313:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 313 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h:314:37: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 314 | LHS.ptrAndLength.length = Str.size(); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::toStringRef(llvm::SmallVectorImpl&) const’: /usr/lib64/llvm13/include/llvm/ADT/Twine.h:481:28: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 481 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h:481:40: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 481 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:260:27: required from here 260 | SmallVector FixIts; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:315:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 315 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:260:27: required from here 260 | SmallVector FixIts; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h: In member function ‘llvm::ArrayRef llvm::SMDiagnostic::getFixIts() const’: /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:287:48: error: could not convert ‘((const llvm::SMDiagnostic*)this)->llvm::SMDiagnostic::FixIts’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 287 | ArrayRef getFixIts() const { return FixIts; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:306:26: required from here 306 | SmallVector Slabs; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:306:26: required from here 306 | SmallVector Slabs; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl >’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:309:45: required from here 309 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:309:45: required from here 309 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/ADT/FoldingSet.h:20, from /usr/lib64/llvm13/include/llvm/TableGen/Record.h:20, from /usr/lib64/llvm13/include/llvm/TableGen/Error.h:18: /usr/lib64/llvm13/include/llvm/Support/Allocator.h: At global scope: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:346:59: error: expected ‘)’ before ‘,’ token [-Wtemplate-body] 346 | void DeallocateSlabs(SmallVectorImpl::iterator I, | ~ ^ | ) /usr/lib64/llvm13/include/llvm/Support/Allocator.h:347:24: error: invalid use of qualified-name ‘llvm::SmallVectorImpl::iterator’ [-Wtemplate-body] 347 | SmallVectorImpl::iterator E) { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:347:49: error: expected ‘;’ at end of member declaration [-Wtemplate-body] 347 | SmallVectorImpl::iterator E) { | ^~~~~~~~ | ; /usr/lib64/llvm13/include/llvm/Support/Allocator.h:347:58: error: ‘E’ does not name a type [-Wtemplate-body] 347 | SmallVectorImpl::iterator E) { | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In destructor ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:100:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 100 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:100:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 100 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘llvm::BumpPtrAllocatorImpl& llvm::BumpPtrAllocatorImpl::operator=(llvm::BumpPtrAllocatorImpl&&)’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:105:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 105 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:105:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 105 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::Reset()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:130:15: error: ‘class llvm::SmallVector’ has no member named ‘empty’ [-Wtemplate-body] 130 | if (Slabs.empty()) | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:135:28: error: ‘class llvm::SmallVector’ has no member named ‘front’ [-Wtemplate-body] 135 | CurPtr = (char *)Slabs.front(); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:139:37: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 139 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:139:53: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 139 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:140:11: error: ‘class llvm::SmallVector’ has no member named ‘erase’ [-Wtemplate-body] 140 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:140:33: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 140 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:140:49: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 140 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::GetNumSlabs() const’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:220:45: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 220 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:220:71: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 220 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘llvm::Optional llvm::BumpPtrAllocatorImpl::identifyObject(const void*)’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:230:36: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 230 | for (size_t Idx = 0, E = Slabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:231:54: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 231 | const char *S = static_cast(Slabs[Idx]); | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:239:47: error: ‘class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 239 | for (size_t Idx = 0, E = CustomSizedSlabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:240:65: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 240 | const char *S = static_cast(CustomSizedSlabs[Idx].first); | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:241:37: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 241 | size_t Size = CustomSizedSlabs[Idx].second; | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::getTotalMemory() const’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:278:25: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 278 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:278:56: error: ‘E’ was not declared in this scope [-Wtemplate-body] 278 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:279:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 279 | TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: there are 6 candidates In file included from /usr/include/c++/15/bits/range_access.h:38, from /usr/include/c++/15/string:55, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/TableGenBackends.h:18, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp:13: /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::PrintStats() const’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:292:46: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 292 | detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:332:54: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 332 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::DeallocateCustomSizedSlabs()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::SpecificBumpPtrAllocator::DestroyAll()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:404:35: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 404 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:404:76: error: ‘E’ was not declared in this scope [-Wtemplate-body] 404 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:407:41: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 407 | std::distance(Allocator.Slabs.begin(), I)); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:409:41: error: ‘class llvm::SmallVector’ has no member named ‘back’ [-Wtemplate-body] 409 | char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/FoldingSet.h:316:29: required from here 316 | SmallVector Bits; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/FoldingSet.h:316:29: required from here 316 | SmallVector Bits; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/TableGen/Record.h:30: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h: In member function ‘llvm::raw_ostream& llvm::raw_ostream::operator<<(const llvm::SmallVectorImpl&)’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:246:22: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 246 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:246:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 246 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h: In member function ‘llvm::StringRef llvm::raw_svector_ostream::str() const’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:681:47: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 681 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:681:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 681 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h: In member function ‘virtual void llvm::raw_svector_ostream::reserveExtraSpace(uint64_t)’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:684:8: error: ‘class llvm::SmallVectorImpl’ has no member named ‘reserve’ 684 | OS.reserve(tell() + ExtraSize); | ^~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:983:53: required from here 983 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:983:53: required from here 983 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: At global scope: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:986:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 986 | inline const_case_iterator arg_begin() const { return getConds().begin(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:987:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 987 | inline const_case_iterator arg_end () const { return getConds().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:992:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 992 | inline const_val_iterator name_begin() const { return getVals().begin();} | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:993:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 993 | inline const_val_iterator name_end () const { return getVals().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1377:59: required from here 1377 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1377:59: required from here 1377 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1379:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1379 | inline const_arg_iterator arg_begin() const { return getArgs().begin(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1380:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1380 | inline const_arg_iterator arg_end () const { return getArgs().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1385:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1385 | inline const_name_iterator name_begin() const { return getArgNames().begin();} | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1386:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1386 | inline const_name_iterator name_end () const { return getArgNames().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1491:25: required from here 1491 | SmallVector Locs; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1491:25: required from here 1491 | SmallVector Locs; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1493:29: required from here 1493 | SmallVector Values; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1493:29: required from here 1493 | SmallVector Values; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1494:33: required from here 1494 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1494:33: required from here 1494 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl >’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1498:48: required from here 1498 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1498:48: required from here 1498 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getLoc() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1552:43: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Locs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1552 | ArrayRef getLoc() const { return Locs; } | ^~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getTemplateArgs() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1564:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::TemplateArgs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1564 | return TemplateArgs; | ^~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getValues() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1567:50: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Values’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1567 | ArrayRef getValues() const { return Values; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getAssertions() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1569:58: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Assertions’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1569 | ArrayRef getAssertions() const { return Assertions; } | ^~~~~~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef > llvm::Record::getSuperClasses() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1572:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::SuperClasses’ from ‘const llvm::SmallVector, 0>’ to ‘llvm::ArrayRef >’ 1572 | return SuperClasses; | ^~~~~~~~~~~~ | | | const llvm::SmallVector, 0> /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘const llvm::RecordVal* llvm::Record::getValue(const llvm::Init*) const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: error: ‘begin’ was not declared in this scope 1586 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: note: suggested alternatives: /usr/include/c++/15/bits/range_access.h:120:37: note: ‘std::begin’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: ‘std::begin’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: error: ‘end’ was not declared in this scope 1586 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: note: suggested alternatives: /usr/include/c++/15/bits/range_access.h:122:37: note: ‘std::end’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/initializer_list:101:5: note: ‘std::end’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘void llvm::Record::removeValue(llvm::Init*)’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1614:37: error: ‘class llvm::SmallVector’ has no member named ‘size’ 1614 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | ^~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1615:17: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘unsigned int’) 1615 | if (Values[i].getNameInit() == Name) { | ^ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1616:16: error: ‘class llvm::SmallVector’ has no member named ‘erase’ 1616 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1616:29: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1616 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(const llvm::Record*) const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(llvm::StringRef) const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl >’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 4>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1917:49: required from here 1917 | SmallVector, 4> Parts; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 4>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1917:49: required from here 1917 | SmallVector, 4> Parts; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘size_t llvm::LessRecordRegister::RecordParts::size()’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1940:34: error: ‘class llvm::SmallVector, 4>’ has no member named ‘size’ 1940 | size_t size() { return Parts.size(); } | ^~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘std::pair llvm::LessRecordRegister::RecordParts::getPart(size_t)’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1944:19: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 4>’ and ‘size_t’ {aka ‘long unsigned int’}) 1944 | return Parts[i]; | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp:63:34: required from here 63 | llvm::SmallVector TypePath; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp:63:34: required from here 63 | llvm::SmallVector TypePath; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp: In lambda function: /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp:69:8: error: no match for call to ‘(std::function, llvm::Twine)>) (llvm::SmallVector&, const llvm::Twine&)’ 69 | F(TypePath, ID); | ~^~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:61, from /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:26: /usr/include/c++/15/bits/std_function.h:336:11: note: there is 1 candidate 336 | class function<_Res(_ArgTypes...)> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/std_function.h:589:7: note: candidate 1: ‘_Res std::function<_Res(_ArgTypes ...)>::operator()(_ArgTypes ...) const [with _Res = void; _ArgTypes = {llvm::ArrayRef, llvm::Twine}]’ 589 | operator()(_ArgTypes... __args) const | ^~~~~~~~ /usr/include/c++/15/bits/std_function.h:589:27: note: no known conversion for argument 1 from ‘llvm::SmallVector’ to ‘llvm::ArrayRef’ 589 | operator()(_ArgTypes... __args) const | ~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp: In lambda function: /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp:277:24: error: cannot convert ‘llvm::SmallVector’ to ‘llvm::ArrayRef’ 277 | PrintTypes(OS, TS); | ^~ | | | llvm::SmallVector /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpcodesEmitter.cpp:57:55: note: initializing argument 2 of ‘void {anonymous}::ClangOpcodesEmitter::PrintTypes(llvm::raw_ostream&, llvm::ArrayRef)’ 57 | void PrintTypes(raw_ostream &OS, ArrayRef Types); | ~~~~~~~~~~~~~~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 40]’: /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:28:3: required from here 28 | SmallString() = default; | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ In file included from /usr/lib64/llvm13/include/llvm/ADT/StringExtras.h:18, from /usr/lib64/llvm13/include/llvm/TableGen/Record.h:23: /usr/lib64/llvm13/include/llvm/ADT/SmallString.h: In instantiation of ‘llvm::StringRef llvm::SmallString::str() const [with unsigned int InternalLen = 40]’: /usr/lib64/llvm13/include/llvm/ADT/StringExtras.h:304:27: required from here 304 | return std::string(S.str()); | ~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:259:50: error: ‘const class llvm::SmallString<40>’ has no member named ‘data’ 259 | StringRef str() const { return StringRef(this->data(), this->size()); } | ~~~~~~^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 0]’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:710:71: required from here 710 | buffer_ostream(raw_ostream &OS) : raw_svector_ostream(Buffer), OS(OS) {} | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = llvm::Init*; unsigned int N = 0]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1519:58: required from here 1519 | ID(LastID++), IsAnonymous(Anonymous), IsClass(Class) { | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::SmallVector(const llvm::SmallVector&) [with T = llvm::Init*; unsigned int N = 0]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1531:35: required from here 1531 | : Name(O.Name), Locs(O.Locs), TemplateArgs(O.TemplateArgs), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1202:14: error: ‘const class llvm::SmallVector’ has no member named ‘empty’ 1202 | if (!RHS.empty()) | ~~~~^~~~~ In file included from /usr/lib64/llvm13/include/llvm/ADT/ArrayRef.h:15, from /usr/lib64/llvm13/include/llvm/Support/MemoryBuffer.h:17: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: error: no matching function for call to ‘begin(const llvm::SmallVector&)’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: there are 6 candidates /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 1: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: ‘const llvm::SmallVector’ is not derived from ‘const std::valarray<_Tp>’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 2: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector’ have incompatible cv-qualifiers 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 3: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 4: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: required from ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 5: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: required from ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/initializer_list:90:5: note: candidate 6: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: ‘llvm::SmallVector’ is not derived from ‘std::initializer_list<_Tp>’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: error: no matching function for call to ‘end(const llvm::SmallVector&)’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: there are 6 candidates /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 1: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: ‘const llvm::SmallVector’ is not derived from ‘const std::valarray<_Tp>’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 2: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector’ have incompatible cv-qualifiers 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 3: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 4: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: required from ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 5: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: required from ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/initializer_list:101:5: note: candidate 6: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: ‘llvm::SmallVector’ is not derived from ‘std::initializer_list<_Tp>’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = llvm::Init*; unsigned int N = 4]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:2060:51: required from here 2060 | explicit RecordResolver(Record &R) : Resolver(&R) {} | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 32]’: /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:28:3: required from ‘bool llvm::detail::to_float(const llvm::Twine&, N&, N (*)(const char*, char**)) [with N = float]’ 28 | SmallString() = default; | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/StringExtras.h:267:26: required from here 267 | return detail::to_float(T, Num, strtof); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ [4/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOptionDocEmitter.cpp FAILED: utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOptionDocEmitter.cpp In file included from /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:18, from /usr/lib64/llvm13/include/llvm/TableGen/Error.h:17, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOptionDocEmitter.cpp:12: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:92:69: error: ‘uint64_t’ was not declared in this scope 92 | typename std::conditional= 8, uint64_t, | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:31:1: note: ‘uint64_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 30 | #include +++ |+#include 31 | #include /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:31: error: ‘uint32_t’ was not declared in this scope 93 | uint32_t>::type; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:31: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:39: error: template argument 2 is invalid 93 | uint32_t>::type; | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:39: error: template argument 3 is invalid /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:93:40: error: ‘’ is not a template [-fpermissive] 93 | uint32_t>::type; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:27: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:47: error: template argument 1 is invalid [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:48: error: expected ‘)’ before ‘>’ token [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ~ ^~ | ) /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:97:48: error: expected unqualified-id before ‘>’ token [-Wtemplate-body] 97 | alignas(SmallVectorBase>) char Base[sizeof( | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:107:30: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 107 | : public SmallVectorBase> { | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:107:50: error: template argument 1 is invalid [-Wtemplate-body] 107 | : public SmallVectorBase> { | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:107:51: error: expected ‘{’ before ‘>’ token 107 | : public SmallVectorBase> { | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In member function ‘T* llvm::SmallVectorTemplateBase >::mallocForGrow(size_t, size_t&)’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:355:25: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 355 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:355:45: error: template argument 1 is invalid [-Wtemplate-body] 355 | SmallVectorBase>::mallocForGrow( | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:355:50: error: ‘::mallocForGrow’ has not been declared [-Wtemplate-body] 355 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h:313:33: required from here 313 | LHS.ptrAndLength.ptr = Str.data(); | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/Twine.h:313:33: required from here 313 | LHS.ptrAndLength.ptr = Str.data(); | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/Support/MemoryBuffer.h:19, from /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:19: /usr/lib64/llvm13/include/llvm/ADT/Twine.h: In constructor ‘llvm::Twine::Twine(const llvm::SmallVectorImpl&)’: /usr/lib64/llvm13/include/llvm/ADT/Twine.h:313:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 313 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h:314:37: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 314 | LHS.ptrAndLength.length = Str.size(); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::toStringRef(llvm::SmallVectorImpl&) const’: /usr/lib64/llvm13/include/llvm/ADT/Twine.h:481:28: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 481 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/Twine.h:481:40: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 481 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:260:27: required from here 260 | SmallVector FixIts; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:315:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 315 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:260:27: required from here 260 | SmallVector FixIts; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h: In member function ‘llvm::ArrayRef llvm::SMDiagnostic::getFixIts() const’: /usr/lib64/llvm13/include/llvm/Support/SourceMgr.h:287:48: error: could not convert ‘((const llvm::SMDiagnostic*)this)->llvm::SMDiagnostic::FixIts’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 287 | ArrayRef getFixIts() const { return FixIts; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:306:26: required from here 306 | SmallVector Slabs; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:306:26: required from here 306 | SmallVector Slabs; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl >’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:309:45: required from here 309 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:309:45: required from here 309 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/ADT/FoldingSet.h:20, from /usr/lib64/llvm13/include/llvm/TableGen/Record.h:20, from /usr/lib64/llvm13/include/llvm/TableGen/Error.h:18: /usr/lib64/llvm13/include/llvm/Support/Allocator.h: At global scope: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:346:59: error: expected ‘)’ before ‘,’ token [-Wtemplate-body] 346 | void DeallocateSlabs(SmallVectorImpl::iterator I, | ~ ^ | ) /usr/lib64/llvm13/include/llvm/Support/Allocator.h:347:24: error: invalid use of qualified-name ‘llvm::SmallVectorImpl::iterator’ [-Wtemplate-body] 347 | SmallVectorImpl::iterator E) { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:347:49: error: expected ‘;’ at end of member declaration [-Wtemplate-body] 347 | SmallVectorImpl::iterator E) { | ^~~~~~~~ | ; /usr/lib64/llvm13/include/llvm/Support/Allocator.h:347:58: error: ‘E’ does not name a type [-Wtemplate-body] 347 | SmallVectorImpl::iterator E) { | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In destructor ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:100:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 100 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:100:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 100 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘llvm::BumpPtrAllocatorImpl& llvm::BumpPtrAllocatorImpl::operator=(llvm::BumpPtrAllocatorImpl&&)’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:105:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 105 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:105:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 105 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::Reset()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:130:15: error: ‘class llvm::SmallVector’ has no member named ‘empty’ [-Wtemplate-body] 130 | if (Slabs.empty()) | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:135:28: error: ‘class llvm::SmallVector’ has no member named ‘front’ [-Wtemplate-body] 135 | CurPtr = (char *)Slabs.front(); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:139:37: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 139 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:139:53: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 139 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:140:11: error: ‘class llvm::SmallVector’ has no member named ‘erase’ [-Wtemplate-body] 140 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:140:33: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 140 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:140:49: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 140 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::GetNumSlabs() const’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:220:45: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 220 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:220:71: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 220 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘llvm::Optional llvm::BumpPtrAllocatorImpl::identifyObject(const void*)’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:230:36: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 230 | for (size_t Idx = 0, E = Slabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:231:54: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 231 | const char *S = static_cast(Slabs[Idx]); | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:239:47: error: ‘class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 239 | for (size_t Idx = 0, E = CustomSizedSlabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:240:65: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 240 | const char *S = static_cast(CustomSizedSlabs[Idx].first); | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:241:37: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 241 | size_t Size = CustomSizedSlabs[Idx].second; | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::getTotalMemory() const’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:278:25: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 278 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:278:56: error: ‘E’ was not declared in this scope [-Wtemplate-body] 278 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:279:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 279 | TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: there are 6 candidates In file included from /usr/include/c++/15/bits/range_access.h:38, from /usr/include/c++/15/string:55, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/TableGenBackends.h:18, from /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOptionDocEmitter.cpp:11: /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: required from here 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:280:29: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 280 | for (auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::PrintStats() const’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:292:46: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 292 | detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:332:54: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 332 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::DeallocateCustomSizedSlabs()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: required from here 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:357:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 357 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h: In member function ‘void llvm::SpecificBumpPtrAllocator::DestroyAll()’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:404:35: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 404 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:404:76: error: ‘E’ was not declared in this scope [-Wtemplate-body] 404 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:407:41: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 407 | std::distance(Allocator.Slabs.begin(), I)); | ^~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:409:41: error: ‘class llvm::SmallVector’ has no member named ‘back’ [-Wtemplate-body] 409 | char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr | ^~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: required from here 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/Support/Allocator.h:415:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 415 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/FoldingSet.h:316:29: required from here 316 | SmallVector Bits; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/FoldingSet.h:316:29: required from here 316 | SmallVector Bits; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/TableGen/Record.h:30: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h: In member function ‘llvm::raw_ostream& llvm::raw_ostream::operator<<(const llvm::SmallVectorImpl&)’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:246:22: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 246 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:246:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 246 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h: In member function ‘llvm::StringRef llvm::raw_svector_ostream::str() const’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:681:47: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 681 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:681:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 681 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h: In member function ‘virtual void llvm::raw_svector_ostream::reserveExtraSpace(uint64_t)’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:684:8: error: ‘class llvm::SmallVectorImpl’ has no member named ‘reserve’ 684 | OS.reserve(tell() + ExtraSize); | ^~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:983:53: required from here 983 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:983:53: required from here 983 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: At global scope: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:986:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 986 | inline const_case_iterator arg_begin() const { return getConds().begin(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:987:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 987 | inline const_case_iterator arg_end () const { return getConds().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:992:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 992 | inline const_val_iterator name_begin() const { return getVals().begin();} | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:993:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 993 | inline const_val_iterator name_end () const { return getVals().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1377:59: required from here 1377 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1377:59: required from here 1377 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1379:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1379 | inline const_arg_iterator arg_begin() const { return getArgs().begin(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1380:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1380 | inline const_arg_iterator arg_end () const { return getArgs().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1385:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1385 | inline const_name_iterator name_begin() const { return getArgNames().begin();} | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1386:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1386 | inline const_name_iterator name_end () const { return getArgNames().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1491:25: required from here 1491 | SmallVector Locs; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1491:25: required from here 1491 | SmallVector Locs; | ^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1493:29: required from here 1493 | SmallVector Values; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1493:29: required from here 1493 | SmallVector Values; | ^~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1494:33: required from here 1494 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1494:33: required from here 1494 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl >’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1498:48: required from here 1498 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 0>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1498:48: required from here 1498 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getLoc() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1552:43: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Locs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1552 | ArrayRef getLoc() const { return Locs; } | ^~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getTemplateArgs() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1564:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::TemplateArgs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1564 | return TemplateArgs; | ^~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getValues() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1567:50: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Values’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1567 | ArrayRef getValues() const { return Values; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getAssertions() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1569:58: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Assertions’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1569 | ArrayRef getAssertions() const { return Assertions; } | ^~~~~~~~~~ | | | const llvm::SmallVector /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef > llvm::Record::getSuperClasses() const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1572:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::SuperClasses’ from ‘const llvm::SmallVector, 0>’ to ‘llvm::ArrayRef >’ 1572 | return SuperClasses; | ^~~~~~~~~~~~ | | | const llvm::SmallVector, 0> /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘const llvm::RecordVal* llvm::Record::getValue(const llvm::Init*) const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: error: ‘begin’ was not declared in this scope 1586 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: note: suggested alternatives: /usr/include/c++/15/bits/range_access.h:120:37: note: ‘std::begin’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: ‘std::begin’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: error: ‘end’ was not declared in this scope 1586 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1586:33: note: suggested alternatives: /usr/include/c++/15/bits/range_access.h:122:37: note: ‘std::end’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/initializer_list:101:5: note: ‘std::end’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘void llvm::Record::removeValue(llvm::Init*)’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1614:37: error: ‘class llvm::SmallVector’ has no member named ‘size’ 1614 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | ^~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1615:17: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘unsigned int’) 1615 | if (Values[i].getNameInit() == Name) { | ^ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1616:16: error: ‘class llvm::SmallVector’ has no member named ‘erase’ 1616 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1616:29: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1616 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(const llvm::Record*) const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: required from here 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1637:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1637 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(llvm::StringRef) const’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 2: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 3: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: there are 6 candidates /usr/include/c++/15/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 2: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 3: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: required from here 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1644:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1644 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:558:7: required from ‘class llvm::SmallVectorImpl >’ 558 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 4>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1917:49: required from here 1917 | SmallVector, 4> Parts; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:459:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 459 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:106:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 106 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1168:22: required from ‘class llvm::SmallVector, 4>’ 1168 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1917:49: required from here 1917 | SmallVector, 4> Parts; | ^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:562:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 562 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:563:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 563 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:564:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 564 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:565:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 565 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘size_t llvm::LessRecordRegister::RecordParts::size()’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1940:34: error: ‘class llvm::SmallVector, 4>’ has no member named ‘size’ 1940 | size_t size() { return Parts.size(); } | ^~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h: In member function ‘std::pair llvm::LessRecordRegister::RecordParts::getPart(size_t)’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1944:19: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 4>’ and ‘size_t’ {aka ‘long unsigned int’}) 1944 | return Parts[i]; | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 40]’: /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:28:3: required from here 28 | SmallString() = default; | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ In file included from /usr/lib64/llvm13/include/llvm/ADT/StringExtras.h:18, from /usr/lib64/llvm13/include/llvm/TableGen/Record.h:23: /usr/lib64/llvm13/include/llvm/ADT/SmallString.h: In instantiation of ‘llvm::StringRef llvm::SmallString::str() const [with unsigned int InternalLen = 40]’: /usr/lib64/llvm13/include/llvm/ADT/StringExtras.h:304:27: required from here 304 | return std::string(S.str()); | ~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:259:50: error: ‘const class llvm::SmallString<40>’ has no member named ‘data’ 259 | StringRef str() const { return StringRef(this->data(), this->size()); } | ~~~~~~^~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 0]’: /usr/lib64/llvm13/include/llvm/Support/raw_ostream.h:710:71: required from here 710 | buffer_ostream(raw_ostream &OS) : raw_svector_ostream(Buffer), OS(OS) {} | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = llvm::Init*; unsigned int N = 0]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1519:58: required from here 1519 | ID(LastID++), IsAnonymous(Anonymous), IsClass(Class) { | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::SmallVector(const llvm::SmallVector&) [with T = llvm::Init*; unsigned int N = 0]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1531:35: required from here 1531 | : Name(O.Name), Locs(O.Locs), TemplateArgs(O.TemplateArgs), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1202:14: error: ‘const class llvm::SmallVector’ has no member named ‘empty’ 1202 | if (!RHS.empty()) | ~~~~^~~~~ In file included from /usr/lib64/llvm13/include/llvm/ADT/ArrayRef.h:15, from /usr/lib64/llvm13/include/llvm/Support/MemoryBuffer.h:17: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: error: no matching function for call to ‘begin(const llvm::SmallVector&)’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: there are 6 candidates /usr/include/c++/15/bits/range_access.h:120:37: note: candidate 1: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: ‘const llvm::SmallVector’ is not derived from ‘const std::valarray<_Tp>’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: candidate 2: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector’ have incompatible cv-qualifiers 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: candidate 3: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: candidate 4: ‘template decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: required from ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: candidate 5: ‘template decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: required from ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_begin(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:238:31: required from ‘decltype(auto) llvm::adl_begin(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 238 | return adl_detail::adl_begin(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:29: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/initializer_list:90:5: note: candidate 6: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:216:15: note: ‘llvm::SmallVector’ is not derived from ‘std::initializer_list<_Tp>’ 216 | return begin(std::forward(container)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: error: no matching function for call to ‘end(const llvm::SmallVector&)’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: there are 6 candidates /usr/include/c++/15/bits/range_access.h:122:37: note: candidate 1: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: ‘const llvm::SmallVector’ is not derived from ‘const std::valarray<_Tp>’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:121:31: note: candidate 2: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector’ have incompatible cv-qualifiers 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:112:5: note: candidate 3: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:90:5: note: candidate 4: ‘template decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: required from ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:78:5: note: candidate 5: ‘template decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: required from ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h: In instantiation of ‘decltype(auto) llvm::adl_detail::adl_end(ContainerTy&&) [with ContainerTy = const llvm::SmallVector&]’: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:243:29: required from ‘decltype(auto) llvm::adl_end(ContainerTy&&) [with ContainerTy = const SmallVector&]’ 243 | return adl_detail::adl_end(std::forward(container)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:1600:45: required from ‘bool llvm::is_contained(R&&, const E&) [with R = const SmallVector&; E = Init*]’ 1600 | return std::find(adl_begin(Range), adl_end(Range), Element) != adl_end(Range); | ~~~~~~~^~~~~~~ /usr/lib64/llvm13/include/llvm/TableGen/Record.h:1582:30: required from here 1582 | return llvm::is_contained(TemplateArgs, Name); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/initializer_list:101:5: note: candidate 6: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib64/llvm13/include/llvm/ADT/STLExtras.h:223:13: note: ‘llvm::SmallVector’ is not derived from ‘std::initializer_list<_Tp>’ 223 | return end(std::forward(container)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = llvm::Init*; unsigned int N = 4]’: /usr/lib64/llvm13/include/llvm/TableGen/Record.h:2060:51: required from here 2060 | explicit RecordResolver(Record &R) : Resolver(&R) {} | ^ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 32]’: /usr/lib64/llvm13/include/llvm/ADT/SmallString.h:28:3: required from ‘bool llvm::detail::to_float(const llvm::Twine&, N&, N (*)(const char*, char**)) [with N = float]’ 28 | SmallString() = default; | ^~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/StringExtras.h:267:26: required from here 267 | return detail::to_float(T, Num, strtof); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib64/llvm13/include/llvm/ADT/SmallVector.h:1175:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1175 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ [5/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp [6/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -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 /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangCommentCommandInfoEmitter.cpp [7/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -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 /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ASTTableGen.cpp [8/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -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 /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangASTNodesEmitter.cpp [9/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangASTPropertiesEmitter.cpp [10/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp [11/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangDiagnosticsEmitter.cpp [12/1149] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"Fedora 13.0.1-7.fc42\"" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/include -I/builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/redhat-linux-build/include -I/usr/lib64/llvm13/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++14 -fno-exceptions -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o -c /builddir/build/BUILD/clang13-13.0.1-build/clang-13.0.1.src/utils/TableGen/ClangAttrEmitter.cpp ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.E02i0Z (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.E02i0Z (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a9ba8afc390a4b1480a154cd729f2ee9 -D /var/lib/mock/f42-build-56572025-6544407/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.g08f1vrp:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang13.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M a9ba8afc390a4b1480a154cd729f2ee9 -D /var/lib/mock/f42-build-56572025-6544407/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.g08f1vrp:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang13.spec'