Convert C++ "new" expression

Description

See the attached file.

should convert to

and treated identically to a Objective-C initializer, i.e.:

Environment

None

Activity

Show:
Alex Petuschak
May 18, 2020, 2:30 PM

Please specify “Git Branch Name“ here in JIRA: https://take.ms/wtogJM.

I’ve merged your changes since all tests including integration ones are passing, but please address minor PR comments.

Alex Petuschak
May 29, 2020, 2:31 PM
Edited

See some missing loose-ends (documentation and using the newkeyword as identifier) in commit ID: 41c96143b9994f4e49dce8ba2beb29bb04f2a5bd.

I’ve tried enabling the newkeyword as identifier but this breaks the processing of C++ new expressions. See if this can be fixed on the converter side, and re-enable ShouldAllowNewKeywordAsIdentifier test.

✔️ This conversion should work as before (switch to Swift 5.1 for the previous version).

Alex Petuschak
July 15, 2020, 1:09 PM

Keeping this open to take care of issues with “;“.

Assignee

Ivan Kochurkin

Reporter

Alex Petuschak

Labels

Git Branch Name

Feature/CppNewExpression

GitHub Issue

None

Components

Fix versions

Priority

Medium
Configure