Bug 531098 - [C++17] Add support for switch with initializer
Summary: [C++17] Add support for switch with initializer
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: Next   Edit
Hardware: PC Windows 10
: P3 normal with 1 vote (vote)
Target Milestone: 9.5.0   Edit
Assignee: Hansruedi Patzen CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 519734
  Show dependency tree
 
Reported: 2018-02-13 07:54 EST by Hansruedi Patzen CLA
Modified: 2018-05-07 04:05 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hansruedi Patzen CLA 2018-02-13 07:54:29 EST
As with if statements (https://bugs.eclipse.org/bugs/show_bug.cgi?id=522216), C++17 now supports switch statements with initializers.

See http://en.cppreference.com/w/cpp/language/switch
Comment 1 Eclipse Genie CLA 2018-02-13 11:59:36 EST
New Gerrit change created: https://git.eclipse.org/r/117292
Comment 3 Nathan Ridge CLA 2018-02-15 00:57:43 EST
Fixed for 9.5. Thanks, Hansruedi!
Comment 4 Andre Bossert CLA 2018-05-07 04:05:09 EDT
After upgrading to Photon M6 it works! Thanks :)