summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Symbols.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <qtc-committer@nokia.com>2009-02-09 17:44:06 +0100
committerRoberto Raggi <qtc-committer@nokia.com>2009-02-09 17:49:12 +0100
commitd01795d9334a96f0ae3f2b19b689fe9abd7fdf34 (patch)
tree79e782f3e7a3797750e9e37cf26106f322426e8a /src/shared/cplusplus/Symbols.cpp
parentce22a96041ed7a61b09ea9596f415d30d67e68f1 (diff)
downloadqt-creator-d01795d9334a96f0ae3f2b19b689fe9abd7fdf34.tar.gz
Reimplemented Type::as*Type() using virtual methods.
Diffstat (limited to 'src/shared/cplusplus/Symbols.cpp')
-rw-r--r--src/shared/cplusplus/Symbols.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/cplusplus/Symbols.cpp b/src/shared/cplusplus/Symbols.cpp
index a7ed4682ff..6fae11453b 100644
--- a/src/shared/cplusplus/Symbols.cpp
+++ b/src/shared/cplusplus/Symbols.cpp
@@ -188,7 +188,7 @@ void Function::setTemplateParameters(Scope *templateParameters)
bool Function::isEqualTo(const Type *other) const
{
- const Function *o = other->asFunction();
+ const Function *o = other->asFunctionType();
if (! o)
return false;
Name *l = identity();
@@ -323,7 +323,7 @@ FullySpecifiedType Enum::type() const
bool Enum::isEqualTo(const Type *other) const
{
- const Enum *o = other->asEnum();
+ const Enum *o = other->asEnumType();
if (! o)
return false;
Name *l = identity();
@@ -356,7 +356,7 @@ Namespace::~Namespace()
bool Namespace::isEqualTo(const Type *other) const
{
- const Namespace *o = other->asNamespace();
+ const Namespace *o = other->asNamespaceType();
if (! o)
return false;
Name *l = identity();
@@ -458,7 +458,7 @@ FullySpecifiedType Class::type() const
bool Class::isEqualTo(const Type *other) const
{
- const Class *o = other->asClass();
+ const Class *o = other->asClassType();
if (! o)
return false;
Name *l = identity();