Hi, I'm looking for clang-format features to control formatting of functions with trailing return type.
I found this related change http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20150601/130293.html What are the options to control the formatting presented in that message? Namely, how to achieve the "After" formatting as copied here? Before: template <typename T> auto aaaaaaaaaaaaaaaaaaaaaa(T t) -> decltype(eaaaaaaaaaaaaaaa<T>(t.a) .aaaaaaaa()); After: template <typename T> auto aaaaaaaaaaaaaaaaaaaaaa(T t) -> decltype(eaaaaaaaaaaaaaaa<T>(t.a).aaaaaaaa()); There seem to be nothing related to trailing return or arrow formatting on https://clang.llvm.org/docs/ClangFormatStyleOptions.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users