Added support for the GCC "unavailable" attribute.

This commit is contained in:
Erik Verbruggen
2010-05-26 13:56:25 +02:00
parent 49c75444bd
commit dfadb0d076
4 changed files with 27 additions and 1 deletions

View File

@@ -287,6 +287,9 @@ public:
bool isDeprecated() const;
void setDeprecated(bool isDeprecated);
bool isUnavailable() const;
void setUnavailable(bool isUnavailable);
Symbol *enclosingSymbol() const;
/// Returns the eclosing namespace scope.
@@ -332,6 +335,7 @@ private:
bool _isGenerated: 1;
bool _isDeprecated: 1;
bool _isUnavailable: 1;
class IdentityForName;
class HashCode;