[all-commits] [llvm/llvm-project] e43c93: Don't treat 'T &forward(T&&)' as builtin.
Richard Smith via All-commits
all-commits at lists.llvm.org
Mon Apr 18 11:11:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e43c93dd63cca295ef26ab69cd305816a71d45fd
https://github.com/llvm/llvm-project/commit/e43c93dd63cca295ef26ab69cd305816a71d45fd
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2022-04-18 (Mon, 18 Apr 2022)
Changed paths:
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/test/SemaCXX/builtin-std-move.cpp
M libcxx/test/std/utilities/utility/forward/forward.fail.cpp
Log Message:
-----------
Don't treat 'T &forward(T&&)' as builtin.
This allows the standard library to diagnose it properly. Suppress
warning in libc++ testsuite for unused result of call to std::forward.
More information about the All-commits
mailing list