diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2020-05-11 19:39:49 -0400 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2020-05-11 19:41:22 -0400 |
commit | d0e7fd6b624b1943f3780a69883690017d2efad2 (patch) | |
tree | 2cd27cfafd4ff456503d4687d95db0ca08d59096 /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 18324bb3d9175d000c6b83e3383a8feecfafdfed (diff) | |
download | llvm-d0e7fd6b624b1943f3780a69883690017d2efad2.zip llvm-d0e7fd6b624b1943f3780a69883690017d2efad2.tar.gz llvm-d0e7fd6b624b1943f3780a69883690017d2efad2.tar.bz2 |
Revert "[FileCheck] Support comment directives"
This reverts commit 9a9a5f9893c8db05cebc8818eb8485bff61f7c74 to try to
fix a bot:
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/23489
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
-rw-r--r-- | llvm/utils/FileCheck/FileCheck.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/utils/FileCheck/FileCheck.cpp b/llvm/utils/FileCheck/FileCheck.cpp index 3ee7c5a..46821ec 100644 --- a/llvm/utils/FileCheck/FileCheck.cpp +++ b/llvm/utils/FileCheck/FileCheck.cpp @@ -44,14 +44,6 @@ static cl::alias CheckPrefixesAlias( cl::desc( "Alias for -check-prefix permitting multiple comma separated values")); -static cl::list<std::string> CommentPrefixes( - "comment-prefixes", cl::CommaSeparated, cl::Hidden, - cl::desc("Comma-separated list of comment prefixes to use from check file\n" - "(defaults to 'COM,RUN'). Please avoid using this feature in\n" - "LLVM's LIT-based test suites, which should be easier to\n" - "maintain if they all follow a consistent comment style. This\n" - "feature is meant for non-LIT test suites using FileCheck.")); - static cl::opt<bool> NoCanonicalizeWhiteSpace( "strict-whitespace", cl::desc("Do not treat all horizontal whitespace as equivalent")); @@ -287,8 +279,6 @@ std::string GetCheckTypeAbbreviation(Check::FileCheckType Ty) { return "label"; case Check::CheckEmpty: return "empty"; - case Check::CheckComment: - return "com"; case Check::CheckEOF: return "eof"; case Check::CheckBadNot: @@ -575,9 +565,6 @@ int main(int argc, char **argv) { for (StringRef Prefix : CheckPrefixes) Req.CheckPrefixes.push_back(Prefix); - for (StringRef Prefix : CommentPrefixes) - Req.CommentPrefixes.push_back(Prefix); - for (StringRef CheckNot : ImplicitCheckNot) Req.ImplicitCheckNot.push_back(CheckNot); |