Prog/StaticCodeAnalysis/cppcheck
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#jb02534e]
#contents();
/////////////////////////////////////////////////////////...
* cppcheck [#h7e27ef6]
- C/C++ 用静的コード解析ツール
/////////////////////////////////////////////////////////...
* 使い方 [#bae65ed4]
//=======================================================...
** コマンド書式 [#o1db9256]
$ cppcheck <option[s]> <input>
- <input> には、ソースファイル、またはソースファイルのあ...
//=======================================================...
** option [#y7f7d3e3]
|~option |~description |~remark |
|--std=<id> |[[言語標準>#language-std]]を指定する。 | |
- &aname(option-enableenable){--enable=<option>};
|~option |~description |~remark |
|all |Enable all checks | |
|warning |Enable warning messages | |
|style |Enable all coding style checks. | |
|performance |Enable performance messages | |
|portability |Enable portability messages | |
|information |Enable information messages | |
|unusedFunction |Check for unused functions. It is recomm...
|missingInclude |Warn if there are missing includes. For ...
- &aname(language-std){言語標準の指定};
|~id |~description |~remark |
|posix |POSIX compatible code | |
|c89 |C code is C89 compatible | |
|c99 |C code is C99 compatible | |
|c11 |C code is C11 compatible (default) | |
|c++03 |C++ code is C++03 compatible | |
|c++11 |C++ code is C++11 compatible (default) | |
/////////////////////////////////////////////////////////...
* 参考リンク [#zd39f3ed]
- [[Cppcheck - A tool for static C/C++ code analysis>http...
終了行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#jb02534e]
#contents();
/////////////////////////////////////////////////////////...
* cppcheck [#h7e27ef6]
- C/C++ 用静的コード解析ツール
/////////////////////////////////////////////////////////...
* 使い方 [#bae65ed4]
//=======================================================...
** コマンド書式 [#o1db9256]
$ cppcheck <option[s]> <input>
- <input> には、ソースファイル、またはソースファイルのあ...
//=======================================================...
** option [#y7f7d3e3]
|~option |~description |~remark |
|--std=<id> |[[言語標準>#language-std]]を指定する。 | |
- &aname(option-enableenable){--enable=<option>};
|~option |~description |~remark |
|all |Enable all checks | |
|warning |Enable warning messages | |
|style |Enable all coding style checks. | |
|performance |Enable performance messages | |
|portability |Enable portability messages | |
|information |Enable information messages | |
|unusedFunction |Check for unused functions. It is recomm...
|missingInclude |Warn if there are missing includes. For ...
- &aname(language-std){言語標準の指定};
|~id |~description |~remark |
|posix |POSIX compatible code | |
|c89 |C code is C89 compatible | |
|c99 |C code is C99 compatible | |
|c11 |C code is C11 compatible (default) | |
|c++03 |C++ code is C++03 compatible | |
|c++11 |C++ code is C++11 compatible (default) | |
/////////////////////////////////////////////////////////...
* 参考リンク [#zd39f3ed]
- [[Cppcheck - A tool for static C/C++ code analysis>http...
ページ名: