Commit 18a0313
committed
[Sema] Fix strict ordering in overload candidate comparisons
This is a follow-up to febf5c9 and
another instance of llvm#64121.
The added test only fails if Clang is built with libc++ and a enabled
debug check for strict weak ordering.1 parent fe7b5e2 commit 18a0313
File tree
2 files changed
+20
-3
lines changed- clang
- lib/Sema
- test/SemaCXX
2 files changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12107 | 12107 | | |
12108 | 12108 | | |
12109 | 12109 | | |
12110 | | - | |
12111 | | - | |
12112 | | - | |
| 12110 | + | |
| 12111 | + | |
| 12112 | + | |
| 12113 | + | |
| 12114 | + | |
| 12115 | + | |
12113 | 12116 | | |
12114 | 12117 | | |
12115 | 12118 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
0 commit comments