diff options
Diffstat (limited to 'clang-tidy/misc/MoveConstantArgumentCheck.cpp')
-rw-r--r-- | clang-tidy/misc/MoveConstantArgumentCheck.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tidy/misc/MoveConstantArgumentCheck.cpp b/clang-tidy/misc/MoveConstantArgumentCheck.cpp index 04812139..058ad2b8 100644 --- a/clang-tidy/misc/MoveConstantArgumentCheck.cpp +++ b/clang-tidy/misc/MoveConstantArgumentCheck.cpp @@ -83,8 +83,8 @@ void MoveConstantArgumentCheck::check(const MatchFinder::MatchResult &Result) { "has no effect; remove std::move()" "%select{| or make the variable non-const}3") << IsConstArg << IsVariable << IsTriviallyCopyable - << (IsConstArg && IsVariable && !IsTriviallyCopyable) - << Var << Arg->getType(); + << (IsConstArg && IsVariable && !IsTriviallyCopyable) << Var + << Arg->getType(); ReplaceCallWithArg(CallMove, Diag, SM, getLangOpts()); } else if (ReceivingExpr) { |