bedrock.lang.cpp.mparser.stmt
(*
* Copyright (c) 2023-2024 BlueRock Security, Inc.
* This software is distributed under the terms of the BedRock Open-Source License.
* See the LICENSE-BedRock file in the repository root for details.
*)
Require Import bedrock.lang.cpp.mparser.prelude.
Require Export bedrock.lang.cpp.parser.stmt.
Require Import bedrock.lang.cpp.syntax.typing.
* Copyright (c) 2023-2024 BlueRock Security, Inc.
* This software is distributed under the terms of the BedRock Open-Source License.
* See the LICENSE-BedRock file in the repository root for details.
*)
Require Import bedrock.lang.cpp.mparser.prelude.
Require Export bedrock.lang.cpp.parser.stmt.
Require Import bedrock.lang.cpp.syntax.typing.
#[local] Definition set_declared_type (t : Mdecltype) (e : MExpr) : MExpr :=
match e with
| Eunresolved_parenlist None es => Eunresolved_parenlist (Some t) es
TODO: The same treatment for other direct initiailization
expressions.