Commit f5e126d
committed
[Clang] Fix a regression introduced by llvm#140576
Lambda bodies should not be treated as subexpressions of the
enclosing scope.1 parent 2f66e5f commit f5e126d
File tree
2 files changed
+10
-3
lines changed- clang
- lib/Sema
- test/CXX/stmt.stmt/stmt.select/stmt.if
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17777 | 17777 | | |
17778 | 17778 | | |
17779 | 17779 | | |
17780 | | - | |
17781 | | - | |
| 17780 | + | |
17782 | 17781 | | |
17783 | 17782 | | |
17784 | 17783 | | |
17785 | 17784 | | |
17786 | | - | |
| 17785 | + | |
17787 | 17786 | | |
17788 | 17787 | | |
17789 | 17788 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
211 | 219 | | |
212 | 220 | | |
213 | 221 | | |
0 commit comments