diff options
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
-rw-r--r-- | lib/CodeGen/CGExprConstant.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index 15dab8faf7..651a283baa 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -614,6 +614,9 @@ public: std::string S(Literal->getStrData(), Literal->getByteLength()); return CGM.GetAddrOfConstantCFString(S); } + case Expr::BlockExprClass: { + return CGF->BuildBlockLiteralTmp(cast<BlockExpr>(E)); + } } return 0; |