[cfe-commits] r163865 - /cfe/trunk/lib/CodeGen/CGVTables.cpp

João Matos ripzonetriton at gmail.com
Fri Sep 14 12:30:42 PDT 2012


This was my fault. Sorry.

On Fri, Sep 14, 2012 at 2:19 AM, Eli Friedman <eli.friedman at gmail.com>wrote:

> Author: efriedma
> Date: Thu Sep 13 20:19:01 2012
> New Revision: 163865
>
> URL: http://llvm.org/viewvc/llvm-project?rev=163865&view=rev
> Log:
> Fix line endings.
>
>
> Modified:
>     cfe/trunk/lib/CodeGen/CGVTables.cpp
>
> Modified: cfe/trunk/lib/CodeGen/CGVTables.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVTables.cpp?rev=163865&r1=163864&r2=163865&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CGVTables.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CGVTables.cpp Thu Sep 13 20:19:01 2012
> @@ -573,11 +573,11 @@
>        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;
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120914/94cbcbf2/attachment.html>


More information about the cfe-commits mailing list