aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGCall.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/CodeGen/CGCall.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/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index d69455d..e6a5fd1 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -1805,8 +1805,6 @@ void CodeGenModule::getDefaultFunctionAttributes(StringRef Name,
if (AttrOnCallSite) {
// Attributes that should go on the call site only.
- // FIXME: Look for 'BuiltinAttr' on the function rather than re-checking
- // the -fno-builtin-foo list.
if (!CodeGenOpts.SimplifyLibCalls || LangOpts.isNoBuiltinFunc(Name))
FuncAttrs.addAttribute(llvm::Attribute::NoBuiltin);
if (!CodeGenOpts.TrapFuncName.empty())