cppcheck/lib
Stefan Weil 785bc3d04b Optimize handling of --append=<file> option (execution time, memory)
Whitespace was removed from the append data for every configuration
and every file: n(configuration) * n(files).

Removing whitespace immediately after the append data was read can
significantly reduce the execution time and memory usage.
It also allows further improvement because copies to the temporary
object appendCode are no longer needed.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2011-11-15 19:27:36 +01:00
..
check.h Ensure single-argument constructors are explicit 2011-10-29 18:24:30 +02:00
check64bit.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
check64bit.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkassignif.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkassignif.h minor formatting updates of --doc output 2011-10-27 10:50:40 +02:00
checkautovariables.cpp Use Token::simpleMatch instead of Token::Match for simple patterns 2011-10-27 15:59:22 +02:00
checkautovariables.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkboost.cpp Fixed #3232 (Check if container is modified inside BOOST_FOREACH) 2011-10-23 13:07:43 +02:00
checkboost.h Fixed #3232 (Check if container is modified inside BOOST_FOREACH) 2011-10-23 13:07:43 +02:00
checkbufferoverrun.cpp Change every 'tokAt(...)->str()' to 'strAt(...)'. 2011-11-13 13:10:59 +01:00
checkbufferoverrun.h Refactor readlink() buffer check to also handle readlinkat() 2011-10-24 21:23:18 +02:00
checkclass.cpp Change every 'tokAt(...)->str()' to 'strAt(...)'. 2011-11-13 13:10:59 +01:00
checkclass.h removed 'explicit constructors' check. see comments in pull request #51 for the reasons. 2011-11-02 17:12:46 +01:00
checkexceptionsafety.cpp Change every 'tokAt(...)->str()' to 'strAt(...)'. 2011-11-13 13:10:59 +01:00
checkexceptionsafety.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkinternal.cpp Conforming style: always use 'std::' namespace where needed. This removes the mixing style inside the code. 2011-11-07 00:54:00 +01:00
checkinternal.h Add internal check that searches Token::Match() patterns for missing % end charaters 2011-10-29 12:22:26 +02:00
checkmemoryleak.cpp Change every 'tokAt(...)->str()' to 'strAt(...)'. 2011-11-13 13:10:59 +01:00
checkmemoryleak.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checknonreentrantfunctions.cpp checkMathFunctions: Refactoring the check 2011-10-22 12:31:47 +02:00
checknonreentrantfunctions.h Fix #3243 (Improve non reentrant function check) 2011-10-22 11:54:52 +02:00
checknullpointer.cpp Fix false positives for delete of known nulls 2011-11-13 22:38:34 +01:00
checknullpointer.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkobsoletefunctions.cpp Change: 'next()->next()'->'tokAt(2)', 'previous()->previous()'->'tokAt(-2)'. 2011-11-12 22:33:03 +01:00
checkobsoletefunctions.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkother.cpp Change every 'tokAt(...)->str()' to 'strAt(...)'. 2011-11-13 13:10:59 +01:00
checkother.h Improved same expression check for ticket #3274 2011-11-08 21:54:42 +01:00
checkpostfixoperator.cpp Change: 'next()->next()'->'tokAt(2)', 'previous()->previous()'->'tokAt(-2)'. 2011-11-12 22:33:03 +01:00
checkpostfixoperator.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkstl.cpp Change every 'tokAt(...)->str()' to 'strAt(...)'. 2011-11-13 13:10:59 +01:00
checkstl.h Fixed #3266 (False positive on dangerous usage of .c_str()) 2011-11-04 19:21:19 +01:00
checkuninitvar.cpp Change every 'tokAt(...)->str()' to 'strAt(...)'. 2011-11-13 13:10:59 +01:00
checkuninitvar.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkunusedfunctions.cpp Visual Studio: Fixed compiler error 2011-10-30 09:53:14 +01:00
checkunusedfunctions.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkunusedvar.cpp Change every 'tokAt(...)->str()' to 'strAt(...)'. 2011-11-13 13:10:59 +01:00
checkunusedvar.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
cppcheck.cpp Optimize handling of --append=<file> option (execution time, memory) 2011-11-15 19:27:36 +01:00
cppcheck.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
errorlogger.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
errorlogger.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
executionpath.cpp Implement Token::findsimplematch und use it for simple patterns 2011-10-27 15:59:22 +02:00
executionpath.h Add more warnings and fix the ones reported by them. 2011-10-22 15:05:43 +02:00
lib.pri Add check for cppcheck's internal API usage (#3263) 2011-10-28 22:46:07 +02:00
mathlib.cpp Remove duplicate expressions on both sides of || 2011-11-08 21:56:54 +01:00
mathlib.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
path.cpp Add condition for HP-UX. 2011-10-20 09:01:58 +02:00
path.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
pcrerules.pri Complete 'disable the rules by default' for other platforms. 2011-10-19 15:14:39 +02:00
preprocessor.cpp Fixed #3285 (wrong #elif behaviour) 2011-11-03 19:05:48 +01:00
preprocessor.h Preprocessor: Bailout #include if it is recursive 2011-10-30 19:00:11 +01:00
settings.cpp Optimize handling of --append=<file> option (execution time, memory) 2011-11-15 19:27:36 +01:00
settings.h Optimize handling of --append=<file> option (execution time, memory) 2011-11-15 19:27:36 +01:00
standards.h Add newline at end of file! 2011-10-31 15:12:29 +01:00
suppressions.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
suppressions.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
symboldatabase.cpp Change every 'tokAt(...)->str()' to 'strAt(...)'. 2011-11-13 13:10:59 +01:00
symboldatabase.h Fix some complainted choices made in my older commits. 2011-11-01 13:23:47 +01:00
timer.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
timer.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
token.cpp Adapt Token::strAt() to return a const reference like Token::str() does 2011-11-14 09:19:46 +01:00
token.h Adapt Token::strAt() to return a const reference like Token::str() does 2011-11-14 09:19:46 +01:00
tokenize.cpp Run astyle 2011-11-14 09:21:42 +01:00
tokenize.h Fixed #3188 (Function parser false positive) 2011-11-05 12:23:05 +01:00