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);
Paths
| Differential D6315
clang-format: ignore C++ keywords in Java ClosedPublic Authored by het on Nov 18 2014, 3:31 PM.
Details
Summary 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);
Diff Detail Event Timelinehet updated this object. Comment Actions Perhaps a more correct way to do this is to transform tok::union, tok::struct, and tok::delete into tok::identifier in the tokenizer if the language is Java This revision is now accepted and ready to land.Nov 19 2014, 6:07 AM
Revision Contents
Diff 16354 lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTestJava.cpp
|