diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-12 17:32:42 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-12 17:32:42 +0000 |
commit | 496ddcfba9c1aa0f97940174b3b9e7aa0fabc62b (patch) | |
tree | 1dafa336fd176960679dbcb9e0e4569502e3f08e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 9155be1e5436eedde45a8a58a924e611b5e738b7 (diff) | |
download | bcm5719-llvm-496ddcfba9c1aa0f97940174b3b9e7aa0fabc62b.tar.gz bcm5719-llvm-496ddcfba9c1aa0f97940174b3b9e7aa0fabc62b.zip |
C++1y: support for 'switch' statements in constexpr functions. This is somewhat
inefficient; we perform a linear scan of switch labels to find the one matching
the condition, and then walk the body looking for that label. Both parts should
be straightforward to optimize.
llvm-svn: 181671
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions