[clang] [clang][bytecode] Support compile-time exceptions (PR #189410)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 30 08:52:58 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

The build failed before running any tests. Click on a failure below to see the details.

<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Source.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Source.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Source.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Source.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Source.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Source.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Source.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Source.h:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpFrame.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpFrame.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpFrame.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpFrame.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpFrame.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.h:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBlock.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:44:3: error: unknown type name 'AnyPrimType'
44 |   AnyPrimType Value;
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:64:36: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'const clang::interp::InterpState'
64 |   bool diagnosing() const { return getEvalStatus().Diag != nullptr; }
|                                    ^~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:179:27: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
179 |                           S.getASTContext().getPrintingPolicy(),
|                           ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:188:35: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
188 |                                   S.getASTContext().getPrintingPolicy(),
|                                   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:192:28: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
192 |       print(OS, getThis(), S.getASTContext(),
|                            ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:193:13: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
193 |             S.getASTContext().getLValueReferenceType(
|             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:194:17: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
194 |                 S.getASTContext().getCanonicalTagType(M->getParent())));
|                 ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:199:31: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
199 |   F->getNameForDiagnostic(OS, S.getASTContext().getPrintingPolicy(),
|                               ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpFrame.cpp:213:53: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
213 |     TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty));
|                                                     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Function.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Function.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Function.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Function.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Function.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Function.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Function.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Function.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/MemberPointer.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/MemberPointer.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/MemberPointer.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/MemberPointer.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/MemberPointer.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpStack.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpStack.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpStack.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpStack.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpStack.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Disasm.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Disasm.cpp:14:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBlock.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBlock.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBlock.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBlock.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBlock.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBlock.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBlock.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBlock.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/PrimType.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/PrimType.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/PrimType.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/PrimType.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/PrimType.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.cpp:9:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Descriptor.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Descriptor.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Descriptor.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Descriptor.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Descriptor.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpState.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpState.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpState.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpState.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpState.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.cpp:9:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:44:3: error: unknown type name 'AnyPrimType'
44 |   AnyPrimType Value;
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:64:36: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'const clang::interp::InterpState'
64 |   bool diagnosing() const { return getEvalStatus().Diag != nullptr; }
|                                    ^~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.cpp:117:8: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'clang::interp::InterpState'
117 |   if (!checkingPotentialConstantExpression()) {
|        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.cpp:121:7: error: no matching member function for call to 'CCEDiag'
121 |       CCEDiag(Source->getExprLoc(), diag::note_constexpr_memory_leak)
|       ^~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:150:3: note: candidate function not viable: no known conversion from 'clang::interp::InterpState' to 'clang::interp::State' for object argument
150 |   CCEDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:155:3: note: candidate function not viable: no known conversion from 'clang::interp::InterpState' to 'clang::interp::State' for object argument
155 |   CCEDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:160:3: note: candidate function not viable: no known conversion from 'clang::interp::InterpState' to 'clang::interp::State' for object argument
160 |   CCEDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.cpp:127:32: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'clang::interp::InterpState'
127 |   return NoAllocationsLeft || !getLangOpts().CPlusPlus20;
|                                ^~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.cpp:168:3: error: no matching member function for call to 'FFDiag'
168 |   FFDiag(Current->getSource(OpPC), diag::note_constexpr_step_limit_exceeded);
|   ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'clang::interp::InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'clang::interp::InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'clang::interp::InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
7 errors generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/DynamicAllocator.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/DynamicAllocator.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/DynamicAllocator.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/DynamicAllocator.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/DynamicAllocator.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/DynamicAllocator.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/DynamicAllocator.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/DynamicAllocator.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/DynamicAllocator.cpp:11:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:44:3: error: unknown type name 'AnyPrimType'
44 |   AnyPrimType Value;
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:64:36: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'const clang::interp::InterpState'
64 |   bool diagnosing() const { return getEvalStatus().Diag != nullptr; }
|                                    ^~~~~~~~~~~~~
3 errors generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Interp.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Interp.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Interp.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Interp.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Interp.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/DynamicAllocator.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:26:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:13:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:44:3: error: unknown type name 'AnyPrimType'
44 |   AnyPrimType Value;
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:64:36: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'const clang::interp::InterpState'
64 |   bool diagnosing() const { return getEvalStatus().Diag != nullptr; }
|                                    ^~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:26:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:75:5: error: no matching member function for call to 'CCEDiag'
75 |   S.CCEDiag(E, diag::note_constexpr_overflow) << SrcValue << E->getType();
|   ~~^~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:155:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
155 |   CCEDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:160:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
160 |   CCEDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:150:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
150 |   CCEDiag(SourceLocation Loc,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:26:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:76:10: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
76 |   return S.noteUndefinedBehavior();
|          ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:80:20: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
80 |   uint64_t Limit = S.getLangOpts().ConstexprStepLimit;
|                    ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:82:7: error: no matching member function for call to 'FFDiag'
82 |     S.FFDiag(S.Current->getSource(OpPC),
|     ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:26:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:99:5: error: no matching member function for call to 'FFDiag'
99 |   S.FFDiag(Loc, diag::note_invalid_subexpr_in_const_expr)
|   ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:26:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:123:45: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
123 |           ConstantArrayType::getMaxSizeBits(S.getASTContext()) ||
|                                             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:129:11: error: no matching member function for call to 'FFDiag'
129 |         S.FFDiag(Loc, diag::note_constexpr_new_negative)
|         ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:26:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:130:48: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
130 |             << NumElements->toDiagnosticString(S.getASTContext());
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:132:11: error: no matching member function for call to 'FFDiag'
132 |         S.FFDiag(Loc, diag::note_constexpr_new_too_large)
|         ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:26:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:133:48: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
133 |             << NumElements->toDiagnosticString(S.getASTContext());
|                                                ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:153:7: error: no matching member function for call to 'CCEDiag'
153 |     S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt();
|     ~~^~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:160:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
160 |   CCEDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:150:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
150 |   CCEDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:155:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
155 |   CCEDiag(const Expr *E,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:154:10: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
154 |     if (!S.noteUndefinedBehavior())
|          ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:164:7: error: no matching member function for call to 'CCEDiag'
164 |     S.CCEDiag(E, diag::note_constexpr_large_shift) << Val << Ty << Bits;
|     ~~^~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:155:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
155 |   CCEDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:160:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
160 |   CCEDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:150:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
150 |   CCEDiag(SourceLocation Loc,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:9:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:165:10: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
165 |     if (!S.noteUndefinedBehavior())
|          ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:170:28: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
170 |     if (LHS.isSigned() && !S.getLangOpts().CPlusPlus20) {
|                            ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Interp.h:175:11: error: no matching member function for call to 'CCEDiag'
175 |         S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << LHS.toAPSInt();
|         ~~^~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:155:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
155 |   CCEDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:160:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
160 |   CCEDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:150:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
150 |   CCEDiag(SourceLocation Loc,
|   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/ByteCodeEmitter.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/ByteCodeEmitter.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/ByteCodeEmitter.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/ByteCodeEmitter.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/ByteCodeEmitter.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/ByteCodeEmitter.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/ByteCodeEmitter.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/ByteCodeEmitter.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Program.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Program.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Program.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Program.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Program.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Program.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Program.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Program.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Function.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Compiler.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Compiler.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Compiler.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Compiler.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Compiler.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/ByteCodeEmitter.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.h:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/EvalEmitter.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:44:3: error: unknown type name 'AnyPrimType'
44 |   AnyPrimType Value;
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:64:36: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'const clang::interp::InterpState'
64 |   bool diagnosing() const { return getEvalStatus().Diag != nullptr; }
|                                    ^~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:240:14: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
240 |       return this->emitInvalidCast(CastKind::Volatile, /*Fatal=*/true, E);
|              ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:8117:16: note: in instantiation of member function 'clang::interp::Compiler<clang::interp::EvalEmitter>::VisitCastExpr' requested here
8117 | template class Compiler<EvalEmitter>;
|                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:253:22: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
253 |               return this->emitGetGlobal(*SubExprT, *GlobalIndex, E);
|                      ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:270:12: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
270 |       if (!this->emitGetPtrLocal(*LocalIndex, E))
|            ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:278:14: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
278 |       return this->emitLoadPop(*SubExprT, E);
|              ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:283:12: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
283 |     return this->emitMemcpy(E);
|            ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:302:12: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
302 |       if (!this->emitCastMemberPtrBasePop(DerivedOffset, ToDecl, E))
|            ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:331:12: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
331 |       if (!this->emitCastMemberPtrDerivedPop(-DerivedOffset, ToDecl, E))
|            ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:341:10: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
341 |     if (!this->emitCastMemberPtrDerivedPop(-DerivedOffset, ToDecl, E))
|          ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:363:14: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
363 |         if (!this->emitGetPtrVirtBasePop(extractRecordDecl(B->getType()), E))
|              ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:387:12: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
387 |     return this->emitGetPtrDerivedPop(DerivedOffset,
|            ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:400:12: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
400 |     return this->emitCastFP(TargetSemantics, getRoundingMode(E), E);
|            ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:409:12: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
409 |     return this->emitCastIntegralFloating(classifyPrim(SubExpr),
|            ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:418:14: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
418 |       return this->emitConstBool(FL->getValue().isNonZero(), E);
|              ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:421:12: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
421 |     return this->emitCastFloatingIntegralBool(getFPOptions(E), E);
|            ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:431:14: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
431 |       return this->emitCastFloatingIntegralAP(Ctx.getBitWidth(E->getType()),
|              ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp:434:14: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'clang::interp::Compiler<EvalEmitter>'
434 |       return this->emitCastFloatingIntegralAPS(Ctx.getBitWidth(E->getType()),
|              ^~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltinBitCast.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltinBitCast.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltinBitCast.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltinBitCast.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltinBitCast.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:14:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:44:3: error: unknown type name 'AnyPrimType'
44 |   AnyPrimType Value;
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:64:36: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'const clang::interp::InterpState'
64 |   bool diagnosing() const { return getEvalStatus().Diag != nullptr; }
|                                    ^~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:186:7: error: no matching member function for call to 'FFDiag'
186 |     S.FFDiag(E, diag::note_constexpr_bit_cast_invalid_type)
|     ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:192:5: error: cannot initialize object parameter of type 'clang::interp::State' with an expression of type 'InterpState'
192 |     S.Note(NoteRange.getBegin(), diag::note_constexpr_bit_cast_invalid_subtype)
|     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:224:34: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
224 |       !CheckBitcastType(S, OpPC, S.getASTContext().getBaseElementType(T),
|                                  ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:229:32: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
229 |     const ASTContext &ASTCtx = S.getASTContext();
|                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:241:9: error: no matching member function for call to 'FFDiag'
241 |       S.FFDiag(E, diag::note_constexpr_bit_cast_invalid_vector)
|       ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:252:9: error: no matching member function for call to 'FFDiag'
252 |       S.FFDiag(E, diag::note_constexpr_bit_cast_unsupported_type) << EltTy;
|       ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:338:55: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
338 |   QualType DataType = Ptr.getFieldDesc()->getDataType(S.getASTContext());
|                                                       ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:346:30: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
346 |   const ASTContext &ASTCtx = S.getASTContext();
|                              ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:361:30: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
361 |   const ASTContext &ASTCtx = S.getASTContext();
|                              ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:374:59: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
374 |   QualType FromType = FromPtr.getFieldDesc()->getDataType(S.getASTContext());
|                                                           ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:375:55: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
375 |   QualType ToType = ToPtr.getFieldDesc()->getDataType(S.getASTContext());
|                                                       ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:382:30: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
382 |   const ASTContext &ASTCtx = S.getASTContext();
|                              ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:430:15: error: no matching member function for call to 'FFDiag'
430 |             S.FFDiag(E, diag::note_constexpr_bit_cast_indet_dest)
|             ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp:431:31: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
431 |                 << PtrType << S.getLangOpts().CharIsSigned
|                               ^
17 errors generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Pointer.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Pointer.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Pointer.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Pointer.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Pointer.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Context.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Context.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Context.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Context.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Context.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Compiler.h:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/EvalEmitter.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:44:3: error: unknown type name 'AnyPrimType'
44 |   AnyPrimType Value;
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpState.h:64:36: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'const clang::interp::InterpState'
64 |   bool diagnosing() const { return getEvalStatus().Diag != nullptr; }
|                                    ^~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:75:5: error: no matching member function for call to 'CCEDiag'
75 |   S.CCEDiag(E, diag::note_constexpr_overflow) << SrcValue << E->getType();
|   ~~^~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:155:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
155 |   CCEDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:160:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
160 |   CCEDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:150:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
150 |   CCEDiag(SourceLocation Loc,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:76:10: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
76 |   return S.noteUndefinedBehavior();
|          ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:80:20: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
80 |   uint64_t Limit = S.getLangOpts().ConstexprStepLimit;
|                    ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:82:7: error: no matching member function for call to 'FFDiag'
82 |     S.FFDiag(S.Current->getSource(OpPC),
|     ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:99:5: error: no matching member function for call to 'FFDiag'
99 |   S.FFDiag(Loc, diag::note_invalid_subexpr_in_const_expr)
|   ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:123:45: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
123 |           ConstantArrayType::getMaxSizeBits(S.getASTContext()) ||
|                                             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:129:11: error: no matching member function for call to 'FFDiag'
129 |         S.FFDiag(Loc, diag::note_constexpr_new_negative)
|         ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:130:48: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
130 |             << NumElements->toDiagnosticString(S.getASTContext());
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:132:11: error: no matching member function for call to 'FFDiag'
132 |         S.FFDiag(Loc, diag::note_constexpr_new_too_large)
|         ~~^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:140:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
140 |   FFDiag(SourceInfo SI,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:130:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
130 |   FFDiag(SourceLocation Loc,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/State.h:135:3: note: candidate function not viable: no known conversion from 'InterpState' to 'clang::interp::State' for object argument
135 |   FFDiag(const Expr *E,
|   ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:16:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpHelpers.h:133:48: error: cannot initialize object parameter of type 'const clang::interp::State' with an expression of type 'InterpState'
133 |             << NumElements->toDiagnosticString(S.getASTContext());
|                                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:66:8: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'Compiler<EvalEmitter>'
66 |   if (!C.interpretCall(FD, E)) {
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:67:5: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'Compiler<EvalEmitter>'
67 |     C.cleanup();
|     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:78:14: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'Compiler<EvalEmitter>'
78 |   auto Res = C.interpretExpr(E, /*ConvertResultToRValue=*/E->isGLValue());
|              ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:81:5: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'Compiler<EvalEmitter>'
81 |     C.cleanup();
|     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:89:5: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'Compiler<EvalEmitter>'
89 |     C.cleanup();
|     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.cpp:109:14: error: cannot initialize object parameter of type 'clang::interp::EvalEmitter' with an expression of type 'Compiler<EvalEmitter>'
109 |   auto Res = C.interpretExpr(E, /*ConvertResultToRValue=*/false,
|              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o</summary>

```
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ExprConstant.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ExprConstant.cpp:35:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Context.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/InterpStack.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/Descriptor.cpp.o</summary>

```
FAILED: tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/Descriptor.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Tooling -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/Descriptor.cpp.o -MF tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/Descriptor.cpp.o.d -o tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/Descriptor.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/Descriptor.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/Descriptor.cpp:1:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/../../../lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/../../../lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>
<details>
<summary>tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/toAPValue.cpp.o</summary>

```
FAILED: tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/toAPValue.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Tooling -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/toAPValue.cpp.o -MF tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/toAPValue.cpp.o.d -o tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ByteCode/toAPValue.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/toAPValue.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/toAPValue.cpp:1:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/../../../lib/AST/ByteCode/Context.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/../../../lib/AST/ByteCode/InterpStack.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/../../../lib/AST/ByteCode/MemberPointer.h:12:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/../../../lib/AST/ByteCode/Pointer.h:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/../../../lib/AST/ByteCode/Descriptor.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/AST/ByteCode/../../../lib/AST/ByteCode/PrimType.h:52:26: error: no template named 'variant' in namespace 'std'
52 | using AnyPrimType = std::variant<
|                     ~~~~~^
1 error generated.
```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/189410


More information about the cfe-commits mailing list