File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
branches/snap-stage3/src/librustc/middle/trans Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: deeca5d586bfaa4aa60246f671a8d611d38f6248
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 184d39414d779b620fec719cbd8308960634b277
4
+ refs/heads/snap-stage3: 7eae649a015cd2e4c5764b2955edb7542410f1f1
5
5
refs/heads/try: b160761e35efcd1207112b3b782c06633cf441a8
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -2248,7 +2248,14 @@ fn populate_scope_map(cx: &mut CrateContext,
2248
2248
} )
2249
2249
}
2250
2250
2251
- walk_block ( cx, fn_entry_block, & mut scope_stack, scope_map) ;
2251
+ // Clang creates separate scope functions bodies, so let's do this too
2252
+ with_new_scope ( cx,
2253
+ fn_entry_block. span ,
2254
+ & mut scope_stack,
2255
+ scope_map,
2256
+ |cx, scope_stack, scope_map| {
2257
+ walk_block ( cx, fn_entry_block, scope_stack, scope_map) ;
2258
+ } ) ;
2252
2259
2253
2260
// local helper functions for walking the AST.
2254
2261
fn with_new_scope ( cx : & mut CrateContext ,
You can’t perform that action at this time.
0 commit comments