From 5330524f484c5ad1c83892687d4f3993b0ec0273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 23 Nov 2008 17:28:26 +0000 Subject: [PATCH] Function usage: Better handling of '!foo()' --- CheckFunctionUsage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CheckFunctionUsage.cpp b/CheckFunctionUsage.cpp index 1ea73aa10..47155f115 100644 --- a/CheckFunctionUsage.cpp +++ b/CheckFunctionUsage.cpp @@ -91,7 +91,7 @@ void CheckFunctionUsage::parseTokens( const Tokenizer &tokenizer ) { const TOKEN *funcname = 0; - if ( TOKEN::Match( tok, "[;{}.,()[=+-/&|?:] %var% [(),;:}]" ) || + if ( TOKEN::Match( tok, "[;{}.,()[=+-/&|!?:] %var% [(),;:}]" ) || TOKEN::Match(tok, ":: %var% (") || TOKEN::Match(tok, "|= %var% (") || TOKEN::Match(tok, "&= %var% (") ||