diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-03-05 18:16:47 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-03-05 18:16:47 (GMT) |
commit | 000241f7603af61328b25cd9a9defc40be43e558 (patch) | |
tree | fea55c7f521b9b8d4c7cdecc6579109f17cae89a /src/filedef.cpp | |
parent | 75cfc919c930dc2a5c9e6770d6b1e7b09e5e8883 (diff) | |
download | Doxygen-000241f7603af61328b25cd9a9defc40be43e558.zip Doxygen-000241f7603af61328b25cd9a9defc40be43e558.tar.gz Doxygen-000241f7603af61328b25cd9a9defc40be43e558.tar.bz2 |
Release_1.1.0-20000305
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index db28033..5caacff 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -479,7 +479,7 @@ void FileDef::insertMember(MemberDef *md) /*! Adds compound definition \a cd to the list of all compounds of this file */ void FileDef::insertClass(ClassDef *cd) { - classList->append(cd); + classList->inSort(cd); } /*! Adds namespace definition \a nd to the list of all compounds of this file */ @@ -487,7 +487,7 @@ void FileDef::insertNamespace(NamespaceDef *nd) { if (!nd->name().isEmpty() && namespaceDict->find(nd->name())==0) { - namespaceList->append(nd); + namespaceList->inSort(nd); namespaceDict->insert(nd->name(),nd); } } @@ -541,11 +541,10 @@ void FileDef::addUsingDirective(NamespaceDef *nd) void FileDef::addIncludeDependency(FileDef *fd,const char *incName,bool local) { + //printf("FileDef::addIncludeDependency(%p,%s,%d)\n",fd,incName,local); QCString iName = fd ? fd->absFilePath().data() : incName; if (!iName.isEmpty() && includeDict->find(iName)==0) { - //printf("Adding include dependency `%s' to `%s'\n", - // fd->name().data(),name().data()); IncludeInfo *ii = new IncludeInfo; ii->fileDef = fd; ii->includeName = incName; @@ -574,8 +573,8 @@ int FileList::compareItems(GCI item1, GCI item2) FileDef *f2=(FileDef *)item2; ASSERT(f1!=0 && f2!=0); return Config::fullPathNameFlag ? - strcmp(f1->absFilePath(),f2->absFilePath()) : - strcmp(f1->name(),f2->name()); + strcasecmp(f1->absFilePath(),f2->absFilePath()) : + strcasecmp(f1->name(),f2->name()); } /*! Create a file list iterator. */ |