| commit | 948bd5e2316e647f83c30a0016c3749cb72eb0df | [log] [tgz] |
|---|---|---|
| author | Richard Trieu <rtrieu@google.com> | Wed Mar 18 21:52:47 2015 +0000 |
| committer | Richard Trieu <rtrieu@google.com> | Wed Mar 18 21:52:47 2015 +0000 |
| tree | aff881beaa87b1a762ff1bf38f3f2b67427fa348 | |
| parent | 2cf4d5f31204c873d76953bfe3c8b5602b29e789 [diff] |
When cloning LocalInstantiationScope's, don't update the current scope in Sema. Construction of LocalInstantiationScope automatically updates the current scope inside Sema. However, when cloning a scope, the current scope does not change. Change the cloning function to preserve the current scope. Review: http://reviews.llvm.org/D8407 BUG: https://llvm.org/bugs/show_bug.cgi?id=22931 llvm-svn: 232675