summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Symbol.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-03-23 12:04:44 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-03-23 14:15:45 +0100
commit9efa5d940acd0d000cc76515d5dbafa519c3d33f (patch)
tree4a78bba8dd1b74998f929af44fb3415089fef6eb /src/shared/cplusplus/Symbol.h
parentf45ff92c28817558509aaca6a5e2f56bcb14bbef (diff)
downloadqt-creator-9efa5d940acd0d000cc76515d5dbafa519c3d33f.tar.gz
Added __attribute__ visiting, and storing of the deprecated attr.
Diffstat (limited to 'src/shared/cplusplus/Symbol.h')
-rw-r--r--src/shared/cplusplus/Symbol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Symbol.h b/src/shared/cplusplus/Symbol.h
index b1dab975e7..33bd7c92e8 100644
--- a/src/shared/cplusplus/Symbol.h
+++ b/src/shared/cplusplus/Symbol.h
@@ -291,6 +291,9 @@ public:
bool isGenerated() const;
+ bool isDeprecated() const;
+ void setDeprecated(bool isDeprecated);
+
Symbol *enclosingSymbol() const;
/// Returns the eclosing namespace scope.
@@ -334,6 +337,7 @@ private:
Symbol *_next;
bool _isGenerated: 1;
+ bool _isDeprecated: 1;
class IdentityForName;
class HashCode;