[PATCH] D75901: [clang-tidy] misc-unconventional-assign-operator suggest to use rvalue references in C++03 mode

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 10 10:53:06 PDT 2020


MaskRay added a comment.

In D75901#1914254 <https://reviews.llvm.org/D75901#1914254>, @njames93 wrote:

> Please add a test case for this


More concretely, a `check_clang_tidy -std=c++98` test in `test/clang-tidy/checkers/misc-unconventional-assign-operator.cpp`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75901/new/

https://reviews.llvm.org/D75901





More information about the cfe-commits mailing list