summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-05-02 09:28:42 (GMT)
committerGitHub <noreply@github.com>2021-05-02 09:28:42 (GMT)
commit3463d27b600f7ce7c38354e45b86f030a1531928 (patch)
tree159c2a2049bc19c2028a6298c50ebf9c2b4f40e8 /src/doxygen.cpp
parentc2e278d30d613de23f6ecb86be3a562d20e82fb1 (diff)
parentb8a3ff6c33264c43cdf30c04baa9793e7e8d51a2 (diff)
downloadDoxygen-3463d27b600f7ce7c38354e45b86f030a1531928.zip
Doxygen-3463d27b600f7ce7c38354e45b86f030a1531928.tar.gz
Doxygen-3463d27b600f7ce7c38354e45b86f030a1531928.tar.bz2
Merge pull request #8333 from albert-github/feature/bug_305773
bug_305773 Volatile declaration is missing for variables in XML output
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 8835b05..51fcd16 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -2729,10 +2729,12 @@ static bool isVarWithConstructor(const Entry *root)
if (reg::search(resType,match,idChars) && match.position()==0) // resType starts with identifier
{
resType=match.str();
- //printf("resType=%s\n",qPrint(resType));
- if (resType=="int" || resType=="long" || resType=="float" ||
- resType=="double" || resType=="char" || resType=="signed" ||
- resType=="const" || resType=="unsigned" || resType=="void")
+ //printf("resType=%s\n",resType.data());
+ if (resType=="int" || resType=="long" ||
+ resType=="float" || resType=="double" ||
+ resType=="char" || resType=="void" ||
+ resType=="signed" || resType=="unsigned" ||
+ resType=="const" || resType=="volatile" )
{
result=FALSE; // type keyword -> function prototype
goto done;