Fix some layering violations where CGObjCMac's NSString emission was
authorJohn McCall <rjmccall@apple.com>
Wed, 30 Nov 2016 23:15:55 +0000 (23:15 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 30 Nov 2016 23:15:55 +0000 (23:15 +0000)
commitcd21d541397eadab33d94b3a0c476f96afc3477f
treeb167a5825d4ee0a7d8e3e341f9560ce2286160cc
parent78a695321e9e760172f1ddf400809449902e0af3
Fix some layering violations where CGObjCMac's NSString emission was
performed at the CodeGenModule level.

Would be NFC except we now also use a different uniquing structure so
that we don't get spurious conflicts if you ask for both an NSString
and a CFString for the same content (which is possible with builtins).

llvm-svn: 288287
clang/lib/CodeGen/CGObjCMac.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h