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

modernize-use-using problems: pointers to struct #31141

Open
llvmbot opened this issue Jan 29, 2017 · 0 comments
Open

modernize-use-using problems: pointers to struct #31141

llvmbot opened this issue Jan 29, 2017 · 0 comments
Labels
bugzilla Issues migrated from bugzilla clang-tidy

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Jan 29, 2017

Bugzilla Link 31793
Version unspecified
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

TEST CASE:
typedef struct foo_s { int i; } * foo_t;

FIX TO:
using foo_t = struct foo_s *;

SHOULD FIX TO:
struct foo_s { int i; };
using foo_t = foo_s *;

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
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

1 participant