llvm-project
llvm-project copied to clipboard
[clang-format] classifies * in template arguments as non-pointer in some cases
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;
@llvm/issue-subscribers-clang-format
Author: Jan Voung (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;
Fixed by #130346