<p dir="ltr">On Oct 30, 2015 6:39 AM, "NAKAMURA Takumi via cfe-commits" <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br>
><br>
> Author: chapuni<br>
> Date: Fri Oct 30 11:37:27 2015<br>
> New Revision: 251713<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=251713&view=rev">http://llvm.org/viewvc/llvm-project?rev=251713&view=rev</a><br>
> Log:<br>
> CGExprConstant.cpp: Appease Modules.</p>
<p dir="ltr">Why? Please don't work around modules bugs to make the buildbot green; the purpose of the bot is to find those bugs.</p>
<p dir="ltr">> Modified:<br>
>     cfe/trunk/lib/CodeGen/CGExprConstant.cpp<br>
><br>
> Modified: cfe/trunk/lib/CodeGen/CGExprConstant.cpp<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprConstant.cpp?rev=251713&r1=251712&r2=251713&view=diff">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprConstant.cpp?rev=251713&r1=251712&r2=251713&view=diff</a><br>
> ==============================================================================<br>
> --- cfe/trunk/lib/CodeGen/CGExprConstant.cpp (original)<br>
> +++ cfe/trunk/lib/CodeGen/CGExprConstant.cpp Fri Oct 30 11:37:27 2015<br>
> @@ -1038,7 +1038,7 @@ public:<br>
>        unsigned Type = cast<PredefinedExpr>(E)->getIdentType();<br>
>        if (CGF) {<br>
>          LValue Res = CGF->EmitPredefinedLValue(cast<PredefinedExpr>(E));<br>
> -        return cast<ConstantAddress>(Res.getAddress());<br>
> +        return llvm::cast<ConstantAddress>(Res.getAddress());<br>
>        } else if (Type == PredefinedExpr::PrettyFunction) {<br>
>          return CGM.GetAddrOfConstantCString("top level", ".tmp");<br>
>        }<br>
><br>
><br>
> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</p>