summaryrefslogtreecommitdiff
path: root/src/libs/glsl/glslast.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-11-15 15:02:21 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2010-11-15 15:02:21 +1000
commit443be8eea6db111c02c3fa00a0c3446f748d6346 (patch)
tree16d280943d6b4e4dbdbdcff5254205ed453138c1 /src/libs/glsl/glslast.cpp
parent21cbf90d89b19baa23380dc74a22bb549e437676 (diff)
downloadqt-creator-443be8eea6db111c02c3fa00a0c3446f748d6346.tar.gz
Create AST nodes for qualified GLSL types
Diffstat (limited to 'src/libs/glsl/glslast.cpp')
-rw-r--r--src/libs/glsl/glslast.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libs/glsl/glslast.cpp b/src/libs/glsl/glslast.cpp
index b627edefd1..08252d50a6 100644
--- a/src/libs/glsl/glslast.cpp
+++ b/src/libs/glsl/glslast.cpp
@@ -335,6 +335,13 @@ List<StructType::Field *> *StructType::fixInnerTypes(Type *innerType, List<Field
return fields;
}
+void QualifiedType::accept0(Visitor *visitor)
+{
+ if (visitor->visit(this))
+ accept(type, visitor);
+ visitor->endVisit(this);
+}
+
void PrecisionDeclaration::accept0(Visitor *visitor)
{
if (visitor->visit(this))