[LLVMbugs] [Bug 19536] clang-format SpaceBeforeParens option behaves oddly with C++ delete

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 23 14:40:10 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19536

Sean McBride <sean at rogue-research.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Sean McBride <sean at rogue-research.com> ---
Richard, thanks for the speedy reply.

I must apologise for the noise though...

"Why are you putting ptr2 in parens anyway?" -> Indeed.  For no good reason.  I
do mostly C & Obj-C and when running clang-format on my coworkers' C++ code it
slipped my mind that delete doesn't require parens like free() does.

So closing this...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140423/36deaa45/attachment.html>


More information about the llvm-bugs mailing list