diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-10-10 14:37:41 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-10-11 12:45:04 +0200 |
commit | aa3d406faf4265c526cb4d9923e849e8264f5204 (patch) | |
tree | e1d8b60041ef80c78e0a9e8f9240e52e527f8995 /src/plugins/cpptools/cppcodeformatter.h | |
parent | 6a988ee8acce2e5ca9c0a5334b1d1ef6e4c55469 (diff) | |
download | qt-creator-aa3d406faf4265c526cb4d9923e849e8264f5204.tar.gz |
C++ indenter: Accept attributes in access specifiers.
Change-Id: Ie85b8264c9579e8c8312e30018280fb11f95edda
Reviewed-on: http://codereview.qt-project.org/6328
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
Sanity-Review: Erik Verbruggen <erik.verbruggen@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.h')
-rw-r--r-- | src/plugins/cpptools/cppcodeformatter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppcodeformatter.h b/src/plugins/cpptools/cppcodeformatter.h index dae19a2e24..38ae9cf45b 100644 --- a/src/plugins/cpptools/cppcodeformatter.h +++ b/src/plugins/cpptools/cppcodeformatter.h @@ -121,6 +121,8 @@ public: // must be public to make Q_GADGET introspection work class_start, // after the 'class' token class_open, // Brace that opens a class definition. + access_specifier_start, // after 'private', 'protected' etc. + member_init_open, // After ':' that starts a member initialization list. member_init, // At the start and after every ',' in member_init_open member_init_paren_open, // After '(' in member_init. |