[PATCH] D141886: [Clang][Test] Avoid matching version numbers

2023-01-16 Thread Bryan Chan via Phabricator via cfe-commits
bryanpkc added a comment. Thanks for the patch. I just have some simple suggestions. Comment at: clang/test/Driver/modules-ts.cpp:23 // -// CHECK-USE: -cc1 +// CHECK-USE: -cc1{{[^[:xdigit:]]}} // CHECK-USE-SAME: -emit-obj An easier-to-understand fix is to

[PATCH] D141886: [Clang][Test] Avoid matching version numbers

2023-01-16 Thread hezuoqiang via Phabricator via cfe-commits
hzq created this revision. Herald added a project: All. hzq requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. If the version number starts with cc1, such as: clang-cc1514432c58 In the test case the `-cc1` option will match the version number