Fixed #4874 (Minor spelling corrections)

This commit is contained in:
Zachary Blair 2013-06-26 00:47:02 -07:00
parent 7dd07472c1
commit a381170886
5 changed files with 6 additions and 6 deletions

View File

@ -998,7 +998,7 @@ void ResultsTree::RefreshFilePaths(QStandardItem *item)
if (!child) {
continue;
}
//Get childs's user data
//Get child's user data
QVariant child_userdata = child->data();
//Convert it to QVariantMap
QVariantMap child_data = child_userdata.toMap();

View File

@ -2736,7 +2736,7 @@ void Preprocessor::validateCfgError(const std::string &cfg, const std::string &m
loc.line = 1;
loc.setfile(file0);
locationList.push_back(loc);
ErrorLogger::ErrorMessage errmsg(locationList, Severity::information, "Skipping configuration '" + cfg + "' since the value of '" + macro + "' is unknown. Use -D if you want to check it. You can use -U to skip it explictly.", id, false);
ErrorLogger::ErrorMessage errmsg(locationList, Severity::information, "Skipping configuration '" + cfg + "' since the value of '" + macro + "' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.", id, false);
_errorLogger->reportInfo(errmsg);
}

View File

@ -1924,7 +1924,7 @@ void Function::addArguments(const SymbolDatabase *symbolDatabase, const Scope *s
break;
}
// count deafult arguments
// count default arguments
for (const Token* tok = argDef->next(); tok && tok != argDef->link(); tok = tok->next()) {
if (tok->str() == "=")
initArgCount++;

View File

@ -5371,7 +5371,7 @@ private:
TODO_ASSERT_EQUALS("[test.cpp:8]: (error) Memory pointed to by 'p' is freed twice.\n", "", errout.str());
check(
"void MyFuction()\n"
"void MyFunction()\n"
"{\n"
" char* data; data = new char[100];\n"
" try\n"
@ -5393,7 +5393,7 @@ private:
ASSERT_EQUALS("", errout.str());
check(
"void MyFuction()\n"
"void MyFunction()\n"
"{\n"
" char* data; data = new char[100];\n"
" try\n"

View File

@ -3837,7 +3837,7 @@ private:
settings.addEnabled("all");
preprocessor.setFile0("test.c");
ASSERT_EQUALS(false, preprocessor.validateCfg("int a=A;", "A"));
ASSERT_EQUALS("[test.c:1]: (information) Skipping configuration 'A' since the value of 'A' is unknown. Use -D if you want to check it. You can use -U to skip it explictly.\n", errout.str());
ASSERT_EQUALS("[test.c:1]: (information) Skipping configuration 'A' since the value of 'A' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.\n", errout.str());
}
void if_sizeof() { // #4071