OSDN Git Service

Fix error in tablegen when either operand of !if is an empty list.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 10 Jun 2014 20:10:08 +0000 (20:10 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 10 Jun 2014 20:10:08 +0000 (20:10 +0000)
commit258e8223e621f56fb1b17af150dc1ac7d6ddcddd
tree4953932059981d9fa42beba32d9afcf71130d84f
parent1916157ef6d0e9126b6f1a48859e3254094205d3
Fix error in tablegen when either operand of !if is an empty list.

!if([Something], []) would error with "No type for list".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210572 91177308-0d34-0410-b5e6-96231b3b80d8
lib/TableGen/TGParser.cpp
lib/TableGen/TGParser.h
test/TableGen/if-empty-list-arg.td [new file with mode: 0644]