summaryrefslogtreecommitdiffstats
path: root/clang/docs/ClangFormat.rst
Commit message (Collapse)AuthorAgeFilesLines
* Update `clang-format -help` output in clang-format docs.Nico Weber2015-10-191-39/+48
| | | | | | | | | | -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
* docs: remove double carriage-returnSaleem Abdulrasool2014-11-021-2/+2
| | | | | | | The double carriage return would silence a warning due to a missing .clang-format. Permit the error to bubble through. llvm-svn: 221107
* clang-format: improve vim integration docsSaleem Abdulrasool2014-10-271-2/+2
| | | | | | | | | | 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
* clang-format: Add clang-format-diff usage examples for SVN.Daniel Jasper2014-05-141-0/+6
| | | | llvm-svn: 208766
* clang-format-diff.py: Support -regex filter and more filename extensionsAlp Toker2013-12-101-6/+7
| | | | | | | | | | | | | 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
* clang-format-diff.py: Fix 'beintroduced' in help outputAlp Toker2013-12-041-4/+6
| | | | | | Also update docs to reflect recently changed -i inplace edit behaviour. llvm-svn: 196336
* Add section on VS integration to the ClangFormat documentation.Manuel Klimek2013-09-291-0/+7
| | | | llvm-svn: 191642
* Allow _clang-format as alternative to .clang-format config filenameHans Wennborg2013-09-101-2/+2
| | | | | | | | | | | 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
* Added documentation for clang-format style options.Alexander Kornienko2013-09-041-0/+14
| | | | | | | | | | | | | | | | 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
* Added WebKit style to the BasedOnStyle handling and to the relevant help ↵Alexander Kornienko2013-09-021-3/+4
| | | | | | messages. llvm-svn: 189765
* Whitespace changes in help messages + updated help output in .rst file.Alexander Kornienko2013-09-021-3/+11
| | | | llvm-svn: 189762
* [docs] Fix wrong clang-format example.Rui Ueyama2013-06-141-1/+1
| | | | llvm-svn: 183963
* Clang-format: allow -style="{yaml/json}" on command lineAlexander Kornienko2013-05-191-3/+6
| | | | | | | | | | | | | | 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
* Reformat clang-format help strings, filter out irrelevant options.Alexander Kornienko2013-05-101-12/+34
| | | | | | | | | | | | | | Summary: +updated ClangFormat.rst Reviewers: djasper, klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D780 llvm-svn: 181617
* Basic clang-format integration for BBEdit.Daniel Jasper2013-05-021-0/+15
| | | | | | Thanks to Avi Drissman! llvm-svn: 180933
* Small improvements to clang-format documentation and integrationDaniel Jasper2013-04-171-2/+17
| | | | | | scripts. llvm-svn: 179676
* Update docs after moving clang-format from clang-tools-extra to cfe.Daniel Jasper2013-03-221-10/+9
| | | | llvm-svn: 177729
* [docs] Use vim code-block instead of console.Sean Silva2013-03-031-1/+1
| | | | llvm-svn: 176418
* ClangFormat.rst: Fix two small typosHans Wennborg2013-02-281-2/+2
| | | | llvm-svn: 176276
* ClangFormat.rst: improve formattingDmitri Gribenko2013-01-091-12/+12
| | | | llvm-svn: 172007
* Add documentation for clang-format.Daniel Jasper2013-01-091-0/+94
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
OpenPOWER on IntegriCloud