]> granicus.if.org Git - clang/commitdiff
CGExprConstant.cpp: Appease Modules.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 30 Oct 2015 16:37:27 +0000 (16:37 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 30 Oct 2015 16:37:27 +0000 (16:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251713 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGExprConstant.cpp

index bbd04dd751485a61129778d2502550200bc00347..c97739915dac5c6ece4b130457f46e73508e3ec9 100644 (file)
@@ -1038,7 +1038,7 @@ public:
       unsigned Type = cast<PredefinedExpr>(E)->getIdentType();
       if (CGF) {
         LValue Res = CGF->EmitPredefinedLValue(cast<PredefinedExpr>(E));
-        return cast<ConstantAddress>(Res.getAddress());
+        return llvm::cast<ConstantAddress>(Res.getAddress());
       } else if (Type == PredefinedExpr::PrettyFunction) {
         return CGM.GetAddrOfConstantCString("top level", ".tmp");
       }