Issue 150276
Summary [clang-tidy] modernize-use-using suggests incorrect fix for typedef with comma
Labels clang-tidy
Assignees
Reporter gvol
    A typedef of

    typedef char const *iterator, *const_iterator;

gets fixed into 

    using iterator = char const *;
    using const_iterator = iterator*;

when it should be 

    using iterator = char const *;
 using const_iterator = char const *;


https://godbolt.org/z/jhhE8fov5

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to