Skip to content

Commit 0f1accd

Browse files
[clangd] Drop const from a return type (NFC) (#146707)
We don't need const on the return type.
1 parent 4461de2 commit 0f1accd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,9 @@ struct ParsedBinaryOperator {
359359
// + c <- End
360360
// / \
361361
// a b <- Start
362-
const SourceRange getBinaryOperatorRange(const SelectionTree::Node &N,
363-
const SourceManager &SM,
364-
const LangOptions &LangOpts) {
362+
SourceRange getBinaryOperatorRange(const SelectionTree::Node &N,
363+
const SourceManager &SM,
364+
const LangOptions &LangOpts) {
365365
// If N is not a suitable binary operator, bail out.
366366
ParsedBinaryOperator Op;
367367
if (!Op.parse(N.ignoreImplicit()) || !Op.associative() ||

0 commit comments

Comments
 (0)