Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++11 modernization for FWLite #13118

Merged
merged 1 commit into from Jan 31, 2016
Merged

Conversation

wmtan
Copy link
Contributor

@wmtan wmtan commented Jan 29, 2016

This PR upgrades the FWLite code to C++11/C++14 standards.
This includes:

  1. replacing auto_ptr with unique_ptr
  2. using make_shared and make_unique where appropriate
  3. Replacing 0 with nullptr where applicable
  4. changing iterator loops to range based for loops where appropriate.
  5. using the auto keyword in for loops.
    Also, the const qualifier was added to some for loops where it was missing.
    Some of these changes are prerequisites for implementing propagate_const in FWLite code,
    which will be done in subsequent PR's.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wmtan for CMSSW_8_0_X.

It involves the following packages:

DataFormats/FWLite
FWCore/FWLite
FWCore/TFWLiteSelector
FWCore/TFWLiteSelectorTest

@cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @wddgit this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@davidlange6
Copy link
Contributor

@wmtan - this does not merge

@wmtan
Copy link
Contributor Author

wmtan commented Jan 29, 2016

@davidlange6 OK, I will rebase it.

@cmsbuild
Copy link
Contributor

Pull request #13118 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please check and sign again.

@wmtan
Copy link
Contributor Author

wmtan commented Jan 29, 2016

@davidlange6 Rebased. Should merge now.

@davidlange6
Copy link
Contributor

please test

On Jan 29, 2016, at 4:51 PM, wmtan notifications@github.com wrote:

@davidlange6 Rebased. Should merge now.


Reply to this email directly or view it on GitHub.

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10847/console

@cmsbuild
Copy link
Contributor

-1

Tested at: 9645ab0
I found errors in the following unit tests:

---> test testRecoMETMETProducers had ERRORS
---> test runtestRecoLocalCaloHGCalRecProducers had ERRORS
---> test runtestSimCalorimetryHGCalSimProducers had ERRORS
---> test DetectorDescriptionRegressionTestDOMCount had ERRORS

you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13118/10847/summary.html

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
d120b1d
81a912b
471f6c6
5bc0097
dd3d2c4
4d57087
227e959
a11d0ac
40bea38
c057e65
3e850ff
840efb4
c0ebb2a
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13118/10847/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13118/10847/git-merge-result

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #13118 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please check and sign again.

@wmtan
Copy link
Contributor Author

wmtan commented Jan 30, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10857/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Jan 31, 2016
C++11 modernization for FWLite
@cmsbuild cmsbuild merged commit 275eb73 into cms-sw:CMSSW_8_0_X Jan 31, 2016
cmsbuild added a commit that referenced this pull request Jan 31, 2016
@wmtan wmtan deleted the FWLiteCPP11 branch February 5, 2016 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants