diff options
| author | Daniel Jasper <djasper@google.com> | 2017-06-19 07:30:04 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2017-06-19 07:30:04 +0000 |
| commit | 271dd0603e4ddb63e1c7cc140459cb42fe13a2ac (patch) | |
| tree | bb7f5b6edd0c5e94a599e1c05502a879dc1eed7b /llvm/lib/CodeGen/TailDuplicator.cpp | |
| parent | f955efc01be806f8a8813c2b50b7a693db66c0de (diff) | |
| download | bcm5719-llvm-271dd0603e4ddb63e1c7cc140459cb42fe13a2ac.tar.gz bcm5719-llvm-271dd0603e4ddb63e1c7cc140459cb42fe13a2ac.zip | |
clang-format: Add capability to format the diff on save in vim.
With this patch, one can configure a BufWrite hook that will make the
clang-format integration compute a diff of the current buffer with the file
that's on disk and format all changed lines. This should create a
zero-overhead auto-format solution that doesn't require the file to
already be clang-format clean to avoid spurious diffs.
Review: https://reviews.llvm.org/D32429
llvm-svn: 305665
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplicator.cpp')
0 files changed, 0 insertions, 0 deletions

