Home
last modified time | relevance | path

Searched hist:"69 d5d21f" (Results 1 – 1 of 1) sorted by relevance

/qemu/scripts/
H A Dcheckpatch.pl69d5d21f Wed Aug 07 15:39:50 GMT 2013 Tomoki Sekiyama <tomoki.sekiyama@hds.com> 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>