[cfe-commits] [PATCH] Format inline namespaces

Dmitri Gribenko gribozavr at gmail.com
Sun Dec 30 10:41:50 PST 2012


Hello,

The attached patch teaches the formatter about inline namespaces.
This changes formatting from:

inline namespace X {
  class A {
  };
}

to:

inline namespace X {
class A {
};
}

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format-inline-namespace-v1.patch
Type: application/octet-stream
Size: 1427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121230/7b9ac1fd/attachment.obj>


More information about the cfe-commits mailing list