|
@@ -763,7 +763,7 @@ private:
|
|
|
Previous && Previous->isOneOf(tok::star, tok::amp);
|
|
|
Previous = Previous->Previous)
|
|
|
Previous->Type = TT_PointerOrReference;
|
|
|
- Contexts.back().IsExpression = false;
|
|
|
+ Contexts.back().IsExpression = Contexts.back().InCtorInitializer;
|
|
|
} else if (Current.Previous &&
|
|
|
Current.Previous->Type == TT_CtorInitializerColon) {
|
|
|
Contexts.back().IsExpression = true;
|