summary refs log tree commit diff stats
path: root/scripts/extract-vsssdk-headers
diff options
context:
space:
mode:
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>2013-08-07 11:39:50 -0400
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-09-09 14:17:56 -0500
commit69d5d21f90516a8b988a88915865b38e543fc994 (patch)
tree56b59a411295832d71833dc6eafc61f9d9aac5d9 /scripts/extract-vsssdk-headers
parent6f88009ee505e1e9fbf6b74b2e2fb3e24cd3411b (diff)
downloadfocaccia-qemu-69d5d21f90516a8b988a88915865b38e543fc994.tar.gz
focaccia-qemu-69d5d21f90516a8b988a88915865b38e543fc994.zip
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 'scripts/extract-vsssdk-headers')
0 files changed, 0 insertions, 0 deletions