Bug 527427 - [C++17] Add support for constexpr if
Summary: [C++17] Add support for constexpr if
Status: CLOSED DUPLICATE of bug 522216
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: Next   Edit
Hardware: PC Windows NT
: P3 normal with 2 votes (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: 2017-11-17 15:27 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 2017-11-17 15:27:09 EST
CDT is currently missing support for C++17 constexpr if statements.

See: http://en.cppreference.com/w/cpp/language/if#Constexpr_If
Comment 1 Hansruedi Patzen CLA 2017-11-17 16:02:24 EST
See Gerrit change created: https://git.eclipse.org/r/111823
Comment 2 Nathan Ridge CLA 2018-02-13 17:54:33 EST
This was implemented in the same patch as bug 522216. Thanks Hansruedi!

*** This bug has been marked as a duplicate of bug 522216 ***
Comment 3 Andre Bossert CLA 2018-05-07 04:05:47 EDT
After upgrading to Photon M6 it works! Thanks :)