chiark / gitweb /
doxygen: parse override, final and conditional noexcept keywords.
authorVladimír Vondruš <mosra@centrum.cz>
Tue, 1 Jan 2019 18:15:18 +0000 (19:15 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 2 Jan 2019 21:07:11 +0000 (22:07 +0100)
commit2e2b57fc3a655cc86db8773058e40ef8a827637b
tree52717841df3d158464ebc6488f622221664d8854
parentb3f5de76f6b35c376428eaf32e935172fb2b6bb9
doxygen: parse override, final and conditional noexcept keywords.

 * override and final is now parsed from function signatures, in the
   theme the [virtual] label gets replaced with either [override] or
   [final], since it doesn't make sense to include both [virtual] and
   [override]/[final] label as the former is implicit for the latter.
 * fixed order of parsing function signature keywords so function
   signatures that are both deleted/defaulted and noexcept are parsed
   correctly instead of noexcept being ignored
 * conditional noexcept is now recognized as well, shown in the theme as
   [noexcept(...)]
 * [final] class specifier is now shown in the class header and also in
   the derived class list
 * [virtual] label is now shown for both virtual base class and
   virtually derived classes to make it symmetric
17 files changed:
doc/doxygen.rst
doxygen/dox2html5.py
doxygen/templates/base-class-reference.html
doxygen/templates/details-func.html
doxygen/templates/entry-class.html
doxygen/templates/entry-func.html
doxygen/test/cpp_derived/classNamespace_1_1A.html
doxygen/test/cpp_derived/classNamespace_1_1VirtualBase.html
doxygen/test/cpp_derived/input.h
doxygen/test/cpp_derived/structAnother_1_1Final.html [new file with mode: 0644]
doxygen/test/cpp_function_attributes/Doxyfile [new file with mode: 0644]
doxygen/test/cpp_function_attributes/classBase.html [new file with mode: 0644]
doxygen/test/cpp_function_attributes/classDerived.html [new file with mode: 0644]
doxygen/test/cpp_function_attributes/input.h [new file with mode: 0644]
doxygen/test/cpp_function_attributes/structFinal.html [new file with mode: 0644]
doxygen/test/cpp_function_attributes/structFoo.html [new file with mode: 0644]
doxygen/test/test_cpp.py