Refactor TableGen's llvm::getName to share code with llvm::getEnumName,
authorBob Wilson <bob.wilson@apple.com>
Fri, 10 Jul 2009 22:25:24 +0000 (22:25 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 10 Jul 2009 22:25:24 +0000 (22:25 +0000)
commitbbf1caa46bc9726989f287f6c345ef8542a43237
tree3b17f3f528a99bc985fc58586f440e8aa7a8b81a
parent9be3fee2bdc3126fb87e4e1b31935905f4bcc4d0
Refactor TableGen's llvm::getName to share code with llvm::getEnumName,
since names are the same for almost all the types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75302 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenTarget.cpp