Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: c++/clang-format/README.md

Issue 29537634: Noissue - clang-format configuration file for C++
Patch Set: Created Sept. 6, 2017, 1:44 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | c++/clang-format/clang-format-eyeo » ('j') | c++/clang-format/clang-format-eyeo » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 clang-format-eyeo
2 =================
3
4 A file containing style configuration for [`clang-format`](http://clang.llvm.org /docs/ClangFormat.html)
5 that formats according to the [Adblock Plus coding style guide](https://adblockp lus.org/coding-style#cpp)
6 for C++.
7
8 Installation
9 ------------
10
11 When `clang-format` receives its style configuration from a file, it searches
12 for style configuration in the directory of each input file and then each parent
13 directory. Copy the format file to the parent directory of the working
14 directory. In this way it will `clang-format` will find the format file and
15 the version control system will not.
16
17 The configuration file must be named either "`.clang-format`" or "`_clang-format `".
18 At the present time there's no command line option to specify the file name.
19
20 Usage
21 -----
22
23 clang-format -style=file [...]
24
25 The option "-style=file" (note that this is the word "file", not a file name)
26 says to perform a directory search for the configuration. For the rest of the
27 command line, see the `clang-format` documentation link above.
OLDNEW
« no previous file with comments | « no previous file | c++/clang-format/clang-format-eyeo » ('j') | c++/clang-format/clang-format-eyeo » ('J')

Powered by Google App Engine
This is Rietveld