diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2012-09-17 13:14:45 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-09-19 11:52:40 +0200 |
commit | 1aed32d86677b435eada4f8718bab3356630d74f (patch) | |
tree | 25d91740dee667a98d349c7b574a0870a224b7d1 /src/plugins/cpptools/cppcodeformatter.h | |
parent | 8c1a45565c791a2d965ae3905ae485f6a58e0626 (diff) | |
download | qt-creator-1aed32d86677b435eada4f8718bab3356630d74f.tar.gz |
C++11: Fix indent of brace initializers in ctor lists.
Change-Id: Ib784df9e17ff2fe6bb249dcf8c2fee7310340f50
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.h')
-rw-r--r-- | src/plugins/cpptools/cppcodeformatter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppcodeformatter.h b/src/plugins/cpptools/cppcodeformatter.h index 32e203bd8c..c2410164c6 100644 --- a/src/plugins/cpptools/cppcodeformatter.h +++ b/src/plugins/cpptools/cppcodeformatter.h @@ -124,7 +124,7 @@ public: // must be public to make Q_GADGET introspection work member_init_open, // After ':' that starts a member initialization list. member_init_expected, // At the start and after every ',' in member_init_open member_init, // After an identifier in member_init_expected - member_init_paren_open, // After '(' in member_init. + member_init_nest_open, // After '(' or '{' in member_init. enum_start, // After 'enum' enum_open, // Brace that opens a enum declaration. @@ -168,6 +168,7 @@ public: // must be public to make Q_GADGET introspection work stream_op, // After a '<<' or '>>' in a context where it's likely a stream operator. stream_op_cont, // When finding another stream operator in stream_op ternary_op, // The ? : operator + braceinit_open, // after '{' in an expression context condition_open, // Start of a condition in 'if', 'while', entered after opening paren condition_paren_open, // After an lparen in a condition |