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.
patch.diff
Description: Binary data
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits