aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/cplusplus/Symbol.h
diff options
context:
space:
mode:
authorRoberto Raggi <[email protected]>2009-05-28 11:49:59 +0200
committerRoberto Raggi <[email protected]>2009-05-28 11:49:59 +0200
commita1ec4e2a941e12816f228670ca573dbc768eebf9 (patch)
treedfe01bf12e95497f08c0dcf1fdb297f1b846d8c1 /src/shared/cplusplus/Symbol.h
parent6ec0b2591e8e4bf05555bce3b65a0d4cf24f5c99 (diff)
Introduced Name::identifier().
Name::identifier() returns the identifier used to declare the name.
Diffstat (limited to 'src/shared/cplusplus/Symbol.h')
-rw-r--r--src/shared/cplusplus/Symbol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Symbol.h b/src/shared/cplusplus/Symbol.h
index 4db5d297c29..c5cc484f108 100644
--- a/src/shared/cplusplus/Symbol.h
+++ b/src/shared/cplusplus/Symbol.h
@@ -125,6 +125,9 @@ public:
/// Sets this Symbol's name.
void setName(Name *name); // ### dangerous
+ /// Returns this Symbol's (optional) identifier
+ Identifier *identifier() const;
+
/// Returns this Symbol's storage class specifier.
int storage() const;