Typos found by running "codespell" (#3251)
This commit is contained in:
parent
e35c46bcb9
commit
c70b8793a3
|
@ -306,7 +306,7 @@ protected:
|
|||
|
||||
/**
|
||||
* @brief Hides/shows full file path on all error file items according to mShowFullPath
|
||||
* @param item Parent item whose childrens paths to change
|
||||
* @param item Parent item whose children's paths to change
|
||||
*/
|
||||
void refreshFilePaths(QStandardItem *item);
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ void TestCppcheckLibraryData::podtypeValid()
|
|||
loadCfgFile(":/files/podtype_valid.cfg", fileLibraryData, result);
|
||||
QCOMPARE(result.isNull(), true);
|
||||
|
||||
// Swap libray data read from file to other object
|
||||
// Swap library data read from file to other object
|
||||
libraryData.swap(fileLibraryData);
|
||||
|
||||
// Do size and content checks against swapped data.
|
||||
|
@ -125,7 +125,7 @@ void TestCppcheckLibraryData::typechecksValid()
|
|||
loadCfgFile(":/files/typechecks_valid.cfg", fileLibraryData, result);
|
||||
QCOMPARE(result.isNull(), true);
|
||||
|
||||
// Swap libray data read from file to other object
|
||||
// Swap library data read from file to other object
|
||||
libraryData.swap(fileLibraryData);
|
||||
|
||||
// Do size and content checks against swapped data.
|
||||
|
@ -173,7 +173,7 @@ void TestCppcheckLibraryData::smartPointerValid()
|
|||
loadCfgFile(":/files/smartptr_valid.cfg", fileLibraryData, result);
|
||||
QCOMPARE(result.isNull(), true);
|
||||
|
||||
// Swap libray data read from file to other object
|
||||
// Swap library data read from file to other object
|
||||
libraryData.swap(fileLibraryData);
|
||||
|
||||
// Do size and content checks against swapped data.
|
||||
|
@ -205,7 +205,7 @@ void TestCppcheckLibraryData::platformTypeValid()
|
|||
loadCfgFile(":/files/platform_type_valid.cfg", fileLibraryData, result);
|
||||
QCOMPARE(result.isNull(), true);
|
||||
|
||||
// Swap libray data read from file to other object
|
||||
// Swap library data read from file to other object
|
||||
libraryData.swap(fileLibraryData);
|
||||
|
||||
// Do size and content checks against swapped data.
|
||||
|
@ -263,7 +263,7 @@ void TestCppcheckLibraryData::memoryResourceValid()
|
|||
loadCfgFile(":/files/memory_resource_valid.cfg", fileLibraryData, result);
|
||||
QCOMPARE(result.isNull(), true);
|
||||
|
||||
// Swap libray data read from file to other object
|
||||
// Swap library data read from file to other object
|
||||
libraryData.swap(fileLibraryData);
|
||||
|
||||
// Do size and content checks against swapped data.
|
||||
|
@ -363,7 +363,7 @@ void TestCppcheckLibraryData::defineValid()
|
|||
loadCfgFile(":/files/define_valid.cfg", fileLibraryData, result);
|
||||
QCOMPARE(result.isNull(), true);
|
||||
|
||||
// Swap libray data read from file to other object
|
||||
// Swap library data read from file to other object
|
||||
libraryData.swap(fileLibraryData);
|
||||
|
||||
// Do size and content checks against swapped data.
|
||||
|
@ -398,7 +398,7 @@ void TestCppcheckLibraryData::undefineValid()
|
|||
loadCfgFile(":/files/undefine_valid.cfg", fileLibraryData, result);
|
||||
QCOMPARE(result.isNull(), true);
|
||||
|
||||
// Swap libray data read from file to other object
|
||||
// Swap library data read from file to other object
|
||||
libraryData.swap(fileLibraryData);
|
||||
|
||||
// Do size and content checks against swapped data.
|
||||
|
@ -428,7 +428,7 @@ void TestCppcheckLibraryData::reflectionValid()
|
|||
loadCfgFile(":/files/reflection_valid.cfg", fileLibraryData, result);
|
||||
QCOMPARE(result.isNull(), true);
|
||||
|
||||
// Swap libray data read from file to other object
|
||||
// Swap library data read from file to other object
|
||||
libraryData.swap(fileLibraryData);
|
||||
|
||||
// Do size and content checks against swapped data.
|
||||
|
@ -471,7 +471,7 @@ void TestCppcheckLibraryData::markupValid()
|
|||
loadCfgFile(":/files/markup_valid.cfg", fileLibraryData, result);
|
||||
QCOMPARE(result.isNull(), true);
|
||||
|
||||
// Swap libray data read from file to other object
|
||||
// Swap library data read from file to other object
|
||||
libraryData.swap(fileLibraryData);
|
||||
|
||||
// Do size and content checks against swapped data.
|
||||
|
|
|
@ -4060,7 +4060,7 @@ static std::list<ValueFlow::Value> truncateValues(std::list<ValueFlow::Value> va
|
|||
const size_t sz = ValueFlow::getSizeOf(*valueType, settings);
|
||||
|
||||
for (ValueFlow::Value &value : values) {
|
||||
// Dont truncate impossible values since those can be outside of the valid range
|
||||
// Don't truncate impossible values since those can be outside of the valid range
|
||||
if (value.isImpossible())
|
||||
continue;
|
||||
if (value.isFloatValue()) {
|
||||
|
|
Loading…
Reference in New Issue