Convert [Cc]an not -> [Cc]annot

This commit is contained in:
ken0nek
2015-12-23 00:55:48 +09:00
parent e216169029
commit fcd8fcee91
112 changed files with 264 additions and 264 deletions

View File

@@ -1220,7 +1220,7 @@ void ModuleFile::getImportDecls(SmallVectorImpl<Decl *> &Results) {
if (!M) {
// The dependency module could not be loaded. Just make a guess
// about the import kind, we can not do better.
// about the import kind, we cannot do better.
Kind = ImportKind::Func;
} else {
SmallVector<ValueDecl *, 8> Decls;
@@ -1466,7 +1466,7 @@ Optional<BriefAndRawComment> ModuleFile::getCommentForDecl(const Decl *D) {
// Keep these as assertions instead of early exits to ensure that we are not
// doing extra work. These cases should be handled by clients of this API.
assert(!D->hasClangNode() &&
"can not find comments for Clang decls in Swift modules");
"cannot find comments for Clang decls in Swift modules");
assert(D->getDeclContext()->getModuleScopeContext() == FileContext &&
"Decl is from a different serialized file");