From aa3d406faf4265c526cb4d9923e849e8264f5204 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Mon, 10 Oct 2011 14:37:41 +0200 Subject: C++ indenter: Accept attributes in access specifiers. Change-Id: Ie85b8264c9579e8c8312e30018280fb11f95edda Reviewed-on: http://codereview.qt-project.org/6328 Sanity-Review: Qt Sanity Bot Reviewed-by: Erik Verbruggen Sanity-Review: Erik Verbruggen --- src/plugins/cpptools/cppcodeformatter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/cpptools/cppcodeformatter.h') 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. -- cgit v1.2.1