Re: clang-format: Fix deref treated as binary op in throw

2017-07-17 Thread Erik Uhlmann via cfe-commits
Re: clang-format: Fix deref treated as binary op in throw LG, thanks for the patch. For next time, it helps to use phabricator to make people catch patches faster :) Do you have commit access or do you need me to check it in? On Thu, Jul 6, 2017 at 6:53 PM Erik Uhlmann via cfe-commits <cfe-co

clang-format: Fix deref treated as binary op in throw

2017-07-06 Thread Erik Uhlmann via cfe-commits
When dereferencing a pointer in a throw statement, clang-format assigns TT_BinaryOperator to the star token, so it gets formatted as: throw * x; With this change the above becomes throw *x; Bug tracker: https://bugs.llvm.org/show_bug.cgi?id=33665 Attached is a patch containing the fix.