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

Alex Cameron via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 10 19:09:52 PDT 2020


tetsuo-cpp marked an inline comment as done.
tetsuo-cpp added a comment.

@njames93 @MaskRay 
Thanks for helping me with testing. I'll remember this for next time.

I also saw this pattern of retrieving `LangOptions` from an `ASTContext` in some other checks (`RedundantExpressionCheck` and `StaticAssertCheck`) but I didn't change them to use `getLangOpts` since the `ASTContext` is used for other stuff.


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

https://reviews.llvm.org/D75901





More information about the cfe-commits mailing list