[all-commits] [llvm/llvm-project] f6a5ab: Use builtin recognition to detect std::move / std:...

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Apr 21 14:21:28 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6a5ab6c8c316fa4f60e40030586e230920a63ea
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2022-04-21 (Thu, 21 Apr 2022)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/AST/Expr.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaCXX/unqualified-std-call-fixits.cpp
    M clang/test/SemaCXX/unqualified-std-call.cpp
    M clang/test/SemaCXX/warn-self-move.cpp

  Log Message:
  Use builtin recognition to detect std::move / std::forward.

Replaces some prior ad-hoc detection strategies and generally cleans up
a little. No functional change intended.

More information about the All-commits mailing list