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

Uniform initialisation for cpp11 #244

Closed

Conversation

sumit674
Copy link

@sumit674 sumit674 commented Sep 2, 2020

The changes includes uniform initialisation of variables and import of cmath for NAN

JonasToth and others added 5 commits July 20, 2020 08:10
…st-correctness

Summary:
This patch connects the check for const-correctness with the new general
utility to add const to variables.
The code-transformation is only done, if the detected variable for const-ness
is not part of a group-declaration.

This patch (in combination with readability-isolate-declaration) shows some
false positives of the ExprMutAnalyzer that should be addressed, as they
result in wrong code-transformation.

Reviewers: alexfh, aaron.ballman, hokein, shuaiwang, lebedev.ri

Subscribers: McKeck, atmnpatel, alanbarr, AlexanderLanin, tsdgeos, whisperity, 0x8000-0000, wuzish, mgehre, Eugene.Zelenko, nemanjai, mgorny, xazax.hun, kbarton, cfe-commits

Tags: #clang-tools-extra, #clang

Differential Revision: https://reviews.llvm.org/D54943
@repo-lockdown
Copy link

repo-lockdown bot commented Sep 2, 2020

This repository does not accept pull requests. Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.

@repo-lockdown repo-lockdown bot closed this Sep 2, 2020
@repo-lockdown repo-lockdown bot locked and limited conversation to collaborators Sep 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants