[PATCH] clang-format: ignore C++ keywords in Java

Harry Terkelsen het at google.com
Tue Nov 18 15:32:07 PST 2014


Hi djasper,

Before

```
public void union
(Object o);

public void struct
(Object o);

public void delete (Object o);
```

After

```
public void union(Object o);

public void struct(Object o);

public void delete(Object o);
```

http://reviews.llvm.org/D6315

Files:
  lib/Format/TokenAnnotator.cpp
  lib/Format/UnwrappedLineParser.cpp
  unittests/Format/FormatTestJava.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6315.16354.patch
Type: text/x-patch
Size: 1831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141118/0e6d086a/attachment.bin>


More information about the cfe-commits mailing list