aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2015-03-18 21:52:47 +0000
committerRichard Trieu <rtrieu@google.com>2015-03-18 21:52:47 +0000
commit948bd5e2316e647f83c30a0016c3749cb72eb0df (patch)
treeaff881beaa87b1a762ff1bf38f3f2b67427fa348 /clang/lib/CodeGen/CodeGenModule.cpp
parent2cf4d5f31204c873d76953bfe3c8b5602b29e789 (diff)
downloadllvm-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