| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 318827
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: djasper
Reviewed By: djasper
Subscribers: klimek, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D34824
llvm-svn: 310778
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
clang-format directory.
llvm-svn: 301202
|
|
|
|
|
|
| |
clang-format-diff
llvm-svn: 288605
|
|
|
|
|
|
| |
matches it, so turning it actual text instead of a markup tag. This will hopefully fix the clang docs build (http://lab.llvm.org:8011/builders/clang-sphinx-docs/builds/15194/steps/docs-clang-html/logs/stdio)
llvm-svn: 275407
|
|
|
|
| |
llvm-svn: 275256
|
|
|
|
|
|
|
|
|
|
| |
-assume-filename, -fallback-style, and -sort-includes are new. (They're also
longer than the previous options, so all descriptions shift over by some amount,
making this diff look larger than it is.)
It looks like someone renamed "General options" to "Generic Options" too.
llvm-svn: 250672
|
|
|
|
|
|
|
| |
The double carriage return would silence a warning due to a missing
.clang-format. Permit the error to bubble through.
llvm-svn: 221107
|
|
|
|
|
|
|
|
|
|
| |
Improve the documentation for vim integration of clang-format. Prefer the use
of <c-o> to do the normal mode command execution to avoid side-effects of the
escape and re-insertion (cursor movement). Tweak the macros to use a double
return to avoid having to manually return control to the editor from the
subprocess.
llvm-svn: 220685
|
|
|
|
| |
llvm-svn: 208766
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for more filename extensions based on the list in the clang
plus JavaScript.
Also adds a -regex option so users can override defaults if they have unusual
file extensions or want to format everything in the diff.
Keeping with tradition the flag is modelled on Unix conventions, this time
matching the semantics of find(1).
llvm-svn: 196917
|
|
|
|
|
|
| |
Also update docs to reflect recently changed -i inplace edit behaviour.
llvm-svn: 196336
|
|
|
|
| |
llvm-svn: 191642
|
|
|
|
|
|
|
|
|
|
|
| |
Dotfiles are impractical on Windows. This makes clang-format search
for the style configuration file as '_clang-format' in addition to
the usual '.clang-format'. This is similar to how VIM searches for
'_vimrc' on Windows.
Differential Revision: http://llvm-reviews.chandlerc.com/D1629
llvm-svn: 190413
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The main contents is in the ClangFormatStyleOptions.rst, which can be
updated from the Format.h by the dump_format_style.py script.
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1597
llvm-svn: 189946
|
|
|
|
|
|
| |
messages.
llvm-svn: 189765
|
|
|
|
| |
llvm-svn: 189762
|
|
|
|
| |
llvm-svn: 183963
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: + improved handling of default style and predefined styles.
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D813
llvm-svn: 182205
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: +updated ClangFormat.rst
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D780
llvm-svn: 181617
|
|
|
|
|
|
| |
Thanks to Avi Drissman!
llvm-svn: 180933
|
|
|
|
|
|
| |
scripts.
llvm-svn: 179676
|
|
|
|
| |
llvm-svn: 177729
|
|
|
|
| |
llvm-svn: 176418
|
|
|
|
| |
llvm-svn: 176276
|
|
|
|
| |
llvm-svn: 172007
|
|
This adds documentation for both LibFormat as well as the standalone
tools and integrations built on top of it. It slightly restructures
the ClangTools documentation.
llvm-svn: 172004
|