]> granicus.if.org Git - clang/commit
CodeGen: centralise label construction for method lists
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 24 Oct 2016 20:47:58 +0000 (20:47 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 24 Oct 2016 20:47:58 +0000 (20:47 +0000)
commit7d8886efd2787f576ddf3dcd743b33988dbd7996
tree9ed3b52786408ba9a53ae1576f5417f349d1b7b2
parent83cbe6f37d690b774f9dad27ea470b9404ce7dce
CodeGen: centralise label construction for method lists

Move all the label construction for the various method list emission into
EmitMethodList.  Rather than have all the names be constructed in pieces in all
of the callers of EmitMethodList, have this occur in one site.  This also makes
the calls much easier to understand as we simplify identify the type of the
method list being emitted and the interface name for which it is being emitted.
NFC.

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