Fix invalid detection of >> in class headers

This commit is contained in:
Peter Vingelmann 2016-09-15 21:31:44 +02:00
parent 5d24aeba9a
commit 39a611a2e8

View File

@ -3521,7 +3521,7 @@ void ASBeautifier::parseCurrentLine(const string& line)
// For C++ input/output, operator<< and >> should be
// aligned, if we are not in a statement already and
// also not in the "operator<<(...)" header line
if (!isInOperator
if (!isInOperator && !isInClassHeader
&& inStatementIndentStack->empty()
&& isCStyle()
&& (foundNonAssignmentOp == &AS_GR_GR