mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 00:50:03 +08:00
Fix line endings.
llvm-svn: 163865
This commit is contained in:
@@ -573,11 +573,11 @@ CodeGenVTables::CreateVTableInitializer(const CXXRecordDecl *RD,
|
||||
if (cast<CXXMethodDecl>(GD.getDecl())->isPure()) {
|
||||
// We have a pure virtual member function.
|
||||
if (!PureVirtualFn) {
|
||||
llvm::FunctionType *Ty =
|
||||
llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false);
|
||||
StringRef PureCallName = CGM.getCXXABI().GetPureVirtualCallName();
|
||||
PureVirtualFn = CGM.CreateRuntimeFunction(Ty, PureCallName);
|
||||
PureVirtualFn = llvm::ConstantExpr::getBitCast(PureVirtualFn,
|
||||
llvm::FunctionType *Ty =
|
||||
llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false);
|
||||
StringRef PureCallName = CGM.getCXXABI().GetPureVirtualCallName();
|
||||
PureVirtualFn = CGM.CreateRuntimeFunction(Ty, PureCallName);
|
||||
PureVirtualFn = llvm::ConstantExpr::getBitCast(PureVirtualFn,
|
||||
CGM.Int8PtrTy);
|
||||
}
|
||||
Init = PureVirtualFn;
|
||||
|
||||
Reference in New Issue
Block a user