Skip to content

Commit 9828cf1

Browse files
committed
Handle vendor string in match for clang version string
1 parent e615544 commit 9828cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CodeGen/pragma-comment.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
// ELF-NOT: foo
3535
// This following match prevents the clang version metadata from matching the forbidden 'foo' and 'bar' tokens.
3636
// This can happen if the clang version string contains a Git repo URL that includes one of those substrings.
37-
// ELF-LABEL: !"clang version
37+
// ELF-LABEL: {{\!\".*clang version}}

0 commit comments

Comments
 (0)