diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-10-06 20:15:04 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-10-06 20:15:04 (GMT) |
commit | d4c24c28ffcf7143bcdfecee1c8b55f704274d37 (patch) | |
tree | 03e1c8a46743e5f1637afb1e7698aa7ef516d170 /src/doxygen.cpp | |
parent | 8074d26746e58056b8aa1444439368b038f1dcd7 (diff) | |
download | Doxygen-d4c24c28ffcf7143bcdfecee1c8b55f704274d37.zip Doxygen-d4c24c28ffcf7143bcdfecee1c8b55f704274d37.tar.gz Doxygen-d4c24c28ffcf7143bcdfecee1c8b55f704274d37.tar.bz2 |
Bug 759402 - C++11 "using" type alias for function pointer with no arguments is formatted incorrectly
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index d649ce5..8e97b4e 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -2870,11 +2870,6 @@ static void addVariable(EntryNav *rootNav,int isFuncPtr=-1) //printf("root->type=%s root->args=%s\n",root->type.data(),root->args.data()); } } - else if (root->type.find("typedef ")!=-1 && root->type.right(2)=="()") // typedef void (func)(int) - { - root->type=root->type.left(root->type.length()-1); - root->args.prepend(") "); - } } QCString scope,name=removeRedundantWhiteSpace(root->name); |