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

Extend modernize-use-auto to casts #25873

Closed
EugeneZelenko opened this issue Nov 12, 2015 · 3 comments
Closed

Extend modernize-use-auto to casts #25873

EugeneZelenko opened this issue Nov 12, 2015 · 3 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla clang-tidy

Comments

@EugeneZelenko
Copy link
Contributor

Bugzilla Link 25499
Resolution FIXED
Resolved on Nov 01, 2016 05:09
Version unspecified
OS All
CC @pepsiman

Extended Description

I think will be good idea to extend modernize-use-auto to cases when variable is assigned with cast, like:

Type Ptr1 = dynamic_cast<Type>(Ptr2);

Same could be done for LLVM casts.

@EugeneZelenko
Copy link
Contributor Author

assigned to @pepsiman

@pepsiman
Copy link
Contributor

pepsiman commented Oct 6, 2016

@pepsiman
Copy link
Contributor

pepsiman commented Nov 1, 2016

Fixed by rL285579.

Same could be done for LLVM casts.

Leaving for bug 26763.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang-tidy
Projects
None yet
Development

No branches or pull requests

2 participants