Skip to content

Switch VarDecl 提取出来时需要给InitExpr外加Paran #1

@wolf5x

Description

@wolf5x

switch(T t=x) {
}

==>

T t=(x);
switch(t) {
}

因为 x有可能含逗号表达式。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions