clang-format: Fix deref treated as binary op in throw
Manuel Klimek via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 17 00:31:35 PDT 2017
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-commits at lists.llvm.org> wrote:
> 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.
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits