diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-12-01 15:41:40 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-12-01 15:41:40 +0000 |
commit | 6ae2bfad8ae4459e286c88b4c5b5584c2577b317 (patch) | |
tree | 58a4f1fb32b331bb4b6bedbf39bfde9543ca740e /lib/CodeGen/CodeGenModule.cpp | |
parent | ce9602e2894244cc7e2915acfd50d783b2d4f949 (diff) |
Notes
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 155ee6c6af12..76112e191c71 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -320,8 +320,6 @@ void CodeGenModule::checkAliases() { assert(FTy); if (!FTy->getReturnType()->isPointerTy()) Diags.Report(Location, diag::err_ifunc_resolver_return); - if (FTy->getNumParams()) - Diags.Report(Location, diag::err_ifunc_resolver_params); } llvm::Constant *Aliasee = Alias->getIndirectSymbol(); |