* CppCheck: Add support for macros in the path of the cppcheck executable, clean up the code a bit

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9907 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* Spellchecker-plugin: linux build fix

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9908 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: Apply patch by Huki to improved calltips support for macro and typedef. See detailed description in http://forums.codeblocks.org/index.php/topic,19278.msg133989.html#msg133989, add documents for Tokenizer::SplitArguments() function.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9909 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CC: code style fix, wrap long statement

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9910 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CC: document where DoGetToken() could get recursive called.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9911 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CC: fix Doxygen comments by removing unused parameter description.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9912 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CC: comments added in ParserThread::HandleDefines().

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9913 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CC: fix wrong description of Tokenizer::ReplaceBufferText() function

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9914 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CC: function name typo fix, GetMacroExpendedText -> GetMacroExpandedText.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9915 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: Apply patch by Huki, this improved parsing support for func ptr, also add some comments about how to parse the pattern "AAA BBB(...);"

Both the four patterns of the function/variable will be recognized:
void(*foo)(int a);   // func ptr
void *(*foo)(int a); // func ptr with ptr return type
void foo(int a);     // function decl
AAA foo(5);          // var initialized with ctor (only supported for local block)

For the Pattern "AAA BBB(...);", we need to distinguish the token type by where the statement locates, if it locates in a local block, such as a function body, we recognize it as a variable named BBB with type AAA, otherwise, it is a function declaration. This is just a hack since our parser don't use semantic checking. Details in: http://forums.codeblocks.org/index.php/topic,19278.msg134068.html#msg134068.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9916 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: remove the last parameter of the function ReplaceBufferText(), and all caller updated. This partially reverts rev6436. In the current code, all internal ReplaceBufferText calls (ie, called inside Tokenizer.cpp) have the second parameter updatePeek set to false, and external ReplaceBufferText calls have it set to true. All the external calls (there were just a few of them, and all of them in parserthread.cpp), and we always do a GetToken() after the ReplaceBufferText(). So it's safe to remove this parameter. Details here: http://forums.codeblocks.org/index.php/topic,18315.msg134199.html#msg134199 thanks Huki for the discussion and review.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9917 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: remove the second parameter of function Tokenizer::ReplaceFunctionLikeMacro(const Token* tk, bool updatePeekToken = true). This partially reverts rev6691. The user need to explicitly call PeekToken() to update the peek token. See details in http://forums.codeblocks.org/index.php/topic,18315.msg134199.html#msg134199

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9918 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: add macro definition CC_PARSER_TEST to cctest.cbp

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9919 2a5c6006-c6dd-42ca-98ab-0921f2732cef