mirror of
https://github.com/ceph/ceph
synced 2026-08-01 22:45:39 +00:00
Update CodingStyle to specify use of spaces
Signed-off-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
This commit is contained in:
parent
857a4624ba
commit
3eac91cec6
@ -74,12 +74,11 @@ by section.
|
|||||||
(LGPL2.1 or LGPL3.0) or the code origin isn't reflected by the git history.
|
(LGPL2.1 or LGPL3.0) or the code origin isn't reflected by the git history.
|
||||||
|
|
||||||
* Formatting > Tabs:
|
* Formatting > Tabs:
|
||||||
Indent width is two spaces. When runs of 8 spaces can be compressed
|
Indent width is two spaces. Tabs are expanded to spaces.
|
||||||
to a single tab character, do so. The standard Emacs/Vim settings
|
The standard Emacs/Vim settings header is:
|
||||||
header is:
|
|
||||||
|
|
||||||
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
|
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
|
||||||
// vim: ts=8 sw=2 smarttab ft=cpp
|
// vim: ts=8 sw=2 sts=2 expandtab ft=cpp
|
||||||
|
|
||||||
* Formatting > Conditionals:
|
* Formatting > Conditionals:
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user