diff options
| author | Zhihao Yuan <zy@miator.net> | 2018-03-17 21:42:10 +0000 |
|---|---|---|
| committer | Zhihao Yuan <zy@miator.net> | 2018-03-17 21:42:10 +0000 |
| commit | 52b5bf8ba9d476f5674aa6e7db714c8787ef9c65 (patch) | |
| tree | dde289ff2bbe1468e543bd09e5d5b93c1161e82b /llvm/test/CodeGen/Hexagon/builtin-prefetch-offset.ll | |
| parent | 33e90d160b1bcb3fa62be1242876403c12b85e8e (diff) | |
| download | bcm5719-llvm-52b5bf8ba9d476f5674aa6e7db714c8787ef9c65.tar.gz bcm5719-llvm-52b5bf8ba9d476f5674aa6e7db714c8787ef9c65.zip | |
[C++17] Allow an empty expression in an if init statement
Summary:
This fixes [PR35381](https://llvm.org/pr35381) and an additional bug where clang didn't warn about the C++17 extension when having an expression in the init statement.
Thanks Nicolas Lesser for contributing the patch.
Reviewers: rsmith
Reviewed By: rsmith
Subscribers: erik.pilkington, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D40445
llvm-svn: 327782
Diffstat (limited to 'llvm/test/CodeGen/Hexagon/builtin-prefetch-offset.ll')
0 files changed, 0 insertions, 0 deletions

