SR-11889: Fixed code review issues

1. Removed two braces {{ usage of Located initialization
2. Wrapped documentation into 80 characters
This commit is contained in:
Kita, Maksim
2019-12-11 00:19:15 +03:00
parent c1444dea18
commit c88ac85b3f
7 changed files with 15 additions and 13 deletions

View File

@@ -103,7 +103,7 @@ static ModuleDecl *getModuleByFullName(ASTContext &Ctx, StringRef ModuleName) {
}
static ModuleDecl *getModuleByFullName(ASTContext &Ctx, Identifier ModuleName) {
return Ctx.getModule({{ModuleName, SourceLoc()}});
return Ctx.getModule({ Located<Identifier>(ModuleName, SourceLoc()) });
}
namespace {