Go to file
Jan Kundrát bb32b9aa30 Improve file sorting for C and C++ projects
The C and C++ languages use header files for defining an API. When
reviewing changes, it is much more friendly to take a look at the API
contracts first, and only then show the actual implementation.

Unfortunately, the default alphabetical order sorts .cpp before .h,
which means that users who use the [ and ] keys for file navigation
are first shown the implementation, and only then the "big picture"
API changes.

The conventions for file extensions vary; it's common to have
.h/.hpp/.hxx and .c/.cpp/.cxx in any combination. For example, most of
the Qt and KDE (sub)projects use .h and .cpp.

Things are a bit more complicated by use of the PIMPL idiom in these
projects where it's desirable to have Foo.h (public header), Foo_p.h
(private implementation header) and Foo.cpp (implementation) to be
shown in this order. That's out of scope for now, though.

Change-Id: Id3bab23f4458320764a0dcd88c32c1a1d1b06075
Inspired-By: Martin Gräßlin <mgraesslin@kde.org>
2015-01-28 19:03:59 +01:00
2014-11-08 08:31:08 -08:00
2015-01-27 17:11:27 +01:00
2014-12-18 11:16:03 +09:00
2013-11-30 01:53:00 -08:00
2015-01-28 12:45:26 +00:00
2015-01-27 15:32:25 +01:00
2015-01-27 15:32:25 +01:00
2015-01-27 00:48:59 +00:00
2015-01-27 17:11:27 +01:00
2015-01-23 22:21:42 +01:00
2015-01-21 08:29:26 +00:00
2013-11-09 07:45:00 +01:00
2015-01-23 17:56:02 +09:00
2014-05-19 11:41:31 -07:00
2008-11-14 16:59:34 -08:00
2009-03-27 20:20:10 -07:00
2015-01-27 15:32:25 +01:00
Description
RETIRED, Gerrit as used by OpenStack
120 MiB