]> granicus.if.org Git - clang/commit
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)
commit8b92834be591fcc089c544886bc4249f29e3d216
tree8844661714dc506ed0fbe6500e5f8bf0db4a9bf7
parentb7e4b90ddd6cd0b060eb3468cd38cb7a3483777c
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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288287 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h