From: NAKAMURA Takumi Date: Fri, 30 Oct 2015 16:37:27 +0000 (+0000) Subject: CGExprConstant.cpp: Appease Modules. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d07229c7b371022fabd1d039725df4e87094bca2;p=clang CGExprConstant.cpp: Appease Modules. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index bbd04dd751..c97739915d 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -1038,7 +1038,7 @@ public: unsigned Type = cast(E)->getIdentType(); if (CGF) { LValue Res = CGF->EmitPredefinedLValue(cast(E)); - return cast(Res.getAddress()); + return llvm::cast(Res.getAddress()); } else if (Type == PredefinedExpr::PrettyFunction) { return CGM.GetAddrOfConstantCString("top level", ".tmp"); }