==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_08008a44-48b9-4e0f-9105-d1fb244375fe]...done ==> Making package: clang18 18.1.8-2.1 (Thu May 1 23:14:12 2025) ==> Retrieving sources... -> Downloading clang-18.1.8.src.tar.xz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 21.1M 0 2747 0 0 2944 0 2:05:25 --:--:-- 2:05:25 2944 14 21.1M 14 3071k 0 0 1829k 0 0:00:11 0:00:01 0:00:10 4113k 53 21.1M 53 11.3M 0 0 4331k 0 0:00:04 0:00:02 0:00:02 6645k 94 21.1M 94 20.0M 0 0 5582k 0 0:00:03 0:00:03 --:--:-- 7477k 100 21.1M 100 21.1M 0 0 5714k 0 0:00:03 0:00:03 --:--:-- 7579k -> Downloading clang-18.1.8.src.tar.xz.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 566 100 566 0 0 728 0 --:--:-- --:--:-- --:--:-- 728 -> Downloading clang-tools-extra-18.1.8.src.tar.xz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3262k 100 3262k 0 0 3073k 0 0:00:01 0:00:01 --:--:-- 3073k -> Downloading clang-tools-extra-18.1.8.src.tar.xz.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 566 100 566 0 0 754 0 --:--:-- --:--:-- --:--:-- 754 -> Downloading llvm-18.1.8.src.tar.xz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 7 59.1M 7 4508k 0 0 3593k 0 0:00:16 0:00:01 0:00:15 3593k 27 59.1M 27 15.9M 0 0 7267k 0 0:00:08 0:00:02 0:00:06 11.5M 46 59.1M 46 27.7M 0 0 8729k 0 0:00:06 0:00:03 0:00:03 11.6M 66 59.1M 66 39.2M 0 0 9465k 0 0:00:06 0:00:04 0:00:02 11.6M 86 59.1M 86 51.3M 0 0 9.7M 0 0:00:06 0:00:05 0:00:01 11.7M 100 59.1M 100 59.1M 0 0 10.0M 0 0:00:05 0:00:05 --:--:-- 11.7M -> Downloading llvm-18.1.8.src.tar.xz.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 566 100 566 0 0 697 0 --:--:-- --:--:-- --:--:-- 697 100 566 100 566 0 0 696 0 --:--:-- --:--:-- --:--:-- 0 -> Downloading cmake-18.1.8.src.tar.xz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 15 8708 15 1369 0 0 1777 0 0:00:04 --:--:-- 0:00:04 1777 100 8708 100 8708 0 0 11263 0 --:--:-- --:--:-- --:--:-- 3583k -> Downloading cmake-18.1.8.src.tar.xz.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 566 100 566 0 0 685 0 --:--:-- --:--:-- --:--:-- 685 100 566 100 566 0 0 685 0 --:--:-- --:--:-- --:--:-- 0 -> Downloading third-party-18.1.8.src.tar.xz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 392k 100 392k 0 0 465k 0 --:--:-- --:--:-- --:--:-- 465k -> Downloading third-party-18.1.8.src.tar.xz.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 566 100 566 0 0 742 0 --:--:-- --:--:-- --:--:-- 742 -> Found clang-disable-float128-diagnostics-for-device-compilation.patch -> Found support-__GCC_-CON-DE-STRUCTIVE_SIZE.patch -> Found enable-fstack-protector-strong-by-default.patch ==> Validating source files with sha256sums... clang-18.1.8.src.tar.xz ... Passed clang-18.1.8.src.tar.xz.sig ... Skipped clang-tools-extra-18.1.8.src.tar.xz ... Passed clang-tools-extra-18.1.8.src.tar.xz.sig ... Skipped llvm-18.1.8.src.tar.xz ... Passed llvm-18.1.8.src.tar.xz.sig ... Skipped cmake-18.1.8.src.tar.xz ... Passed cmake-18.1.8.src.tar.xz.sig ... Skipped third-party-18.1.8.src.tar.xz ... Passed third-party-18.1.8.src.tar.xz.sig ... Skipped clang-disable-float128-diagnostics-for-device-compilation.patch ... Passed support-__GCC_-CON-DE-STRUCTIVE_SIZE.patch ... Passed enable-fstack-protector-strong-by-default.patch ... Passed ==> Verifying source file signatures with gpg... clang-18.1.8.src.tar.xz ... Passed clang-tools-extra-18.1.8.src.tar.xz ... Passed llvm-18.1.8.src.tar.xz ... Passed cmake-18.1.8.src.tar.xz ... Passed third-party-18.1.8.src.tar.xz ... Passed ==> Making package: clang18 18.1.8-2.1 (Thu May 1 21:14:31 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (3) New Version Net Change Download Size core/libedit 20250104_3.1-1 0.26 MiB extra/compiler-rt18 18.1.8-1 40.64 MiB extra/llvm18-libs 18.1.8-2 128.96 MiB 33.52 MiB Total Download Size: 33.52 MiB Total Installed Size: 169.86 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... llvm18-libs-18.1.8-2-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm18-libs... installing compiler-rt18... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (40) New Version Net Change Download Size extra/cppdap 1.58.0-2 1.55 MiB extra/hicolor-icon-theme 0.18-1 0.05 MiB extra/jsoncpp 1.9.6-3 0.77 MiB extra/libuv 1.51.0-1 0.62 MiB extra/libyaml 0.2.5-3 0.18 MiB extra/llvm-libs 19.1.7-2 134.51 MiB core/mpdecimal 4.0.0-2 0.32 MiB core/python 3.13.3-1 67.42 MiB extra/python-babel 2.15.0-2 28.59 MiB extra/python-charset-normalizer 3.4.1-1 0.44 MiB extra/python-docutils 1:0.21.2-3 5.68 MiB extra/python-idna 3.10-2 0.88 MiB extra/python-imagesize 1.4.1-6 0.05 MiB extra/python-jinja 1:3.1.5-1 1.77 MiB extra/python-markdown-it-py 3.0.0-4 0.68 MiB extra/python-markupsafe 2.1.5-3 0.08 MiB extra/python-mdit_py_plugins 0.4.2-2 0.40 MiB extra/python-mdurl 0.1.2-8 0.06 MiB extra/python-packaging 25.0-1 0.67 MiB extra/python-pygments 2.19.1-1 14.39 MiB extra/python-pytz 2025.1-1 0.15 MiB extra/python-requests 2.32.3-4 0.60 MiB extra/python-roman-numerals-py 3.1.0-1 0.04 MiB extra/python-snowballstemmer 2.2.0-7 2.67 MiB extra/python-sphinx-alabaster-theme 1.0.0-4 0.05 MiB extra/python-sphinxcontrib-applehelp 2.0.0-3 0.26 MiB extra/python-sphinxcontrib-devhelp 2.0.0-4 0.13 MiB extra/python-sphinxcontrib-htmlhelp 2.1.0-3 0.17 MiB extra/python-sphinxcontrib-jsmath 1.0.1-19 0.02 MiB extra/python-sphinxcontrib-qthelp 2.0.0-3 0.16 MiB extra/python-sphinxcontrib-serializinghtml 2.0.0-3 0.14 MiB extra/python-urllib3 2.4.0-1 1.26 MiB extra/python-yaml 6.0.2-2 0.97 MiB extra/rhash 1.4.4-1 0.32 MiB extra/cmake 4.0.1-1 78.86 MiB extra/llvm 19.1.7-2 111.87 MiB extra/llvm18 18.1.8-2 66.67 MiB 13.22 MiB extra/ninja 1.12.1-2 0.38 MiB extra/python-myst-parser 4.0.1-1 0.98 MiB extra/python-sphinx 8.2.3-1 20.35 MiB Total Download Size: 13.22 MiB Total Installed Size: 545.14 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... llvm18-18.1.8-2-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing llvm18... installing cppdap... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator [pending] qt6-base: cmake-gui installing ninja... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing python-pytz... installing python-babel... installing python-docutils... Optional dependencies for python-docutils python-myst-parser: to parse input in "Markdown" (CommonMark) format [pending] python-pillow: for some image manipulation operations python-pygments: for syntax highlighting of code directives and roles [pending] installing python-imagesize... installing python-markupsafe... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support [installed] installing python-packaging... installing python-pygments... installing python-charset-normalizer... installing python-idna... installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-brotlicffi: Brotli support python-h2: HTTP/2 support python-pysocks: SOCKS support python-zstandard: Zstandard support installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library python-pysocks: SOCKS proxy support installing python-roman-numerals-py... installing python-snowballstemmer... Optional dependencies for python-snowballstemmer python-pystemmer: for improved performance installing python-sphinx-alabaster-theme... installing python-sphinxcontrib-applehelp... installing python-sphinxcontrib-devhelp... installing python-sphinxcontrib-htmlhelp... installing python-sphinxcontrib-jsmath... installing python-sphinxcontrib-qthelp... installing python-sphinxcontrib-serializinghtml... installing python-sphinx... Optional dependencies for python-sphinx imagemagick: for ext.imgconverter texlive-fontsextra: for the default admonition title icons in PDF output texlive-latexextra: for generation of PDF documentation installing python-mdurl... installing python-markdown-it-py... Optional dependencies for python-markdown-it-py python-mdit_py_plugins: core plugins [pending] python-linkify-it-py: linkify extension installing python-mdit_py_plugins... installing libyaml... installing python-yaml... installing python-myst-parser... Optional dependencies for python-myst-parser python-linkify-it-py: linkify support installing llvm-libs... installing llvm... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found clang-18.1.8.src.tar.xz -> Found clang-18.1.8.src.tar.xz.sig -> Found clang-tools-extra-18.1.8.src.tar.xz -> Found clang-tools-extra-18.1.8.src.tar.xz.sig -> Found llvm-18.1.8.src.tar.xz -> Found llvm-18.1.8.src.tar.xz.sig -> Found cmake-18.1.8.src.tar.xz -> Found cmake-18.1.8.src.tar.xz.sig -> Found third-party-18.1.8.src.tar.xz -> Found third-party-18.1.8.src.tar.xz.sig -> Found clang-disable-float128-diagnostics-for-device-compilation.patch -> Found support-__GCC_-CON-DE-STRUCTIVE_SIZE.patch -> Found enable-fstack-protector-strong-by-default.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting clang-18.1.8.src.tar.xz with bsdtar -> Extracting clang-tools-extra-18.1.8.src.tar.xz with bsdtar -> Extracting llvm-18.1.8.src.tar.xz with bsdtar -> Extracting cmake-18.1.8.src.tar.xz with bsdtar -> Extracting third-party-18.1.8.src.tar.xz with bsdtar ==> Starting prepare()... `cmake-18.1.8.src' -> `cmake' `third-party-18.1.8.src' -> `third-party' patching file lib/Driver/ToolChains/Linux.h patching file test/Driver/fsanitize.c patching file test/Driver/stack-protector.c patching file lib/Sema/SemaDeclAttr.cpp Hunk #1 succeeded at 4871 (offset -6 lines). patching file lib/Sema/SemaType.cpp Hunk #1 succeeded at 1560 (offset -1 lines). patching file test/SemaCUDA/float128.cu patching file tools/extra/test/pp-trace/pp-trace-pragma-general.cpp patching file tools/extra/test/pp-trace/pp-trace-pragma-ms.cpp patching file tools/extra/test/pp-trace/pp-trace-pragma-opencl.cpp patching file docs/LanguageExtensions.rst patching file docs/ReleaseNotes.rst patching file include/clang/Basic/TargetInfo.h patching file lib/Basic/Targets/ARM.h patching file lib/Basic/Targets/AVR.h patching file lib/Basic/Targets/BPF.h patching file lib/Basic/Targets/M68k.h patching file lib/Basic/Targets/Mips.h patching file lib/Basic/Targets/PPC.h patching file lib/Basic/Targets/RISCV.h patching file lib/Basic/Targets/Sparc.h patching file lib/Basic/Targets/SystemZ.h patching file lib/Frontend/InitPreprocessor.cpp patching file test/AST/ast-dump-macro-json.c patching file test/Analysis/html_diagnostics/relevant_lines/multifile.c patching file test/Lexer/update_consecutive_macro_address_space.c patching file test/Preprocessor/hardware_interference.cpp patching file test/Preprocessor/init-aarch64.c patching file test/Preprocessor/init.c patching file test/Preprocessor/predefined-win-macros.c ==> Starting build()... CMake Deprecation Warning at /startdir/src/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy): The OLD behavior for policy CMP0114 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include) CMake Deprecation Warning at /startdir/src/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy): The OLD behavior for policy CMP0116 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include) -- The C compiler identification is GNU 15.1.1 -- The CXX compiler identification is GNU 15.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib/libffi.so -- Looking for histedit.h -- Looking for histedit.h - found -- Found LibEdit: /usr/include (found version "2.11") -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib/libtinfo.so -- Found ZLIB: /usr/lib/libz.so (found version "1.3.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found LibXml2: /usr/lib/libxml2.so (found version "2.14.2") -- Found CURL: /usr/lib/libcurl.so (found version "8.13.0") -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Found Python3: /usr/bin/python3.13 (found version "3.13.3") found components: Interpreter -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for dladdr -- Looking for dladdr - found -- Clang version: 18.1.8 -- 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) -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning (dev) at lib/Tooling/CMakeLists.txt:58 (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:79 (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 -- Sphinx enabled. -- Found Sphinx: /usr/bin/sphinx-build -- Sphinx enabled. -- Configuring done (3.5s) -- Generating done (0.3s) CMake Warning: Manually-specified variables were not used by the project: LLVM_BUILD_TESTS LLVM_EXTERNAL_LIT -- Build files have been written to: /startdir/src/clang-18.1.8.src/build CMake Deprecation Warning at /startdir/src/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy): The OLD behavior for policy CMP0114 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include) CMake Deprecation Warning at /startdir/src/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy): The OLD behavior for policy CMP0116 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include) -- Building with -fPIC -- Clang version: 18.1.8 -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning (dev) at lib/Tooling/CMakeLists.txt:58 (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:79 (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. -- Sphinx enabled. -- Sphinx enabled. -- Configuring done (0.3s) -- Generating done (0.3s) -- Build files have been written to: /startdir/src/clang-18.1.8.src/build [1/2074] Copying clang's __clang_cuda_cmath.h... [2/2074] Copying clang's __clang_cuda_builtin_vars.h... [3/2074] Copying clang's __clang_cuda_device_functions.h... [4/2074] Copying clang's __clang_cuda_complex_builtins.h... [5/2074] Copying clang's __clang_cuda_libdevice_declares.h... [6/2074] Copying clang's __clang_cuda_intrinsics.h... [7/2074] Copying clang's __clang_cuda_math.h... [8/2074] Copying clang's __clang_cuda_math_forward_declares.h... [9/2074] Copying clang's __clang_cuda_runtime_wrapper.h... [10/2074] Copying clang's __clang_cuda_texture_intrinsics.h... [11/2074] Copying clang's __clang_hip_cmath.h... [12/2074] Copying clang's __clang_hip_libdevice_declares.h... [13/2074] Copying clang's __clang_hip_math.h... [14/2074] Copying clang's __clang_hip_runtime_wrapper.h... [15/2074] Copying clang's __wmmintrin_aes.h... [16/2074] Copying clang's __clang_hip_stdlib.h... [17/2074] Copying clang's __wmmintrin_pclmul.h... [18/2074] Copying clang's adcintrin.h... [19/2074] Copying clang's adxintrin.h... [20/2074] Copying clang's ammintrin.h... [21/2074] Copying clang's altivec.h... [22/2074] Copying clang's amxcomplexintrin.h... [23/2074] Copying clang's amxfp16intrin.h... [24/2074] Copying clang's amxintrin.h... [25/2074] Copying clang's avx512bf16intrin.h... [26/2074] Building Options.inc... [27/2074] Copying clang's avx2intrin.h... [28/2074] Copying clang's avx512bitalgintrin.h... [29/2074] Copying clang's avx512bwintrin.h... [30/2074] Copying clang's avx512cdintrin.h... [31/2074] Copying clang's avx512dqintrin.h... [32/2074] Copying clang's avx512erintrin.h... [33/2074] Copying clang's avx512fintrin.h... [34/2074] Copying clang's avx512fp16intrin.h... [35/2074] Copying clang's avx512ifmaintrin.h... [36/2074] Copying clang's avx512ifmavlintrin.h... [37/2074] Copying clang's avx512pfintrin.h... [38/2074] Copying clang's avx512vbmiintrin.h... [39/2074] Copying clang's avx512vbmivlintrin.h... [40/2074] Copying clang's avx512vbmi2intrin.h... [41/2074] Copying clang's avx512vlbf16intrin.h... [42/2074] Copying clang's avx512vlbitalgintrin.h... [43/2074] Copying clang's avx512vlbwintrin.h... [44/2074] Copying clang's avx512vlcdintrin.h... [45/2074] Copying clang's avx512vlfp16intrin.h... [46/2074] Copying clang's avx512vldqintrin.h... [47/2074] Copying clang's avx512vlvbmi2intrin.h... [48/2074] Copying clang's avx512vlintrin.h... [49/2074] Copying clang's avx512vlvnniintrin.h... [50/2074] Copying clang's avx512vlvp2intersectintrin.h... [51/2074] Copying clang's avx512vp2intersectintrin.h... [52/2074] Copying clang's avx512vnniintrin.h... [53/2074] Copying clang's avxifmaintrin.h... [54/2074] Copying clang's avx512vpopcntdqintrin.h... [55/2074] Copying clang's avx512vpopcntdqvlintrin.h... [56/2074] Copying clang's avxintrin.h... [57/2074] Copying clang's avxvnniint16intrin.h... [58/2074] Copying clang's avxvnniint8intrin.h... [59/2074] Copying clang's bmi2intrin.h... [60/2074] Copying clang's avxneconvertintrin.h... [61/2074] Copying clang's avxvnniintrin.h... [62/2074] Copying clang's bmiintrin.h... [63/2074] Copying clang's builtins.h... [64/2074] Copying clang's cet.h... [65/2074] Copying clang's cetintrin.h... [66/2074] Copying clang's cldemoteintrin.h... [67/2074] Copying clang's clflushoptintrin.h... [68/2074] Copying clang's cmpccxaddintrin.h... [69/2074] Copying clang's clzerointrin.h... [70/2074] Copying clang's cpuid.h... [71/2074] Copying clang's clwbintrin.h... [72/2074] Copying clang's crc32intrin.h... [73/2074] Copying clang's cuda_wrappers/bits/basic_string.h... [74/2074] Copying clang's cuda_wrappers/algorithm... [75/2074] Copying clang's cuda_wrappers/bits/basic_string.tcc... [76/2074] Copying clang's cuda_wrappers/bits/shared_ptr_base.h... [77/2074] Copying clang's cuda_wrappers/cmath... [78/2074] Copying clang's cuda_wrappers/complex... [79/2074] Copying clang's cuda_wrappers/new... [80/2074] Copying clang's emmintrin.h... [81/2074] Copying clang's enqcmdintrin.h... [82/2074] Copying clang's f16cintrin.h... [83/2074] Copying clang's fma4intrin.h... [84/2074] Copying clang's fmaintrin.h... [85/2074] Copying clang's fxsrintrin.h... [86/2074] Copying clang's gfniintrin.h... [87/2074] Copying clang's hexagon_circ_brev_intrinsics.h... [88/2074] Copying clang's hexagon_protos.h... [89/2074] Copying clang's hexagon_types.h... [90/2074] Copying clang's hlsl.h... [91/2074] Copying clang's hresetintrin.h... [92/2074] Copying clang's htmintrin.h... [93/2074] Copying clang's htmxlintrin.h... [94/2074] Copying clang's hvx_hexagon_protos.h... [95/2074] Copying clang's ia32intrin.h... [96/2074] Copying clang's immintrin.h... [97/2074] Copying clang's intrin.h... [98/2074] Copying clang's invpcidintrin.h... [99/2074] Copying clang's keylockerintrin.h... [100/2074] Copying clang's larchintrin.h... [101/2074] Copying clang's lasxintrin.h... [102/2074] Copying clang's llvm_libc_wrappers/assert.h... [103/2074] Copying clang's lsxintrin.h... [104/2074] Copying clang's lwpintrin.h... [105/2074] Copying clang's lzcntintrin.h... [106/2074] Copying clang's mm3dnow.h... [107/2074] Copying clang's mm_malloc.h... [108/2074] Copying clang's mmintrin.h... [109/2074] Copying clang's movdirintrin.h... [110/2074] Copying clang's msa.h... [111/2074] Copying clang's mwaitxintrin.h... [112/2074] Copying clang's opencl-c.h... [113/2074] Copying clang's nmmintrin.h... [114/2074] Copying clang's openmp_wrappers/math.h... [115/2074] Copying clang's pkuintrin.h... [116/2074] Copying clang's pconfigintrin.h... [117/2074] Copying clang's pmmintrin.h... [118/2074] Copying clang's ppc_wrappers/bmi2intrin.h... [119/2074] Copying clang's ppc_wrappers/emmintrin.h... [120/2074] Copying clang's popcntintrin.h... [121/2074] Copying clang's ppc_wrappers/immintrin.h... [122/2074] Copying clang's ppc_wrappers/mmintrin.h... [123/2074] Copying clang's ppc_wrappers/mm_malloc.h... [124/2074] Copying clang's ppc_wrappers/pmmintrin.h... [125/2074] Copying clang's ppc_wrappers/bmiintrin.h... [126/2074] Copying clang's ppc_wrappers/nmmintrin.h... [127/2074] Copying clang's ppc_wrappers/smmintrin.h... [128/2074] Copying clang's ppc_wrappers/tmmintrin.h... [129/2074] Copying clang's ppc_wrappers/x86gprintrin.h... [130/2074] Copying clang's ppc_wrappers/x86intrin.h... [131/2074] Copying clang's ppc_wrappers/xmmintrin.h... [132/2074] Copying clang's prfchiintrin.h... [133/2074] Copying clang's ptwriteintrin.h... [134/2074] Copying clang's prfchwintrin.h... [135/2074] Copying clang's raointintrin.h... [136/2074] Copying clang's rdpruintrin.h... [137/2074] Copying clang's rdseedintrin.h... [138/2074] Copying clang's rtmintrin.h... [139/2074] Copying clang's serializeintrin.h... [140/2074] Copying clang's s390intrin.h... [141/2074] Copying clang's sha512intrin.h... [142/2074] Copying clang's sgxintrin.h... [143/2074] Copying clang's shaintrin.h... [144/2074] Copying clang's sm3intrin.h... [145/2074] Copying clang's sm4intrin.h... [146/2074] Copying clang's smmintrin.h... [147/2074] Copying clang's tbmintrin.h... [148/2074] Copying clang's tmmintrin.h... [149/2074] Copying clang's tsxldtrkintrin.h... [150/2074] Copying clang's uintrintrin.h... [151/2074] Copying clang's usermsrintrin.h... [152/2074] Copying clang's vaesintrin.h... [153/2074] Copying clang's vecintrin.h... [154/2074] Copying clang's velintrin.h... [155/2074] Copying clang's velintrin_approx.h... [156/2074] Copying clang's velintrin_gen.h... [157/2074] Copying clang's vpclmulqdqintrin.h... [158/2074] Copying clang's waitpkgintrin.h... [159/2074] Copying clang's wasm_simd128.h... [160/2074] Copying clang's wbnoinvdintrin.h... [161/2074] Copying clang's x86gprintrin.h... [162/2074] Copying clang's wmmintrin.h... [163/2074] Copying clang's x86intrin.h... [164/2074] Copying clang's xmmintrin.h... [165/2074] Copying clang's xopintrin.h... [166/2074] Copying clang's xsavecintrin.h... [167/2074] Copying clang's xsaveintrin.h... [168/2074] Copying clang's xsaveoptintrin.h... [169/2074] Copying clang's xsavesintrin.h... [170/2074] Copying clang's xtestintrin.h... [171/2074] Bundling HTMLLogger resources [172/2074] Creating export file for SampleAnalyzerPlugin [173/2074] Bundling HTMLForest resources [174/2074] Creating export file for CheckerDependencyHandlingAnalyzerPlugin [175/2074] Creating export file for CheckerOptionHandlingAnalyzerPlugin [176/2074] Generating ../../bin/scan-build [177/2074] Generating ../../libexec/c++-analyzer [178/2074] cd /startdir/src/clang-18.1.8.src/build/docs && /usr/bin/cmake -E copy_directory /startdir/src/clang-18.1.8.src/docs /startdir/src/clang-18.1.8.src/build/docs && /usr/bin/cmake -E copy_if_different /startdir/src/clang-18.1.8.src/docs/../CodeOwners.rst /startdir/src/clang-18.1.8.src/build/docs [179/2074] Generating ../../libexec/ccc-analyzer [180/2074] Generating ../../share/man/man1/scan-build.1 [181/2074] Generating ../../share/scan-build/scanview.css [182/2074] Generating ../../share/scan-build/sorttable.js [183/2074] Generating ../../bin/analyze-build [184/2074] Generating ../../bin/intercept-build [185/2074] Building CXX object utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o [186/2074] Generating ../../bin/scan-build-py [187/2074] Generating ../../lib/libear/__init__.py [188/2074] Building CXX object lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o [189/2074] Generating ../../lib/libear/config.h.in [190/2074] Generating ../../lib/libscanbuild/__init__.py [191/2074] Generating ../../lib/libear/ear.c [192/2074] Building CXX object utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o FAILED: utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/startdir/src/clang-18.1.8.src/build/utils/TableGen -I/startdir/src/clang-18.1.8.src/utils/TableGen -I/startdir/src/clang-18.1.8.src/include -I/startdir/src/clang-18.1.8.src/build/include -I/usr/lib/llvm18/include -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g1 -ffile-prefix-map=/startdir/src=/usr/src/debug/clang18 -flto=auto -falign-functions=32 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -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 /startdir/src/clang-18.1.8.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp In file included from /usr/lib/llvm18/include/llvm/ADT/SmallString.h:17, from /startdir/src/clang-18.1.8.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:15: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:119:62: error: ‘uint64_t’ was not declared in this scope 119 | std::conditional_t= 8, uint64_t, | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:29:1: note: ‘uint64_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 28 | #include +++ |+#include 29 | #include /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:120:24: error: ‘uint32_t’ was not declared in this scope 120 | uint32_t>; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:120:24: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:120:32: error: template argument 2 is invalid 120 | uint32_t>; | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:120:32: error: template argument 3 is invalid /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:124:27: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 124 | alignas(SmallVectorBase>) char Base[sizeof( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:124:47: error: template argument 1 is invalid [-Wtemplate-body] 124 | alignas(SmallVectorBase>) char Base[sizeof( | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:124:48: error: expected ‘)’ before ‘>’ token [-Wtemplate-body] 124 | alignas(SmallVectorBase>) char Base[sizeof( | ~ ^~ | ) /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:124:48: error: expected unqualified-id before ‘>’ token [-Wtemplate-body] 124 | alignas(SmallVectorBase>) char Base[sizeof( | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:134:30: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 134 | : public SmallVectorBase> { | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:134:50: error: template argument 1 is invalid [-Wtemplate-body] 134 | : public SmallVectorBase> { | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:134:51: error: expected ‘{’ before ‘>’ token 134 | : public SmallVectorBase> { | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In member function ‘T* llvm::SmallVectorTemplateBase >::mallocForGrow(size_t, size_t&)’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:457:23: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 457 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:457:43: error: template argument 1 is invalid [-Wtemplate-body] 457 | SmallVectorBase>::mallocForGrow( | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:457:48: error: ‘::mallocForGrow’ has not been declared [-Wtemplate-body] 457 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: At global scope: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1330:45: error: ‘uint32_t’ was not declared in this scope 1330 | extern template class llvm::SmallVectorBase; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1330:45: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1330:53: error: template argument 1 is invalid 1330 | extern template class llvm::SmallVectorBase; | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallString.h:52:26: required from here 52 | SmallVectorImpl::assign(RHS.begin(), RHS.end()); | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallString.h:52:26: required from here 52 | SmallVectorImpl::assign(RHS.begin(), RHS.end()); | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ In file included from /usr/lib/llvm18/include/llvm/Support/MemoryBuffer.h:19, from /usr/lib/llvm18/include/llvm/Support/SourceMgr.h:19, from /usr/lib/llvm18/include/llvm/TableGen/Error.h:17, from /startdir/src/clang-18.1.8.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:17: /usr/lib/llvm18/include/llvm/ADT/Twine.h: In constructor ‘llvm::Twine::Twine(const llvm::SmallVectorImpl&)’: /usr/lib/llvm18/include/llvm/ADT/Twine.h:321:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 321 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /usr/lib/llvm18/include/llvm/ADT/Twine.h:322:37: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 322 | LHS.ptrAndLength.length = Str.size(); | ^~~~ /usr/lib/llvm18/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::toStringRef(llvm::SmallVectorImpl&) const’: /usr/lib/llvm18/include/llvm/ADT/Twine.h:496:28: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 496 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib/llvm18/include/llvm/ADT/Twine.h:496:40: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 496 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/SourceMgr.h:290:27: required from here 290 | SmallVector FixIts; | ^~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:342:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 342 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/SourceMgr.h:290:27: required from here 290 | SmallVector FixIts; | ^~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/Support/SourceMgr.h: In member function ‘llvm::ArrayRef llvm::SMDiagnostic::getFixIts() const’: /usr/lib/llvm18/include/llvm/Support/SourceMgr.h:317:48: error: could not convert ‘((const llvm::SMDiagnostic*)this)->llvm::SMDiagnostic::FixIts’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 317 | ArrayRef getFixIts() const { return FixIts; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:311:26: required from here 311 | SmallVector Slabs; | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:311:26: required from here 311 | SmallVector Slabs; | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl >’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector, 0>’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:314:45: required from here 314 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector, 0>’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:314:45: required from here 314 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ 630 | using SuperClass::set_size; | ^~~~~~~~ In file included from /usr/lib/llvm18/include/llvm/ADT/FoldingSet.h:23, from /usr/lib/llvm18/include/llvm/TableGen/Record.h:20, from /usr/lib/llvm18/include/llvm/TableGen/Error.h:18: /usr/lib/llvm18/include/llvm/Support/Allocator.h: At global scope: /usr/lib/llvm18/include/llvm/Support/Allocator.h:351:59: error: expected ‘)’ before ‘,’ token [-Wtemplate-body] 351 | void DeallocateSlabs(SmallVectorImpl::iterator I, | ~ ^ | ) /usr/lib/llvm18/include/llvm/Support/Allocator.h:352:24: error: invalid use of qualified-name ‘llvm::SmallVectorImpl::iterator’ [-Wtemplate-body] 352 | SmallVectorImpl::iterator E) { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:352:49: error: expected ‘;’ at end of member declaration [-Wtemplate-body] 352 | SmallVectorImpl::iterator E) { | ^~~~~~~~ | ; /usr/lib/llvm18/include/llvm/Support/Allocator.h:352:58: error: ‘E’ does not name a type [-Wtemplate-body] 352 | SmallVectorImpl::iterator E) { | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In destructor ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:98:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 98 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:98:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 98 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘llvm::BumpPtrAllocatorImpl& llvm::BumpPtrAllocatorImpl::operator=(llvm::BumpPtrAllocatorImpl&&)’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:103:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 103 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:103:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 103 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::Reset()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:128:15: error: ‘class llvm::SmallVector’ has no member named ‘empty’ [-Wtemplate-body] 128 | if (Slabs.empty()) | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:133:28: error: ‘class llvm::SmallVector’ has no member named ‘front’ [-Wtemplate-body] 133 | CurPtr = (char *)Slabs.front(); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:137:37: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 137 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:137:53: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 137 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:138:11: error: ‘class llvm::SmallVector’ has no member named ‘erase’ [-Wtemplate-body] 138 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:138:33: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 138 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:138:49: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 138 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::GetNumSlabs() const’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:225:45: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 225 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:225:71: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 225 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘std::optional llvm::BumpPtrAllocatorImpl::identifyObject(const void*)’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:235:36: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 235 | for (size_t Idx = 0, E = Slabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:236:54: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 236 | const char *S = static_cast(Slabs[Idx]); | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h:244:47: error: ‘class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 244 | for (size_t Idx = 0, E = CustomSizedSlabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:245:65: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 245 | const char *S = static_cast(CustomSizedSlabs[Idx].first); | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h:246:37: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 246 | size_t Size = CustomSizedSlabs[Idx].second; | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::getTotalMemory() const’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:283:25: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 283 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:283:56: error: ‘E’ was not declared in this scope [-Wtemplate-body] 283 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h:284:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 284 | TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: there are 6 candidates In file included from /usr/include/c++/15.1.1/bits/range_access.h:38, from /usr/include/c++/15.1.1/string:55, from /startdir/src/clang-18.1.8.src/utils/TableGen/TableGenBackends.h:18, from /startdir/src/clang-18.1.8.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:14: /usr/include/c++/15.1.1/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.1.1/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: candidate 2: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:66:5: note: candidate 3: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: there are 6 candidates /usr/include/c++/15.1.1/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.1.1/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: candidate 2: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:90:5: note: candidate 3: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::PrintStats() const’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:297:46: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 297 | detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:337:54: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 337 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::DeallocateCustomSizedSlabs()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: there are 6 candidates /usr/include/c++/15.1.1/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.1.1/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: candidate 2: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:66:5: note: candidate 3: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: there are 6 candidates /usr/include/c++/15.1.1/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.1.1/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: candidate 2: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15.1.1/bits/range_access.h:90:5: note: candidate 3: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::SpecificBumpPtrAllocator::DestroyAll()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:410:35: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 410 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:410:76: error: ‘E’ was not declared in this scope [-Wtemplate-body] 410 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h:413:41: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 413 | std::distance(Allocator.Slabs.begin(), I)); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:415:41: error: ‘class llvm::SmallVector’ has no member named ‘back’ [-Wtemplate-body] 415 | char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: there are 6 candidates /usr/include/c++/15.1.1/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.1.1/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: candidate 2: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:66:5: note: candidate 3: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: there are 6 candidates /usr/include/c++/15.1.1/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.1.1/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: candidate 2: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15.1.1/bits/range_access.h:90:5: note: candidate 3: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/FoldingSet.h:322:29: required from here 322 | SmallVector Bits; | ^~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/FoldingSet.h:322:29: required from here 322 | SmallVector Bits; | ^~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/FoldingSet.h: In member function ‘unsigned int llvm::FoldingSetNodeID::ComputeHash() const’: /usr/lib/llvm18/include/llvm/ADT/FoldingSet.h:372:37: error: ‘const class llvm::SmallVector’ has no member named ‘data’ 372 | return FoldingSetNodeIDRef(Bits.data(), Bits.size()).ComputeHash(); | ^~~~ /usr/lib/llvm18/include/llvm/ADT/FoldingSet.h:372:50: error: ‘const class llvm::SmallVector’ has no member named ‘size’ 372 | return FoldingSetNodeIDRef(Bits.data(), Bits.size()).ComputeHash(); | ^~~~ In file included from /usr/lib/llvm18/include/llvm/TableGen/Record.h:23: /usr/lib/llvm18/include/llvm/ADT/StringExtras.h: In function ‘void llvm::toHex(ArrayRef, bool, SmallVectorImpl&)’: /usr/lib/llvm18/include/llvm/ADT/StringExtras.h:186:10: error: ‘class llvm::SmallVectorImpl’ has no member named ‘resize_for_overwrite’ 186 | Output.resize_for_overwrite(Length * 2); | ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/StringExtras.h:190:11: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVectorImpl’ and ‘size_t’ {aka ‘long unsigned int’}) 190 | Output[i * 2 ] = hexdigit(c >> 4, LowerCase); | ^ /usr/lib/llvm18/include/llvm/ADT/StringExtras.h:191:11: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVectorImpl’ and ‘size_t’ {aka ‘long unsigned int’}) 191 | Output[i * 2 + 1] = hexdigit(c & 15, LowerCase); | ^ In file included from /usr/lib/llvm18/include/llvm/TableGen/Record.h:30: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h: In member function ‘llvm::raw_ostream& llvm::raw_ostream::operator<<(const llvm::SmallVectorImpl&)’: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:257:22: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 257 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:257:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 257 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib/llvm18/include/llvm/Support/raw_ostream.h: In member function ‘llvm::StringRef llvm::raw_svector_ostream::str() const’: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:699:47: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 699 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:699:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 699 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib/llvm18/include/llvm/Support/raw_ostream.h: In member function ‘virtual void llvm::raw_svector_ostream::reserveExtraSpace(uint64_t)’: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:702:8: error: ‘class llvm::SmallVectorImpl’ has no member named ‘reserve’ 702 | OS.reserve(tell() + ExtraSize); | ^~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1114:53: required from here 1114 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1114:53: required from here 1114 | using const_case_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h: At global scope: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1117:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 1117 | inline const_case_iterator arg_begin() const { return getConds().begin(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm18/include/llvm/TableGen/Record.h:1118:10: error: ‘const_case_iterator’ does not name a type; did you mean ‘concat_iterator’? 1118 | inline const_case_iterator arg_end () const { return getConds().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm18/include/llvm/TableGen/Record.h:1123:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 1123 | inline const_val_iterator name_begin() const { return getVals().begin();} | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm18/include/llvm/TableGen/Record.h:1124:10: error: ‘const_val_iterator’ does not name a type; did you mean ‘concat_iterator’? 1124 | inline const_val_iterator name_end () const { return getVals().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1518:59: required from here 1518 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1518:59: required from here 1518 | using const_name_iterator = SmallVectorImpl::const_iterator; | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1520:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1520 | inline const_arg_iterator arg_begin() const { return getArgs().begin(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm18/include/llvm/TableGen/Record.h:1521:10: error: ‘const_arg_iterator’ does not name a type; did you mean ‘concat_iterator’? 1521 | inline const_arg_iterator arg_end () const { return getArgs().end(); } | ^~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm18/include/llvm/TableGen/Record.h:1526:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1526 | inline const_name_iterator name_begin() const { return getArgNames().begin();} | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm18/include/llvm/TableGen/Record.h:1527:10: error: ‘const_name_iterator’ does not name a type; did you mean ‘concat_iterator’? 1527 | inline const_name_iterator name_end () const { return getArgNames().end(); } | ^~~~~~~~~~~~~~~~~~~ | concat_iterator /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1184:37: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::PreferredInlineBytes’ 1184 | kPreferredSmallVectorSizeof - sizeof(SmallVector); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1185:48: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::NumElementsThatFit’ 1185 | static constexpr size_t NumElementsThatFit = PreferredInlineBytes / sizeof(T); | ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1187:7: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::value’ 1187 | NumElementsThatFit == 0 ? 1 : NumElementsThatFit; | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1207:71: required from here 1207 | unsigned N = CalculateSmallVectorDefaultInlinedElements::value> | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1184:37: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::PreferredInlineBytes’ 1184 | kPreferredSmallVectorSizeof - sizeof(SmallVector); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1185:48: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::NumElementsThatFit’ 1185 | static constexpr size_t NumElementsThatFit = PreferredInlineBytes / sizeof(T); | ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1187:7: required from ‘constexpr const size_t llvm::CalculateSmallVectorDefaultInlinedElements::value’ 1187 | NumElementsThatFit == 0 ? 1 : NumElementsThatFit; | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1207:71: required from here 1207 | unsigned N = CalculateSmallVectorDefaultInlinedElements::value> | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::RecordVal::getReferenceLocs() const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1613:55: error: could not convert ‘((const llvm::RecordVal*)this)->llvm::RecordVal::ReferenceLocs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1613 | ArrayRef getReferenceLocs() const { return ReferenceLocs; } | ^~~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1660:25: required from here 1660 | SmallVector Locs; | ^~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1660:25: required from here 1660 | SmallVector Locs; | ^~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1664:29: required from here 1664 | SmallVector Values; | ^~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:342:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 342 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1664:29: required from here 1664 | SmallVector Values; | ^~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1665:33: required from here 1665 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1665:33: required from here 1665 | SmallVector Assertions; | ^~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1666:28: required from here 1666 | SmallVector Dumps; | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1666:28: required from here 1666 | SmallVector Dumps; | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl >’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector, 0>’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1670:48: required from here 1670 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector, 0>’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1670:48: required from here 1670 | SmallVector, 0> SuperClasses; | ^~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getLoc() const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1723:43: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Locs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1723 | ArrayRef getLoc() const { return Locs; } | ^~~~ | | | const llvm::SmallVector /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getForwardDeclarationLocs() const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1727:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::ForwardDeclarationLocs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1727 | return ForwardDeclarationLocs; | ^~~~~~~~~~~~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getReferenceLocs() const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1734:55: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::ReferenceLocs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1734 | ArrayRef getReferenceLocs() const { return ReferenceLocs; } | ^~~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getTemplateArgs() const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1752:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::TemplateArgs’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1752 | return TemplateArgs; | ^~~~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getValues() const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1755:50: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Values’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1755 | ArrayRef getValues() const { return Values; } | ^~~~~~ | | | const llvm::SmallVector /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getAssertions() const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1757:58: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Assertions’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1757 | ArrayRef getAssertions() const { return Assertions; } | ^~~~~~~~~~ | | | const llvm::SmallVector /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef llvm::Record::getDumps() const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1758:48: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::Dumps’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ 1758 | ArrayRef getDumps() const { return Dumps; } | ^~~~~ | | | const llvm::SmallVector /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘llvm::ArrayRef > llvm::Record::getSuperClasses() const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1761:12: error: could not convert ‘((const llvm::Record*)this)->llvm::Record::SuperClasses’ from ‘const llvm::SmallVector, 0>’ to ‘llvm::ArrayRef >’ 1761 | return SuperClasses; | ^~~~~~~~~~~~ | | | const llvm::SmallVector, 0> /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘const llvm::RecordVal* llvm::Record::getValue(const llvm::Init*) const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1775:33: error: ‘begin’ was not declared in this scope 1775 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1775:33: note: suggested alternatives: /usr/include/c++/15.1.1/bits/range_access.h:120:37: note: ‘std::begin’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15.1.1/initializer_list:90:5: note: ‘std::begin’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1775:33: error: ‘end’ was not declared in this scope 1775 | for (const RecordVal &Val : Values) | ^~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1775:33: note: suggested alternatives: /usr/include/c++/15.1.1/bits/range_access.h:122:37: note: ‘std::end’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15.1.1/initializer_list:101:5: note: ‘std::end’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘void llvm::Record::removeValue(llvm::Init*)’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1803:37: error: ‘class llvm::SmallVector’ has no member named ‘size’ 1803 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | ^~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1804:17: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘unsigned int’) 1804 | if (Values[i].getNameInit() == Name) { | ^ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1805:16: error: ‘class llvm::SmallVector’ has no member named ‘erase’ 1805 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1805:29: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1805 | Values.erase(Values.begin()+i); | ^~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(const llvm::Record*) const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: there are 6 candidates /usr/include/c++/15.1.1/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.1.1/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: candidate 2: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: required from here 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:66:5: note: candidate 3: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: required from here 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: there are 6 candidates /usr/include/c++/15.1.1/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.1.1/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: candidate 2: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: required from here 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:90:5: note: candidate 3: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: required from here 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1834:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1834 | for (const auto &SCPair : SuperClasses) | ^~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘bool llvm::Record::isSubClassOf(llvm::StringRef) const’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: there are 6 candidates /usr/include/c++/15.1.1/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.1.1/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: candidate 2: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: required from here 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:66:5: note: candidate 3: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.1.1/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: required from here 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: there are 6 candidates /usr/include/c++/15.1.1/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.1.1/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: candidate 2: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: required from here 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:90:5: note: candidate 3: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.1.1/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15.1.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: required from here 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/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.1.1/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/include/c++/15.1.1/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.1.1/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/TableGen/Record.h:1841:31: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 1841 | for (const auto &SCPair : SuperClasses) { | ^~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl >’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector, 4>’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:2125:49: required from here 2125 | SmallVector, 4> Parts; | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector, 4>’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h:2125:49: required from here 2125 | SmallVector, 4> Parts; | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘size_t llvm::LessRecordRegister::RecordParts::size()’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:2148:34: error: ‘class llvm::SmallVector, 4>’ has no member named ‘size’ 2148 | size_t size() { return Parts.size(); } | ^~~~ /usr/lib/llvm18/include/llvm/TableGen/Record.h: In member function ‘std::pair llvm::LessRecordRegister::RecordParts::getPart(size_t)’: /usr/lib/llvm18/include/llvm/TableGen/Record.h:2152:19: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 4>’ and ‘size_t’ {aka ‘long unsigned int’}) 2152 | return Parts[i]; | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/CommandLine.h:233:28: required from here 233 | SmallVector