(Take 2) Patch to fix Format's FixNamespaceComments for Objective-C++ files

Vasyl Smyrnov via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 2 06:06:54 PDT 2017


(Take 2, with the correct patch.diff - originally used "svn st" instead of “svn diff")

Hi,

I’ve noticed that clang-format does not respect the "FixNamespaceComments: true” option if an Objective-C++ file is formatted by feeding a .mm file to clang-format, however the option is respected with the same source code supplied via stdin.

The attached patch fixes the problem (based on revision 317195).

Thanks for your consideration.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171102/bcf632a1/attachment.obj>


More information about the cfe-commits mailing list