cppcheck/lib
Andrew C. Martin 4a73c93750 Fix compiler warnings and comment/string typos
- fix g++ warning:

> lib/checkother.cpp:3779: warning: comparison between signed and unsigned integer expressions

 - fix suncc warning (see [everything2](http://everything2.com/title/C%252B%252B%253A+static+extern+%2522C%2522)):

> "lib/checkmemoryleak.cpp", line 578: Warning (Anachronism): Formal argument __compar of type extern "C" int(*)(const void*,const void*) in call to bsearch(const void*, const void*, unsigned long, unsigned long, extern "C" int(*)(const void*,const void*)) is being passed int(*)(const void*,const void*).

- prefer empty() / isEmpty() over "size() > 0" (cases not caught by stlSize)

- fix word misspellings (mostly comments, a few output lines)

  - Parenthesis => Parentheses (both variations were used in the codebase)

  - fix typo and wording ("never alwayw") in gui/test/data/benchmark/simple.cpp's CheckOther::unsignedPositive():

```
-  "An unsigned variable will never alwayw be positive so it is either pointless or "
+  "An unsigned variable can't be negative so it is either pointless or "
```
2013-01-16 07:37:07 -07:00
..
check.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
check64bit.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
check64bit.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkassignif.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkassignif.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkautovariables.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkautovariables.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkboost.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkboost.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkbufferoverrun.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
checkbufferoverrun.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkclass.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
checkclass.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkexceptionsafety.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
checkexceptionsafety.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkinternal.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkinternal.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkio.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkio.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkleakautovar.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkleakautovar.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkmemoryleak.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
checkmemoryleak.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checknonreentrantfunctions.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checknonreentrantfunctions.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checknullpointer.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
checknullpointer.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkobsoletefunctions.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkobsoletefunctions.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkother.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
checkother.h Fixed #4482 (add test for UB due to usage of NULL in variadic functions) 2013-01-13 12:02:10 +01:00
checkpostfixoperator.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkpostfixoperator.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkstl.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkstl.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkuninitvar.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
checkuninitvar.h Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
checkunusedfunctions.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
checkunusedfunctions.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
checkunusedvar.cpp Fixed #4484 (1.58: new crash for linux kernel code) 2013-01-13 07:57:46 +01:00
checkunusedvar.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
config.h Get rid of a warning 2012-06-16 06:34:18 +02:00
cppcheck.cpp Set version to 1.59 dev 2013-01-12 17:49:09 +01:00
cppcheck.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
cppcheck.vcxproj Fixed compilation as shared lib with PCRE: Ensure that sizeof(Settings) is the same with and without HAVE_RULES 2012-11-03 20:37:23 +01:00
cppcheck.vcxproj.filters Refactorized resource files: 2012-10-14 10:21:22 +02:00
errorlogger.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
errorlogger.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
executionpath.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
executionpath.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
lib.pri Update Makefile. 2012-06-11 22:16:12 +03:00
mathlib.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
mathlib.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
path.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
path.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
pcrerules.pri pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
preprocessor.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
preprocessor.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
settings.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
settings.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
standards.h Enable --std=c11 and --std=c++11 by default 2012-08-25 21:57:45 +02:00
suppressions.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
suppressions.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
symboldatabase.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
symboldatabase.h Use more Effective C++ code style in SymbolDatabase class: 2013-01-04 01:19:17 +01:00
templatesimplifier.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
templatesimplifier.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
timer.cpp Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
timer.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
token.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
token.h Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
tokenize.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
tokenize.h Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
tokenlist.cpp Fix compiler warnings and comment/string typos 2013-01-16 07:37:07 -07:00
tokenlist.h Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
version.h Set version to 1.59 dev 2013-01-12 17:49:09 +01:00
version.rc Refactorized resource files: 2012-10-14 10:21:22 +02:00