aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorDavid Tenty <daltenty@ibm.com>2022-04-20 19:06:48 -0400
committerDavid Tenty <daltenty@ibm.com>2022-04-20 19:14:37 -0400
commit98d911e01f3ac62a9f78850b4209effcf2f54c91 (patch)
tree2cf7ce3385c6dbce5897f2c9bd448df8f0c94006 /clang/lib/Sema/SemaInit.cpp
parentde6ddaeef3aaa8a9ae3663c12cdb57d9afc0f906 (diff)
downloadllvm-98d911e01f3ac62a9f78850b4209effcf2f54c91.zip
llvm-98d911e01f3ac62a9f78850b4209effcf2f54c91.tar.gz
llvm-98d911e01f3ac62a9f78850b4209effcf2f54c91.tar.bz2
Revert "Treat `std::move`, `forward`, etc. as builtins."
This reverts commit b27430f9f46b88bcd54d992debc8d72e131e1bd0 as the parent https://reviews.llvm.org/D123345 breaks the AIX CI: https://lab.llvm.org/buildbot/#/builders/214/builds/819
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
-rw-r--r--clang/lib/Sema/SemaInit.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp
index 2a49627..c704822 100644
--- a/clang/lib/Sema/SemaInit.cpp
+++ b/clang/lib/Sema/SemaInit.cpp
@@ -8215,10 +8215,6 @@ ExprResult InitializationSequence::Perform(Sema &S,
CurInit = S.FixOverloadedFunctionReference(CurInit,
Step->Function.FoundDecl,
Step->Function.Function);
- // We might get back another placeholder expression if we resolved to a
- // builtin.
- if (!CurInit.isInvalid())
- CurInit = S.CheckPlaceholderExpr(CurInit.get());
break;
case SK_CastDerivedToBasePRValue: