Skip to content

Commit 7b48b5d

Browse files
committed
formatting
1 parent 0b63c7d commit 7b48b5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang-tools-extra/clangd/SemanticSelection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
181181
llvm::Expected<std::vector<FoldingRange>>

clang-tools-extra/clangd/support/DirectiveTree.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)