diff options
author | badumbatish <tanghocle456@gmail.com> | 2024-07-21 15:41:21 -0700 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-07-24 07:41:34 +0000 |
commit | 440b82882b0eb1ca3a36e43cc914929556bc125b (patch) | |
tree | 8a535f799072b2e2adc95b498b747aa7cd6560a0 /gcc/rust/hir/rust-hir-dump.cc | |
parent | bfee9e02cdc267311a23b352d5028e619fdabaa0 (diff) | |
download | gcc-440b82882b0eb1ca3a36e43cc914929556bc125b.zip gcc-440b82882b0eb1ca3a36e43cc914929556bc125b.tar.gz gcc-440b82882b0eb1ca3a36e43cc914929556bc125b.tar.bz2 |
Change assertion of constructor
Change the assert of (expr != nullptr) to
(this->expr != nullptr) because we assigned (std::move(expr)) to
this->expr, no need to assert expr
gcc/rust/ChangeLog:
* ast/rust-expr.h (struct AnonConst):
Change assertion of constructor
(struct InlineAsmOperand):
Change assertion of constructor
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions