From 5895b8f78c683393455ec764677b59155d7060b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 6 Feb 2011 12:04:54 +0100 Subject: [PATCH] manual: updated for 1.47 release --- man/manual.docbook | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/man/manual.docbook b/man/manual.docbook index 125ac9acd..02a25bf73 100644 --- a/man/manual.docbook +++ b/man/manual.docbook @@ -3,9 +3,9 @@ "/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd"> - Cppcheck 1.46 + Cppcheck 1.47 - 2010-12-09 + 2011-02-06 @@ -94,19 +94,20 @@ Checking path/file2.cpp...
Excluding a file or folder from checking - There is no command to exclude a file or folder from checking. But - you can exclude a file or folder by being more careful when including - files and folders in the checking. + To exclude a file or folder, there are two options. - Imagine for example that the folder "src" contain the folders "a", - "b" and "c". To exclude "c" this command can be used: + The first option is to only provide the paths and files you want + to check. cppcheck src/a src/b All files under "src/a" and "src/b" are then checked. - The flag --file-list might also be - useful. + The second option is to use -i, with it you + specify files/paths to ignore. With this command no files in "src/c" are + checked: + + cppcheck -isrc/c src
@@ -148,6 +149,15 @@ Checking path/file2.cpp... suggestions for making the code faster + + + information + + + Informational messages that might be interesting. Ignore + these messages unless you really agree. + + The performance messages are based on 'common knowledge'. It is