diff --git a/lib/checkstl.cpp b/lib/checkstl.cpp index 4c6988bfc..08fc247d2 100644 --- a/lib/checkstl.cpp +++ b/lib/checkstl.cpp @@ -703,7 +703,7 @@ void CheckStl::stlBoundries() } } -// Error message for bad boundry usage.. +// Error message for bad boundary usage.. void CheckStl::stlBoundriesError(const Token *tok, const std::string &container_name) { reportError(tok, Severity::error, "stlBoundries", diff --git a/lib/path.cpp b/lib/path.cpp index 425bdc28f..a2ddafebf 100644 --- a/lib/path.cpp +++ b/lib/path.cpp @@ -171,7 +171,7 @@ std::string Path::getRelativePath(const std::string& absolutePath, const std::ve bool Path::isC(const std::string &path) { - // In unix, ".C" is concidered C++ file + // In unix, ".C" is considered C++ file const std::string extension = getFilenameExtension(path); return(extension == ".c"); } @@ -188,7 +188,7 @@ bool Path::isCPP(const std::string &path) return true; } - // In unix, ".C" is concidered C++ file + // In unix, ".C" is considered C++ file return(getFilenameExtension(path) == ".C"); }