[TableGen] Replace some calls to ListInit::getSize() with ListInit::empty() if it...
authorCraig Topper <craig.topper@gmail.com>
Thu, 14 May 2015 05:53:53 +0000 (05:53 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 14 May 2015 05:53:53 +0000 (05:53 +0000)
commitbbf57b36bbfbfe6c4167751919f5bfd8a141036b
tree9e4dc4be17ecf1cf0a27b87d9192d7c6c826a3f0
parente6fb4ac3ede296a3f7ec78ebab1e75e185912013
[TableGen] Replace some calls to ListInit::getSize() with ListInit::empty() if it was just comparing to 0. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237340 91177308-0d34-0410-b5e6-96231b3b80d8
lib/TableGen/Record.cpp
lib/TableGen/TGParser.cpp
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenMapTable.cpp