aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/cppcodeformatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.h')
-rw-r--r--src/plugins/cpptools/cppcodeformatter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cpptools/cppcodeformatter.h b/src/plugins/cpptools/cppcodeformatter.h
index 1164c12eb1..0da8061ccd 100644
--- a/src/plugins/cpptools/cppcodeformatter.h
+++ b/src/plugins/cpptools/cppcodeformatter.h
@@ -57,7 +57,7 @@ public:
// calculates the state change introduced by changing a single line
void updateLineStateChange(const QTextBlock &block);
- bool isInStringLiteral(const QTextBlock &block) const;
+ bool isInRawStringLiteral(const QTextBlock &block) const;
void indentFor(const QTextBlock &block, int *indent, int *padding);
void indentForNewLineAfter(const QTextBlock &block, int *indent, int *padding);
@@ -173,8 +173,8 @@ public: // must be public to make Q_GADGET introspection work
lambda_instroducer, // when '=', '&' or ',' occurred within '[]'
lambda_declarator, // just after ']' when previous state is lambda_introducer
lambda_statement, // just after '{' when previous state is lambda_declarator or lambda_declarator_or_expression
- string_open
-
+ string_open, // after opening quote of simple string types, like ", L", u8" etc.
+ raw_string_open // after raw string open delimiter, like R"EOF(
};
Q_ENUM(StateType)