From cd21d541397eadab33d94b3a0c476f96afc3477f Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 30 Nov 2016 23:15:55 +0000 Subject: 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/CodeGenModule.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.h') diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 7def77479cb..c7ef80edb67 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -434,13 +434,6 @@ private: /// int * but is actually an Obj-C class pointer. llvm::WeakVH CFConstantStringClassRef; - /// Cached reference to the class for constant strings. This value has type - /// int * but is actually an Obj-C class pointer. - llvm::WeakVH ConstantStringClassRef; - - /// \brief The LLVM type corresponding to NSConstantString. - llvm::StructType *NSConstantStringType = nullptr; - /// \brief The type used to describe the state of a fast enumeration in /// Objective-C's for..in loop. QualType ObjCFastEnumerationStateType; -- cgit v1.2.3