This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Ignore unevaluated exprs in rvalue-reference-param-not-moved
ClosedPublic

Authored by ccotter on Mar 26 2023, 5:35 PM.

Details

Summary

Ignore unevaluated expressions in rvalue-reference-param-not-moved
check since they are not actual uses of a move().

Diff Detail

Event Timeline

ccotter created this revision.Mar 26 2023, 5:35 PM
Herald added a project: Restricted Project. · View Herald Transcript
ccotter requested review of this revision.Mar 26 2023, 5:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 26 2023, 5:35 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

I didn't update the release notes since this check is new.

This revision is now accepted and ready to land.Mar 26 2023, 11:29 PM
ccotter updated this revision to Diff 508865.Mar 27 2023, 6:48 PM
  • move to utility file

@PiotrZSL if you're happy with these changes, would you mind committing them for me? "Chris Cotter <ccotter14@bloomberg.net>"

PiotrZSL accepted this revision.Mar 27 2023, 11:29 PM