Commit 00fd188
authored
[C++20][Modules] static data members of template classes should be allowed in header units (#98309)
Summary:
There is no sense to report these cases as an error or add `inline`
explicitly in these cases, if it is not required in normal headers.
Similar to #60079.
Test Plan: check-clang1 parent a18f45f commit 00fd188
File tree
2 files changed
+12
-1
lines changed- clang
- lib/Sema
- test/CXX/module/module.import
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13313 | 13313 | | |
13314 | 13314 | | |
13315 | 13315 | | |
13316 | | - | |
| 13316 | + | |
| 13317 | + | |
13317 | 13318 | | |
13318 | 13319 | | |
13319 | 13320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
0 commit comments