[patch] Ignore KeepEmptyLinesAtTheStartOfBlocks for extern "C" blocks

Nico Weber thakis at chromium.org
Wed Nov 12 13:34:26 PST 2014


Hi,

KeepEmptyLinesAtTheStartOfBlocks is ignored for namespace blocks. extern
"C" blocks are similar to namespaces, so it should be ignored there too.
(Requested here: http://crbug.com/432640)

The attached patch implements this.

Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141112/6d3833ca/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format-extern-c.patch
Type: application/octet-stream
Size: 2084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141112/6d3833ca/attachment.obj>


More information about the cfe-commits mailing list