summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Name.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-05-28 11:49:59 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-05-28 11:49:59 +0200
commita1ec4e2a941e12816f228670ca573dbc768eebf9 (patch)
treedfe01bf12e95497f08c0dcf1fdb297f1b846d8c1 /src/shared/cplusplus/Name.h
parent6ec0b2591e8e4bf05555bce3b65a0d4cf24f5c99 (diff)
downloadqt-creator-a1ec4e2a941e12816f228670ca573dbc768eebf9.tar.gz
Introduced Name::identifier().
Name::identifier() returns the identifier used to declare the name.
Diffstat (limited to 'src/shared/cplusplus/Name.h')
-rw-r--r--src/shared/cplusplus/Name.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Name.h b/src/shared/cplusplus/Name.h
index e58fd86d7e..ad871ea1da 100644
--- a/src/shared/cplusplus/Name.h
+++ b/src/shared/cplusplus/Name.h
@@ -63,6 +63,8 @@ public:
Name();
virtual ~Name();
+ virtual Identifier *identifier() const = 0;
+
bool isNameId() const;
bool isTemplateNameId() const;
bool isDestructorNameId() const;