Re: [Qemu-devel] [PATCH v4 03/10] checkpatch.pl: check .cpp files

2013-06-25 Thread Laszlo Ersek
On 06/06/13 17:06, Tomoki Sekiyama wrote: > 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 ) > - :: used to represen

[Qemu-devel] [PATCH v4 03/10] checkpatch.pl: check .cpp files

2013-06-06 Thread Tomoki Sekiyama
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 ) - :: used to represent namespaces (e.g. SomeClass::method()) - : used