diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-05-02 09:28:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 09:28:42 (GMT) |
commit | 3463d27b600f7ce7c38354e45b86f030a1531928 (patch) | |
tree | 159c2a2049bc19c2028a6298c50ebf9c2b4f40e8 /src/doxygen.cpp | |
parent | c2e278d30d613de23f6ecb86be3a562d20e82fb1 (diff) | |
parent | b8a3ff6c33264c43cdf30c04baa9793e7e8d51a2 (diff) | |
download | Doxygen-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.cpp | 10 |
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; |