diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-12-01 12:46:15 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-12-01 12:46:23 +0100 |
commit | 7c7ce13ac09d1a3a3807d0f4fea97688554d28d3 (patch) | |
tree | 9c73a3a6743ec973c0b7ec5cce9404a13bbbd9a0 /src/shared/cplusplus/Semantic.h | |
parent | f2e77fb8fd2f3c06ccb7ab922bbde6a4f7a1f7f0 (diff) | |
download | qt-creator-7c7ce13ac09d1a3a3807d0f4fea97688554d28d3.tar.gz |
Use const names.
Diffstat (limited to 'src/shared/cplusplus/Semantic.h')
-rw-r--r-- | src/shared/cplusplus/Semantic.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/cplusplus/Semantic.h b/src/shared/cplusplus/Semantic.h index f6a4e528f4..6ca0b81c70 100644 --- a/src/shared/cplusplus/Semantic.h +++ b/src/shared/cplusplus/Semantic.h @@ -70,7 +70,7 @@ public: FullySpecifiedType check(SpecifierListAST *specifier, Scope *scope); FullySpecifiedType check(DeclaratorAST *declarator, const FullySpecifiedType &type, - Scope *scope, Name **name = 0); // ### ugly + Scope *scope, const Name **name = 0); // ### ugly FullySpecifiedType check(PtrOperatorListAST *ptrOperators, const FullySpecifiedType &type, Scope *scope); @@ -83,11 +83,11 @@ public: void check(StatementAST *statement, Scope *scope); - Name *check(NameAST *name, Scope *scope); + const Name *check(NameAST *name, Scope *scope); - Name *check(NestedNameSpecifierListAST *name, Scope *scope); + const Name *check(NestedNameSpecifierListAST *name, Scope *scope); - Name *check(ObjCSelectorAST *args, Scope *scope); + const Name *check(ObjCSelectorAST *args, Scope *scope); FullySpecifiedType check(ObjCTypeNameAST *typeName, Scope *scope); void check(ObjCMessageArgumentDeclarationAST *arg, Scope *scope); |