OSDN Git Service

[FileCheck] Add --check-prefixes as a shorthand for multiple --check-prefix options.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 14 Jun 2016 14:28:04 +0000 (14:28 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 14 Jun 2016 14:28:04 +0000 (14:28 +0000)
commitded43983804c04d019c359b2ab9798c93811b033
tree70de4e31730c0afdfe89e01ca16273a05e2a2eab
parent659228b9db0cd8dc27ec27064d9860f5a5a6427a
[FileCheck] Add --check-prefixes as a shorthand for multiple --check-prefix options.

Summary:
This new alias takes a comma separated list of prefixes which allows
'--check-prefix=A --check-prefix=B --check-prefix=C' to be written as
'--check-prefixes=A,B,C'.

Reviewers: probinson

Subscribers: probinson, llvm-commits, dsanders

Differential Revision: http://reviews.llvm.org/D21293

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272670 91177308-0d34-0410-b5e6-96231b3b80d8
test/FileCheck/check-multiple-prefixes-mixed.txt
test/FileCheck/check-multiple-prefixes-nomatch-2.txt
test/FileCheck/check-multiple-prefixes-nomatch.txt
test/FileCheck/multiple-missing-prefixes.txt
utils/FileCheck/FileCheck.cpp