Add getAsUnquotedString
authorDavid Greene <greened@obbligato.org>
Wed, 10 Aug 2011 18:27:45 +0000 (18:27 +0000)
committerDavid Greene <greened@obbligato.org>
Wed, 10 Aug 2011 18:27:45 +0000 (18:27 +0000)
commit0b18d59435a7c01a433ac69845e6d8e1ad66ce8b
treec7475fe1d4a0157ad02788e8183d82fd1585ef35
parent7cb3dcb927a8f8a872cdf309f78cd80e197d2f14
Add getAsUnquotedString

Add a method to return an Init as an unquoted string.  This primarily
affects StringInit where we return the value without surrounding it
with quotes.

This is in preparation for removing the ugly #NAME# hack and replacing
it with standard TabelGen operators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137231 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/Record.h