summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Control.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-05-05 10:18:11 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2010-05-05 16:36:45 +0200
commitc35bb4226bd809a3da3487a9db3f61ba34cce70d (patch)
tree40ccb6b51727d700d9276b315e61aa8123fb6d2d /src/shared/cplusplus/Control.h
parentc8f03b46c1e1dddd63450d3db140b3deba6fcb69 (diff)
downloadqt-creator-c35bb4226bd809a3da3487a9db3f61ba34cce70d.tar.gz
Introduce Namespace aliases and store the TranslationUnit instead of the Control.
Diffstat (limited to 'src/shared/cplusplus/Control.h')
-rw-r--r--src/shared/cplusplus/Control.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Control.h b/src/shared/cplusplus/Control.h
index 791d24ca34..d46c7093ae 100644
--- a/src/shared/cplusplus/Control.h
+++ b/src/shared/cplusplus/Control.h
@@ -131,6 +131,9 @@ public:
/// Creates a new Namespace symbol.
Namespace *newNamespace(unsigned sourceLocation, const Name *name = 0);
+ /// Creates a new Namespace symbol.
+ NamespaceAlias *newNamespaceAlias(unsigned sourceLocation, const Name *name = 0);
+
/// Creates a new BaseClass symbol.
BaseClass *newBaseClass(unsigned sourceLocation, const Name *name = 0);