Fixed #4874 (Minor spelling corrections)
This commit is contained in:
parent
7dd07472c1
commit
a381170886
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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++;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue