diff options
author | Jerome Pasion <jerome.pasion@nokia.com> | 2010-07-29 12:59:55 (GMT) |
---|---|---|
committer | Jerome Pasion <jerome.pasion@nokia.com> | 2010-07-29 12:59:55 (GMT) |
commit | 5bdb85e3b21bcf624eb1830aa32d027e0c6870fe (patch) | |
tree | e3193ee6947a112818e4a00adb54bc598ed142f5 /tools/porting | |
parent | e98ec548d4f7b0558742014933457f756bdd8bf1 (diff) | |
download | Qt-5bdb85e3b21bcf624eb1830aa32d027e0c6870fe.zip Qt-5bdb85e3b21bcf624eb1830aa32d027e0c6870fe.tar.gz Qt-5bdb85e3b21bcf624eb1830aa32d027e0c6870fe.tar.bz2 |
Fixed spelling mistakes in documented functions, classes, etc. Part of QTBUG-11938 and QTBUG-10801
Diffstat (limited to 'tools/porting')
-rw-r--r-- | tools/porting/src/semantic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/porting/src/semantic.cpp b/tools/porting/src/semantic.cpp index 268e037..cf0b141 100644 --- a/tools/porting/src/semantic.cpp +++ b/tools/porting/src/semantic.cpp @@ -768,7 +768,7 @@ void Semantic::parseTypedef(TypedefAST *ast) void Semantic::parseTypeSpecifier(TypeSpecifierAST *ast) { // If this is a classSpecifier or a EnumSpecifier we skip the name lookup, - // becuase looking up the name "E" in a class definition like + // because looking up the name "E" in a class definition like // "class E { ..." makes no sense. (There might be a variable named E // already declared, but that variable is now shadowed by the class type.) if( ast->nodeType() != NodeType_EnumSpecifier @@ -807,7 +807,7 @@ void Semantic::parseNameUse(NameAST* name) /* looks up name used in basescope. If name->isGlobal() is true or if classOrNamespaceList() - returns a non-emty list, the C++ qualified name lookup rules are used. Otherwise the + returns a non-empty list, the C++ qualified name lookup rules are used. Otherwise the unquialified name lookup rules are used. Returns the a list of members that was found, In most cases this list will contain zero or one element, exept in the case of overloaded functions. TODO: Argument-dependent name lookup @@ -975,7 +975,7 @@ FunctionMember *Semantic::functionLookup(CodeModel::Scope *baseScope, */ FunctionMember *Semantic::selectFunction(QList<CodeModel::Member*> candidatateList, const DeclaratorAST *functionDeclarator) { - // get arguments for funciton we are looking for + // get arguments for function we are looking for FunctionMember testFunction; parseFunctionArguments(functionDeclarator, &testFunction); const ArgumentCollection testArgumentCollection = testFunction.arguments(); |