diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-06-22 19:58:32 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-06-22 19:58:32 (GMT) |
commit | d63fb8488a84c7a0304ddd1024c07cc5756aa48a (patch) | |
tree | eb68bfd8c17802b0dc8d47eb9668b606d272d012 /src/doxygen.cpp | |
parent | 0651fff25fe4e2e5752e222871257a37e530c805 (diff) | |
download | Doxygen-d63fb8488a84c7a0304ddd1024c07cc5756aa48a.zip Doxygen-d63fb8488a84c7a0304ddd1024c07cc5756aa48a.tar.gz Doxygen-d63fb8488a84c7a0304ddd1024c07cc5756aa48a.tar.bz2 |
Add support for writing and importing C++11 style enums to and from tag files
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 23a936a..f52172f 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -7187,10 +7187,12 @@ static void addEnumValuesToEnums(EntryNav *rootNav) // them here and only add them to the enum e->loadEntry(g_storage); Entry *root = e->entry(); - //printf("md->qualifiedName()=%s rootNav->name()=%s\n", - // md->qualifiedName().data(),rootNav->name().data()); + //printf("md->qualifiedName()=%s rootNav->name()=%s tagInfo=%p\n", + // md->qualifiedName().data(),rootNav->name().data(),rootNav->tagInfo()); if (substitute(md->qualifiedName(),"::",".")== // TODO: add function to get canonical representation - substitute(rootNav->name(),"::",".")) // enum value scope matches that of the enum + substitute(rootNav->name(),"::",".") || // enum value scope matches that of the enum + rootNav->tagInfo() // be less strict for tag files as members can have incomplete scope + ) { MemberDef *fmd=new MemberDef( root->fileName,root->startLine,root->startColumn, |