Remove special handling for "new" after the = sign

This commit is contained in:
Peter Vingelmann 2016-09-19 23:22:05 +02:00
parent c8020d8c1c
commit f4ad8a3585

View File

@ -3422,13 +3422,6 @@ void ASBeautifier::parseCurrentLine(const string& line)
if (g_preprocessorCppExternCBracket == 3) // extern "C" is not followed by a '{'
g_preprocessorCppExternCBracket = 0;
// "new" operator is a pointer, not a calculation
if (findKeyword(line, i, AS_NEW))
{
if (isInStatement && !inStatementIndentStack->empty() && prevNonSpaceCh == '=' )
inStatementIndentStack->back() = 0;
}
if (isCStyle())
{
if (findKeyword(line, i, AS_ASM)