Tblgen was generating syntactically illegal C++ code like:
authorJeff Cohen <jeffc@jolt-lang.org>
Wed, 4 Jan 2006 03:15:19 +0000 (03:15 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Wed, 4 Jan 2006 03:15:19 +0000 (03:15 +0000)
commitf356d70ec3a231ee760529fa1ca966f3e0b5161c
tree920a9500f5aa251e24f349c551a34dab0dec9cb2
parent84e1064f4584c20b839b9172c5c26c20b6ffb2fe
Tblgen was generating syntactically illegal C++ code like:

   SDOperand Tmp0,Tmp1,Tmp2,Tmp3,;

GCC has a bug (24907) in which is fails to catch this, but VC++ correctly
notes its illegality, so tblgen must be taught to only generate legal C++.

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