diff options
| author | Reid Kleckner <rnk@google.com> | 2016-07-21 18:39:28 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2016-07-21 18:39:28 +0000 |
| commit | 3c944ec81ac4716cba307379929832aad333ba3f (patch) | |
| tree | 98dbfd48a1f1cf09504bf08e6b75558306a64f5c /llvm/test/Transforms/InstCombine/invariant.ll | |
| parent | db81b3e0b2babdc8b08c2e731ad2486f9a366f30 (diff) | |
| download | bcm5719-llvm-3c944ec81ac4716cba307379929832aad333ba3f.tar.gz bcm5719-llvm-3c944ec81ac4716cba307379929832aad333ba3f.zip | |
Fix MSVC 2015 compilation failure around range-for without curly braces
It doesn't appear to like this pattern:
for (auto X : Xs)
if (...) { ... }
else ...;
We have heard anecdotes that range based for loops are implemented as a
token rewrite in MSVC's lexer, and that the most challenging part of the
rewrite is finding the end of the for loop. That makes sense, given that
it's a lexer.
llvm-svn: 276315
Diffstat (limited to 'llvm/test/Transforms/InstCombine/invariant.ll')
0 files changed, 0 insertions, 0 deletions

