[PATCH] D126189: [C++20][Modules] Build module static initializers per P1874R1.

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 11 18:42:17 PDT 2022


dblaikie added a comment.

> hmm there seems to be a compiler error, which looks somewhat unrelated to the active patch:
>
>   /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp:125:27: error: no type named 'size_t' in namespace 'std'
>     void* operator new(std::size_t, T) {
>                        ~~~~~^
>   /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp:132:29: error: no type named 'size_t' in namespace 'std'
>     void* operator new[](std::size_t, T) {

Added the missing include here 4ca205855267191ccfd191539cf4b3ed792a4257 <https://reviews.llvm.org/rG4ca205855267191ccfd191539cf4b3ed792a4257>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126189/new/

https://reviews.llvm.org/D126189



More information about the cfe-commits mailing list