[PATCH] D22505: Access Modifier Use Normal Indent
Loki Astari via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 19 02:10:52 PDT 2016
LokiAstari created this revision.
LokiAstari added reviewers: djasper, klimek.
LokiAstari added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
Access Modifiers (public/protected/private) causes standard indent.
```
class MyClass
{
int value1; // standard indent.
public: // access modifier (increases indent level)
int value2; // next item indent one more level
private: // access modifier goes out a level
int value3; // next item indent one more level
};
```
https://reviews.llvm.org/D22505
Files:
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Format/TokenAnnotator.h
lib/Format/UnwrappedLineFormatter.cpp
lib/Format/UnwrappedLineParser.cpp
lib/Format/UnwrappedLineParser.h
unittests/Format/CMakeLists.txt
unittests/Format/FormatTestAccess.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22505.64457.patch
Type: text/x-patch
Size: 14451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160719/a7ce5c85/attachment-0001.bin>
More information about the cfe-commits
mailing list