Skip to content

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

@llvmbot

Description

@llvmbot
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 *;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions