Skip to content

[clang-format] classifies * in template arguments as non-pointer in some cases #130602

@jvoung

Description

@jvoung

For example:

  • std::vector<int* absl_nonnull> x;
  • MyArray<int* absl_nonnull> arr;

For builtin types like int it might be clear that the * is meant to be a pointer. For user-defined types, it might be less clear?

  • MyFixedArray<MyType* absl_nonnull, MySize * MyCount> fixed_arr;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions