[TableGen] Let list elements have a trailing comma
authorJaved Absar <javed.absar@arm.com>
Tue, 26 Mar 2019 11:16:01 +0000 (11:16 +0000)
committerJaved Absar <javed.absar@arm.com>
Tue, 26 Mar 2019 11:16:01 +0000 (11:16 +0000)
commitc85cb2fb5d7533ef7dffe1e2729c003fa1c9574b
tree630f3317d40a0c9c4fa134cf2c9fff4b91ea0416
parent33888ff66b1950da4af2025da5d368f6a0038fd1
[TableGen] Let list elements have a trailing comma

Let lists have an trailing comma to allow cleaner diffs e.g:
  def : Features<[FeatureA,
                  FeatureB,
                 ]>;
Reviewed By: hfinkel
Differential Revision: https://reviews.llvm.org/D59247

llvm-svn: 356986
llvm/lib/TableGen/TGParser.cpp
llvm/test/TableGen/ListArgs.td