summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/CheckSpecifier.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-02-17 11:23:46 +0100
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-02-17 11:28:18 +0100
commit7774977e5d506ea7f414daca362edd9a333f6de5 (patch)
tree4e890d5d596a4181c7fc042357b98683d808e556 /src/shared/cplusplus/CheckSpecifier.cpp
parenta26bef5ff41ba4389fad3aacfa9d74d15e0423e0 (diff)
downloadqt-creator-7774977e5d506ea7f414daca362edd9a333f6de5.tar.gz
Fixed handling of attribute specifiers in front of declaration
Done with Roberto Raggi
Diffstat (limited to 'src/shared/cplusplus/CheckSpecifier.cpp')
-rw-r--r--src/shared/cplusplus/CheckSpecifier.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckSpecifier.cpp b/src/shared/cplusplus/CheckSpecifier.cpp
index eeb59eebcc..a001947ff5 100644
--- a/src/shared/cplusplus/CheckSpecifier.cpp
+++ b/src/shared/cplusplus/CheckSpecifier.cpp
@@ -384,8 +384,9 @@ bool CheckSpecifier::visit(TypeofSpecifierAST *ast)
return false;
}
-bool CheckSpecifier::visit(AttributeSpecifierAST *)
+bool CheckSpecifier::visit(AttributeSpecifierAST *ast)
{
+ accept(ast->next);
return false;
}