[SourceKit] Fix formatting issues

This commit is contained in:
Simon Barinka
2023-08-01 13:26:14 +02:00
parent e32a20a55c
commit d0cf2e4bf3
2 changed files with 2 additions and 3 deletions

View File

@@ -1671,7 +1671,7 @@ static void resolveCursor(
case CursorInfoKind::ExprStart:
case CursorInfoKind::StmtStart: {
// If code under cursor is literal expression returns Expr,
// otherwise nullptr
// otherwise nullptr.
auto tryGetLiteralExpr = [](auto CI) -> Expr * {
auto *ExprInfo = dyn_cast<ResolvedExprStartCursorInfo>(CI);
if (!ExprInfo || !ExprInfo->getTrailingExpr()) {
@@ -1700,7 +1700,7 @@ static void resolveCursor(
Data.AvailableActions = Actions;
}
// Handle literal expression
// Handle literal expression.
if (auto *LitExpr = tryGetLiteralExpr(CursorInfo)) {
bool Success = addCursorInfoForLiteral(Data, LitExpr, Lang, CompInvok,
CursorInfo->getLoc(),