[RangeInfo] Address Argyrios' code review comments. NFC (#11114)

This commit is contained in:
Xi Ge
2017-07-21 18:10:52 -07:00
committed by GitHub
parent ac348b597a
commit 7595ed353e
3 changed files with 21 additions and 19 deletions

View File

@@ -1355,7 +1355,7 @@ static void resolveRange(SwiftLangSupport &Lang,
ASTInvok->applyTo(CompInvok);
RangeInfo Result;
Result.RangeKind = Lang.getUIDForRangeKind(Info.Kind);
Result.RangeContent = Info.getContent().str();
Result.RangeContent = Info.ContentRange.str();
switch (Info.Kind) {
case RangeKind::SingleExpression: {
SmallString<64> SS;