<div dir="ltr">Hi, sorry about that - are you able to provide a full log, or link to a failing bot?<div>That error message doesn't show where in the LLVM code the error occurs.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 28, 2023 at 7:52 AM Zixuan Wu via Phabricator <<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">zixuan-wu added a comment.<br>
<br>
Hi, there is a compiling error introduced recently as like following when files under clang/lib/Analysis/FlowSensitive/ are being compiled such as TypeErasedDataflowAnalysis.cpp and Transfer.cpp. Does anybody meet also?<br>
<br>
>   from /usr/include/c++/7/functional:60,<br>
>   from /iothome/wuzx/workspace/master-csky/clang/unittests/Analysis/FlowSensitive/TestingSupport.h:16,<br>
>   from /iothome/wuzx/workspace/master-csky/clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp:9:<br>
><br>
> /usr/include/c++/7/optional:453:11: note: ‘std::optional<clang::dataflow::DataflowAnalysisState<clang::dataflow::NoopLattice> >::optional(const std::optional<clang::dataflow::DataflowAnalysisState<clang::dataflow::NoopLattice> >&)’ is implicitly deleted because the default definition would be ill-formed:<br>
><br>
>   class optional<br>
>         ^~~~~~~~<br>
><br>
> /usr/include/c++/7/optional:453:11: error: use of deleted function ‘constexpr std::_Enable_copy_move<false, false, true, true, _Tag>::_Enable_copy_move(const std::_Enable_copy_move<false, false, true, true, _Tag>&) [with _Tag = std::optional<clang::dataflow::DataflowAnalysisState<clang::dataflow::NoopLattice> >]’<br>
> In file included from /usr/include/c++/7/optional:43:0,<br>
><br>
>   from /usr/include/c++/7/bits/node_handle.h:39,<br>
>   from /usr/include/c++/7/bits/hashtable.h:37,<br>
>   from /usr/include/c++/7/unordered_map:47,<br>
>   from /usr/include/c++/7/functional:60,<br>
>   from /iothome/wuzx/workspace/master-csky/clang/unittests/Analysis/FlowSensitive/TestingSupport.h:16,<br>
>   from /iothome/wuzx/workspace/master-csky/clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp:9:<br>
><br>
> /usr/include/c++/7/bits/enable_special_members.h:157:15: note: declared here<br>
><br>
>   constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept  = delete;<br>
>             ^~~~~~~~~~~~~~~~~<br>
><br>
> In file included from /usr/include/c++/7<br>
<br>
The gcc version is gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0.<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D153674/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D153674/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D153674" rel="noreferrer" target="_blank">https://reviews.llvm.org/D153674</a><br>
<br>
</blockquote></div>