summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-09-14 01:19:01 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-09-14 01:19:01 +0000
commit48a32916758ac0250ad7dc325aaee7cbdce4c852 (patch)
treef6199930d7b1aa3952abb853f49c392b8e36c710
parent5527442d11de617d53ee925e6be41689446f9d89 (diff)
downloadbcm5719-llvm-48a32916758ac0250ad7dc325aaee7cbdce4c852.tar.gz
bcm5719-llvm-48a32916758ac0250ad7dc325aaee7cbdce4c852.zip
Fix line endings.
llvm-svn: 163865
-rw-r--r--clang/lib/CodeGen/CGVTables.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGVTables.cpp b/clang/lib/CodeGen/CGVTables.cpp
index cdaa26a2bad..afd58e8ae29 100644
--- a/clang/lib/CodeGen/CGVTables.cpp
+++ b/clang/lib/CodeGen/CGVTables.cpp
@@ -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;
OpenPOWER on IntegriCloud