minor update

This commit is contained in:
Roy Qu 2024-02-28 09:41:20 +08:00
parent 2743e6f682
commit f7eacaa048
2 changed files with 13 additions and 14 deletions

View File

@ -295,7 +295,19 @@ private:
QVector<PCppScope> mScopes;
};
struct ClassInheritanceInfo;
struct ClassInheritanceInfo {
std::weak_ptr<Statement> derivedClass;
QString file;
QString parentClassName;
bool isGlobal;
bool isStruct;
StatementAccessibility visibility;
// QString parentClassFilename;
bool handled;
};
using PClassInheritanceInfo = std::shared_ptr<ClassInheritanceInfo>;
struct FileIncludes {
QString baseFile;
QMap<QString, bool> includeFiles; // true means the file is directly included, false means included indirectly

View File

@ -53,17 +53,4 @@ private:
#endif
};
struct ClassInheritanceInfo {
std::weak_ptr<Statement> derivedClass;
QString file;
QString parentClassName;
bool isGlobal;
bool isStruct;
StatementAccessibility visibility;
// QString parentClassFilename;
bool handled;
};
using PClassInheritanceInfo = std::shared_ptr<ClassInheritanceInfo>;
#endif // STATEMENTMODEL_H