diff options
author | Richard Trieu <rtrieu@google.com> | 2015-03-18 21:52:47 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2015-03-18 21:52:47 +0000 |
commit | 948bd5e2316e647f83c30a0016c3749cb72eb0df (patch) | |
tree | aff881beaa87b1a762ff1bf38f3f2b67427fa348 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2cf4d5f31204c873d76953bfe3c8b5602b29e789 (diff) | |
download | llvm-948bd5e2316e647f83c30a0016c3749cb72eb0df.zip llvm-948bd5e2316e647f83c30a0016c3749cb72eb0df.tar.gz llvm-948bd5e2316e647f83c30a0016c3749cb72eb0df.tar.bz2 |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions