[PATCH] D58436: [clang-format] Do not emit replacements if Java imports are OK

2019-02-20 Thread Krasimir Georgiev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL354452: [clang-format] Do not emit replacements if Java imports are OK (authored by krasimir, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits. Repository: rL LLVM

[PATCH] D58436: [clang-format] Do not emit replacements if Java imports are OK

2019-02-20 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir created this revision. Herald added subscribers: cfe-commits, jdoerfert. Herald added a project: clang. Currently clang-format would always emit a replacement for a block of Java imports even if it is correctly formatted: % cat /tmp/Aggregator.java import X; % clang-format /tmp/Ag