CodeGen: refactor the ObjC cstring literal creation
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 16 Sep 2016 23:41:13 +0000 (23:41 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 16 Sep 2016 23:41:13 +0000 (23:41 +0000)
commit271106cbb9d1ed70d6e57b72612b6653ba20fb10
treed6a884dbd53a7af47632cff6d9a9f8855f31c9a6
parentd8e3ac318520a98f61c8f3d73f4f2d92b4b56d53
CodeGen: refactor the ObjC cstring literal creation

This refactors the cstring literal creation as mentioned in the couple of FIXMEs
littered in the various invocations to CreateMetadataVar.  This centralises the
definition of the literals, and will enable changing the literal creation to a
single site.  NFC.

llvm-svn: 281798
clang/lib/CodeGen/CGObjCMac.cpp