File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ llvm::Expected<std::vector<FoldingRange>> getFoldingRanges(ParsedAST &AST) {
175175 return collectFoldingRanges (SyntaxTree, TM);
176176}
177177
178- // FIXME( usaxena95): Collect includes and other code regions (e.g.
178+ // FIXME( usaxena95): Collect includes and other code regions (e.g.
179179// public/private/protected sections of classes, control flow statement bodies).
180180// Related issue: https://github.com/clangd/clangd/issues/310
181181llvm::Expected<std::vector<FoldingRange>>
Original file line number Diff line number Diff line change @@ -387,8 +387,8 @@ class RangePairer {
387387 }
388388
389389 if (C.End .Kind != tok::pp_not_keyword) {
390- Range = {Last, C.End .Tokens .Begin };
391- Ranges.push_back (Range);
390+ Range = {Last, C.End .Tokens .Begin };
391+ Ranges.push_back (Range);
392392 }
393393
394394 for (const auto &B : C.Branches )
You can’t perform that action at this time.
0 commit comments