summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-09-21 13:52:37 +0200
committerKai Koehne <kai.koehne@qt.io>2018-09-21 12:02:54 +0000
commitac9ab687403a2bbd4689ac14da3fc6f6594da7a1 (patch)
treedfd627f95e6e4729d0087075c9c0a3be9589902f
parent6ab3a02c28f07940f0feecd853da6462838fd580 (diff)
downloadqt-creator-ac9ab687403a2bbd4689ac14da3fc6f6594da7a1.tar.gz
Fix incorrect grammar in 'does not exists'
Change-Id: I790d9bbdfc170808ff66e70be0f81d1c292c0bcb Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
-rw-r--r--src/libs/clangsupport/filepathexceptions.h4
-rw-r--r--src/libs/sqlite/sqlstatementbuilder.cpp2
-rw-r--r--src/plugins/cppeditor/fileandtokenactions_test.cpp4
-rw-r--r--src/tools/clangbackend/source/clangexceptions.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/libs/clangsupport/filepathexceptions.h b/src/libs/clangsupport/filepathexceptions.h
index 32142c084c..80bded0c66 100644
--- a/src/libs/clangsupport/filepathexceptions.h
+++ b/src/libs/clangsupport/filepathexceptions.h
@@ -43,7 +43,7 @@ class SourceNameIdDoesNotExists : std::exception
public:
const char *what() const noexcept override
{
- return "The source name id does not exists in the database!";
+ return "The source name id does not exist in the database!";
}
};
@@ -52,7 +52,7 @@ class DirectoryPathIdDoesNotExists : std::exception
public:
const char *what() const noexcept override
{
- return "The directory path id does not exists in the database!";
+ return "The directory path id does not exist in the database!";
}
};
diff --git a/src/libs/sqlite/sqlstatementbuilder.cpp b/src/libs/sqlite/sqlstatementbuilder.cpp
index cfa08a2b7b..3ead80b8d4 100644
--- a/src/libs/sqlite/sqlstatementbuilder.cpp
+++ b/src/libs/sqlite/sqlstatementbuilder.cpp
@@ -226,7 +226,7 @@ void SqlStatementBuilder::clearSqlStatement()
void SqlStatementBuilder::checkIfPlaceHolderExists(Utils::SmallStringView name) const
{
if (name.size() < 2 || !name.startsWith('$') || !m_sqlTemplate.contains(name))
- throwException("SqlStatementBuilder::bind: placeholder name does not exists!", name.data());
+ throwException("SqlStatementBuilder::bind: placeholder name does not exist!", name.data());
}
void SqlStatementBuilder::checkIfNoPlaceHoldersAynmoreExists() const
diff --git a/src/plugins/cppeditor/fileandtokenactions_test.cpp b/src/plugins/cppeditor/fileandtokenactions_test.cpp
index 73f995c3d2..89275d3d6a 100644
--- a/src/plugins/cppeditor/fileandtokenactions_test.cpp
+++ b/src/plugins/cppeditor/fileandtokenactions_test.cpp
@@ -320,7 +320,7 @@ class FollowSymbolUnderCursorTokenAction : public TestActionsTestCase::AbstractA
{
public:
/// Follow symbol under cursor
- /// Warning: May block if file does not exists (e.g. a not generated ui_* file).
+ /// Warning: May block if file does not exist (e.g. a not generated ui_* file).
void run(CppEditorWidget *editorWidget);
};
@@ -511,7 +511,7 @@ void CppEditorPlugin::test_moveTokenWiseThroughEveryFile()
TestActionsTestCase(singleAction(ActionPointer(new NoOpTokenAction)));
}
-/// May block if file does not exists (e.g. a not generated ui_* file).
+/// May block if file does not exist (e.g. a not generated ui_* file).
void CppEditorPlugin::test_moveTokenWiseThroughEveryFileAndFollowSymbol()
{
TestActionsTestCase(singleAction(ActionPointer(new FollowSymbolUnderCursorTokenAction)));
diff --git a/src/tools/clangbackend/source/clangexceptions.cpp b/src/tools/clangbackend/source/clangexceptions.cpp
index 62527b6ce7..5fff38fe81 100644
--- a/src/tools/clangbackend/source/clangexceptions.cpp
+++ b/src/tools/clangbackend/source/clangexceptions.cpp
@@ -58,7 +58,7 @@ DocumentDoesNotExistException::DocumentDoesNotExistException(const Utf8String &f
+ filePath
+ Utf8StringLiteral("' with the project part id '")
+ projectPartId
- + Utf8StringLiteral("' does not exists!");
+ + Utf8StringLiteral("' does not exist!");
}
DocumentFileDoesNotExistException::DocumentFileDoesNotExistException(