diff options
author | Tomoki Sekiyama <tomoki.sekiyama@hds.com> | 2013-08-07 11:39:50 -0400 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2013-09-09 14:17:56 -0500 |
commit | 69d5d21f90516a8b988a88915865b38e543fc994 (patch) | |
tree | 56b59a411295832d71833dc6eafc61f9d9aac5d9 /slirp/tcp_output.c | |
parent | 6f88009ee505e1e9fbf6b74b2e2fb3e24cd3411b (diff) |
checkpatch.pl: Check .cpp files
Enable checkpatch.pl to apply the same checks as C source files for
C++ files with .cpp extensions. It also adds some exceptions for C++
sources to suppress errors for:
- <> used in C++ template arguments (e.g. template <class T>)
- :: used to represent namespaces (e.g. SomeClass::method())
- : used in class declaration (e.g. class T : public Super)
- ~ used in destructor method name (e.g. T::~T())
- spacing around 'catch' (e.g. catch (...))
Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'slirp/tcp_output.c')
0 files changed, 0 insertions, 0 deletions