diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-05-19 13:19:08 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2011-05-19 13:23:50 +0200 |
commit | c5ce20c5f74d3ee6d665b3aedd9822a5ff204bc4 (patch) | |
tree | b8613a3f3be7fb7f08140eefd8e41062e965dd80 /src/plugins/cpptools/cppcodeformatter.h | |
parent | 86d5df063cda54c6eb2e32fb6496a23c8ef0de81 (diff) |
C++ indenter: Treat extern "C" like namespace.
Change-Id: Ib0553d35fbd83aada2b8809aa008b1f75ca77c32
Done-with: Erik Verbruggen
Reviewed-on: http://codereview.qt.nokia.com/14
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.h')
-rw-r--r-- | src/plugins/cpptools/cppcodeformatter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppcodeformatter.h b/src/plugins/cpptools/cppcodeformatter.h index 28f5dd62f8..2a21d2ffc0 100644 --- a/src/plugins/cpptools/cppcodeformatter.h +++ b/src/plugins/cpptools/cppcodeformatter.h @@ -134,6 +134,9 @@ public: // must be public to make Q_GADGET introspection work namespace_start, // after the namespace token, before the opening brace. namespace_open, // Brace that opens a C++ namespace block. + extern_start, // after the extern token, before the opening brace. + extern_open, // Brace that opens a C++ extern block. + declaration_start, // shifted a token which could start a declaration. operator_declaration, // after 'operator' in declaration_start |