Fix cpplint whitespace/parens issues
Change-Id: Ifc678d59a8bed24ffddde5a0e543620b17b0aba9
diff --git a/tools/cpplint.py b/tools/cpplint.py
index 30c7128..da5a938 100755
--- a/tools/cpplint.py
+++ b/tools/cpplint.py
@@ -1526,7 +1526,10 @@
# Note that we assume the contents of [] to be short enough that
# they'll never need to wrap.
if ( # Ignore control structures.
- not Search(r'\b(if|for|while|switch|return|delete)\b', fncall) and
+ # BEGIN android-changed
+ # not Search(r'\b(if|for|while|switch|return|delete)\b', fncall) and
+ not Search(r'\b(if|for|while|switch|return|delete|new)\b', fncall) and
+ # END android-changed
# Ignore pointers/references to functions.
not Search(r' \([^)]+\)\([^)]*(\)|,$)', fncall) and
# Ignore pointers/references to arrays.