Sync differences from branch 'master' into 'devel' after release 1.13.3

This commit is contained in:
Matej Kenda
2024-04-05 11:47:42 +02:00
parent 534c12415e
commit bd4560123f
23 changed files with 140 additions and 29 deletions

View File

@@ -60,6 +60,7 @@ public:
OP_GE, // >=
OP_SHR, // >>
OP_SHR_ASSIGN, // >>=
OP_SPACESHIP, // <=>
OP_ASSIGN, // =
OP_EQ, // ==
OP_NOT, // !

View File

@@ -125,6 +125,14 @@ public:
const std::string& getLibrary() const;
/// Returns the symbol's library.
void setOrder(std::size_t order);
/// Sets the order of the symbol within its container.
///
/// Currently only used for struct/class members.
std::size_t getOrder() const;
/// Returns the order of the symbol within its container.
const Attributes& attrs() const;
/// Returns the symbol's attributes.
@@ -175,6 +183,7 @@ private:
int _line;
std::string _package;
std::string _library;
std::size_t _order;
Attributes _attrs;
std::string _attributeList;
@@ -245,6 +254,12 @@ inline const std::string& Symbol::getLibrary() const
}
inline std::size_t Symbol::getOrder() const
{
return _order;
}
inline const Attributes& Symbol::attrs() const
{
return _attrs;