aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ASTMerge.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2015-04-28 17:58:47 +0000
committerSerge Pavlov <sepavloff@gmail.com>2015-04-28 17:58:47 +0000
commit907233fd99182cf9ca794bec7bc974939dd1c4ed (patch)
tree55f2a328788fa2d08c17db9f7b5a32dc0099fa0f /clang/lib/Frontend/ASTMerge.cpp
parent96301d2455e658aae00d99e3ad8ca65abc92a04c (diff)
downloadllvm-907233fd99182cf9ca794bec7bc974939dd1c4ed.zip
llvm-907233fd99182cf9ca794bec7bc974939dd1c4ed.tar.gz
llvm-907233fd99182cf9ca794bec7bc974939dd1c4ed.tar.bz2
Combine instantiation context of field initializer with context of class.
Inclass initializer is instantiated in its own LocalInstantiationScope. It causes problems when instantiating local classes - when instantiation scope is searched for DeclContext of the field, the search fails. As a solution, the instantiation scope of field initializer is combined with its outer scope. This patch fixes PR23194. Differential Revision: http://reviews.llvm.org/D9258 llvm-svn: 236005
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions