summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-10-06 20:15:04 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-10-06 20:15:04 (GMT)
commitd4c24c28ffcf7143bcdfecee1c8b55f704274d37 (patch)
tree03e1c8a46743e5f1637afb1e7698aa7ef516d170
parent8074d26746e58056b8aa1444439368b038f1dcd7 (diff)
downloadDoxygen-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
-rw-r--r--src/doxygen.cpp5
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);