From 23a41ebf8fca25ab3862fb00a163634b07881ee9 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Wed, 5 Mar 2014 21:55:32 +0100 Subject: [PATCH] remove C++ stuff from CheckSpacingForFunctionCall --- clint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clint.py b/clint.py index 40aee6a231..da06272724 100755 --- a/clint.py +++ b/clint.py @@ -2248,7 +2248,7 @@ def CheckSpacingForFunctionCall(filename, line, linenum, error): # 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|new|delete|catch|sizeof)\b', + not Search(r'\b(if|for|while|switch|return|sizeof)\b', fncall) and # Ignore pointers/references to functions. not Search(r' \([^)]+\)\([^)]*(\)|,$)', fncall) and