Lines Matching full:comment
1 # Bad comment prefixes are diagnosed.
3 # Check empty comment prefix.
5 RUN: -comment-prefixes= | \
8 RUN: -comment-prefixes=,FOO | \
11 RUN: -comment-prefixes=FOO, | \
14 RUN: -comment-prefixes=FOO,,BAR | \
16 PREFIX-EMPTY: error: supplied comment prefix must not be the empty string
18 # Check invalid characters in comment prefix.
20 RUN: -comment-prefixes=. | \
23 RUN: -comment-prefixes='foo ' | \
25 PREFIX-BAD-CHAR1: error: supplied comment prefix must start with a letter and contain only alphanum…
26 PREFIX-BAD-CHAR2: error: supplied comment prefix must start with a letter and contain only alphanum…
28 # Check duplicate comment prefixes.
30 RUN: -comment-prefixes=FOO,BAR,BAZ,BAR | \
31 RUN: FileCheck -check-prefix=COMMENT-PREFIX-DUP %s
32 COMMENT-PREFIX-DUP: error: supplied comment prefix must be unique among check and comment prefixes:…
34 # Check user-supplied check prefix that duplicates a default comment prefix.
41 CHECK-PREFIX-DUP-COM: error: supplied check prefix must be unique among check and comment prefixes:…
42 CHECK-PREFIX-DUP-RUN_: error: supplied check prefix must be unique among check and comment prefixes…
44 # Check user-supplied comment prefix that duplicates default check prefixes.
46 RUN: -comment-prefixes=CHECK | \
47 RUN: FileCheck -check-prefix=COMMENT-PREFIX-DUP-CHECK %s
48 COMMENT-PREFIX-DUP-CHECK: error: supplied comment prefix must be unique among check and comment pre…