From 9e391505c4eef24e574911f83d7a6119a8ad78f1 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 13 Oct 2013 11:10:01 +0000 Subject: [PATCH] Parse brackets in argsstring. This may seem like overkill, but it's going to be needed for handling parameters to noexcept. Doesn't handle escapes because that my sanity is already stretched far enough. [SVN r86284] --- test/doxygen/autodoc.gold | 10 +++++ test/doxygen/boost/example.hpp | 12 ++++++ xsl/doxygen/doxygen2boostbook.xsl | 64 +++++++++++++++++++++++++++++-- 3 files changed, 83 insertions(+), 3 deletions(-) diff --git a/test/doxygen/autodoc.gold b/test/doxygen/autodoc.gold index 983ced9..a1ee79c 100644 --- a/test/doxygen/autodoc.gold +++ b/test/doxygen/autodoc.gold @@ -18,6 +18,16 @@ int int intintdefault_value +intint(*)()volatile char +intchar *")"volatile char +intchar *"("volatile char +intchar'('volatile char +intchar')'volatile char +intint(*)()volatile char +intchar *")"volatile char +intchar *"("volatile char +intchar'('volatile char +intchar')'volatile char void void void diff --git a/test/doxygen/boost/example.hpp b/test/doxygen/boost/example.hpp index af2d0e7..c5b6552 100644 --- a/test/doxygen/boost/example.hpp +++ b/test/doxygen/boost/example.hpp @@ -39,6 +39,18 @@ namespace example virtual int virtual_const_method() const; int method_with_default_value(int = default_value); + int method_with_fp(int (*fp)(), volatile char); + int method_with_string_default1(char* = ")", volatile char); + int method_with_string_default2(char* = "(", volatile char); + int method_with_char_default1(char = '(', volatile char); + int method_with_char_default2(char = ')', volatile char); + + int volatile_method_with_fp(int (*fp)(), volatile char) volatile; + int volatile_method_with_string_default1(char* = ")", volatile char) volatile; + int volatile_method_with_string_default2(char* = "(", volatile char) volatile; + int volatile_method_with_char_default1(char = '(', volatile char) volatile; + int volatile_method_with_char_default2(char = ')', volatile char) volatile; + void const_method() const; void volatile_method() volatile; diff --git a/xsl/doxygen/doxygen2boostbook.xsl b/xsl/doxygen/doxygen2boostbook.xsl index d10f584..42eeb1c 100644 --- a/xsl/doxygen/doxygen2boostbook.xsl +++ b/xsl/doxygen/doxygen2boostbook.xsl @@ -1062,9 +1062,18 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +