View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014013CMakeCMakepublic2013-03-14 12:542016-06-06 16:40
Reporterszotsaki 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionCMake 3.2Fixed in VersionCMake 3.2 
Summary0014013: Support "continue" in foreach
DescriptionPlease, beside the break() command, add the support for continue() command in a foreach() loop.

Sometimes it comes very handy and helps avoiding very complex if() structures.

Reference: http://en.cppreference.com/w/cpp/language/continue [^]
TagsNo tags attached.
Attached Filespatch file icon cmake_continue.patch [^] (3,398 bytes) 2013-08-30 16:10 [Show Content]
? file icon cmContinueCommand.h [^] (2,035 bytes) 2013-08-30 16:11
cxx file icon cmContinueCommand.cxx [^] (809 bytes) 2013-08-30 16:11
patch file icon 0001-Add-continue-keyword-14013.patch [^] (7,319 bytes) 2014-10-23 03:32 [Show Content]

 Relationships

  Notes
(0033769)
Doug Barbieri (reporter)
2013-08-30 16:10
edited on: 2013-08-30 16:13

I have added a simple patch that turns on the "continue()" command, plus two source files that should live under Source.

The patch is from adding to the git repository, right after commit 457c3e888d454f10009621df91a04a38696c135e.

(0037070)
Gregor Jasny (developer)
2014-10-23 03:33

I ported the patch by Doug to latest master and attached it here (via git format-patch).
(0037324)
Brad King (manager)
2014-12-01 09:54

Mailing list thread for patch:

 [PATCH v5 0/4] Add continue keyword
 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/11675 [^]
(0037357)
Brad King (manager)
2014-12-02 10:44

The command has been added here:

 continue: Add a new CMake language command for loop continuation
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0de867dd [^]
(0038686)
Robert Maynard (manager)
2015-05-04 09:05

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-03-14 12:54 szotsaki New Issue
2013-03-14 13:27 Brad King Status new => backlog
2013-08-30 16:10 Doug Barbieri Note Added: 0033769
2013-08-30 16:10 Doug Barbieri File Added: cmake_continue.patch
2013-08-30 16:11 Doug Barbieri File Added: cmContinueCommand.h
2013-08-30 16:11 Doug Barbieri File Added: cmContinueCommand.cxx
2013-08-30 16:13 Doug Barbieri Note Edited: 0033769
2014-10-23 03:32 Gregor Jasny File Added: 0001-Add-continue-keyword-14013.patch
2014-10-23 03:33 Gregor Jasny Note Added: 0037070
2014-12-01 09:54 Brad King Note Added: 0037324
2014-12-02 10:44 Brad King Note Added: 0037357
2014-12-02 10:44 Brad King Status backlog => resolved
2014-12-02 10:44 Brad King Fixed in Version => CMake 3.2
2014-12-02 10:44 Brad King Target Version => CMake 3.2
2015-05-04 09:05 Robert Maynard Note Added: 0038686
2015-05-04 09:05 Robert Maynard Status resolved => closed
2016-06-06 16:40 Brad King Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team