https://llvm.org/bugs/show_bug.cgi?id=30770
Bug ID: 30770 Summary: clang-format transtform "operator< <T,T>" into "operator<<T,T>" Product: clang Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: rafael.espind...@gmail.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified Running clang-format in struct foo {}; template <typename T, typename U> bool operator<(const foo &X, const int &Y) { return false; } template <typename Func> void bar2(Func Comp) {} template <typename T> void bar(const T &V) { bar2(operator< <T, T>); } void f() { bar(2); } causes it to not compile as operator< is converted into operator<< -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs