diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-02 22:21:05 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-02 22:21:05 +0000 |
commit | 658a20b04d4e62d86f9fba163b85c506115b0074 (patch) | |
tree | 482559804753c35bfbdc279b862771373b0004b0 /clang/tools/c-index-test/c-index-test.c | |
parent | 19173a39d33ffccc266215a0dc417484768c2378 (diff) | |
download | bcm5719-llvm-658a20b04d4e62d86f9fba163b85c506115b0074.tar.gz bcm5719-llvm-658a20b04d4e62d86f9fba163b85c506115b0074.zip |
Try simplifying LexicalScopes ownership again.
Committed initially in r207724-r207726 and reverted due to compiler-rt
crashes in r207732.
Instead, fix this harder with unordered_map and store the LexicalScopes
by value in the map. This did necessitate moving the definition of
LexicalScope above the definition of LexicalScopes.
Let's see how the buildbots/compilers tolerate unordered_map::emplace +
std::piecewise_construct + std::forward_as_tuple...
llvm-svn: 207876
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions