Details
Details
- Reviewers
ChuanqiXu - Commits
- rG17a90f1196c1: Tighten up a modules test
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I looked at this test only because it caused a merge conflict downstream. While it does work, it will not catch some kinds of mistakes; by being less specific in the "not" checks, it will catch more potential problems.
clang/test/CXX/module/basic/basic.def.odr/p4.cppm | ||
---|---|---|
5 | Note the typo "unused_sta*s*tic_global_module" | |
88 | This CHECK-NOT is overly specific. For example, |
Note the typo "unused_sta*s*tic_global_module"
Simpler to reject all "unused" strings.