Debian Codegraph @

clang_delta/tests/remove_lit_checks.in

raw
1 #!@PERL_EXECUTABLE@
2 ## -*- mode: Perl -*-
3 ##
4 ## Copyright (c) 2018 The University of Utah
5 ## All rights reserved.
6 ##
7 ## This file is distributed under the University of Illinois Open Source
8 ## License. See the file COPYING for details.
9
10 ###############################################################################
11
12 use strict;
13 use warnings;
14
15 while (my $line = <>) {
16 chomp $line;
17 if ($line =~ m/^[\s\t]*\/\/[\s\t]*CHECK[:-]/ ||
18 $line =~ m/^[\s\t]*\/\/[\s\t]*RUN:/) {
19 #skip
20 }
21 else {
22 print "$line\n";
23 }
24 }
25
26 ###############################################################################
27
28 ## End of file.