diff options
| author | Reid Kleckner <reid@kleckner.net> | 2015-04-20 20:00:49 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2015-04-20 20:00:49 +0000 |
| commit | b9ece24dfc0c600e495c7ff568654718be291cad (patch) | |
| tree | 73d3e1f1542c6f81aeab4676b9f1cf9d9a8a2074 /llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp | |
| parent | 69a7b91e953655a4da872133611485ca32239b68 (diff) | |
| download | llvm-b9ece24dfc0c600e495c7ff568654718be291cad.zip llvm-b9ece24dfc0c600e495c7ff568654718be291cad.tar.gz llvm-b9ece24dfc0c600e495c7ff568654718be291cad.tar.bz2 | |
Put statement expression decls in the enclosing code DeclContext
We already check that statement expressions are in a function or block,
but we didn't do anything with that information. Now we use that
DeclContext for the duration of the statement expression. Otherwise,
we'd treat statement expression locals as static data members and go
into the weeds.
llvm-svn: 235335
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions
