diff options
| author | Jakub Wieczorek <jakub@jakub.cc> | 2014-07-13 15:12:47 +0200 |
|---|---|---|
| committer | Jakub Wieczorek <jakub@jakub.cc> | 2014-07-19 01:09:22 +0200 |
| commit | fba1194841fd8f31c3b93315b2cb53d1ce87fe98 (patch) | |
| tree | 72fc38463aa76578db29852e6ad7c7762abf1aa4 /src/rustllvm/RustWrapper.cpp | |
| parent | 7502b4cd6b10693cec6862f5951b1adf0c7657ab (diff) | |
| download | rust-fba1194841fd8f31c3b93315b2cb53d1ce87fe98.tar.gz rust-fba1194841fd8f31c3b93315b2cb53d1ce87fe98.zip | |
Add support for patterns referencing non-trivial statics
This is accomplished by rewriting static expressions into equivalent patterns. This way, patterns referencing static variables can both participate in exhaustiveness analysis as well as be compiled down into the appropriate branch of the decision trees that match expressions are codegened to. Fixes #6533. Fixes #13626. Fixes #13731. Fixes #14576. Fixes #15393.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
