[PATCH] D153493: [dataflow] avoid more accidental copies of Environment
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 26 07:31:50 PDT 2023
Sorry, this was a mid-air collision with f2123af1e7d75, fixed
in 1adc5a781faa
On Mon, Jun 26, 2023 at 4:23 PM Corentin Jabot via Phabricator <
reviews at reviews.llvm.org> wrote:
> cor3ntin added a comment.
>
> This seem to produce build failures
>
>
> /home/cor3ntin/dev/compilers/LLVM/llvm-project/clang/unittests/Analysis/FlowSensitive/RecordOpsTest.cpp:50:27:
> error: calling a private constructor of class 'clang::dataflow::Environment'
> Environment Env = getEnvironmentAtAnnotation(Results, "p");
> ^
>
> /home/cor3ntin/dev/compilers/LLVM/llvm-project/clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h:556:3:
> note: declared private here
> Environment(const Environment &) = default;
> ^
>
> /home/cor3ntin/dev/compilers/LLVM/llvm-project/clang/unittests/Analysis/FlowSensitive/RecordOpsTest.cpp:112:27:
> error: calling a private constructor of class 'clang::dataflow::Environment'
> Environment Env = getEnvironmentAtAnnotation(Results, "p");
> ^
>
> /home/cor3ntin/dev/compilers/LLVM/llvm-project/clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h:556:3:
> note: declared private here
> Environment(const Environment &) = default;
> ^
>
>
> Repository:
> rG LLVM Github Monorepo
>
> CHANGES SINCE LAST ACTION
> https://reviews.llvm.org/D153493/new/
>
> https://reviews.llvm.org/D153493
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230626/4d86046d/attachment.html>
More information about the cfe-commits
mailing list