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

2017-11-02 Thread Vasyl Smyrnov via cfe-commits
(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 t

Patch to fix Format's FixNamespaceComments for Objective-C++ files

2017-11-02 Thread Vasyl Smyrnov via cfe-commits
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