On Thu, Feb 16, 2017 at 02:41:11PM +0200, Henri Sivonen wrote: > Is there some kind of tool, similar to ./mach clang-format for > whitespace, that changes identifies from C++ standard library style to > Gecko style? > > I.e. foo becomes Foo, foo_bar becomes FooBar and arguments and members > get prefixed with a and m respectively?
There is no out-of-the-box tool to do that, but a tool that can do something like that was presented at the european LLVM summit in 2013. http://llvm.org/devmtg/2013-04/conn-poster.pdf https://bitbucket.org/PEConn/cels It's probably outdated, now, but could provide some foundations if someone feels like working on this problem. Mike _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform