diff options
author | Reid Kleckner <rnk@google.com> | 2018-08-17 22:11:31 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-08-17 22:11:31 +0000 |
commit | 4c33d197fa77b9434a7e76d9ee80005de58a0026 (patch) | |
tree | 6922ab29026ea7ae2d149c45238b582382b3e80e /llvm/lib/Support/DebugCounter.cpp | |
parent | 26f6176f38fbe48df500ed08ff4ae1a11b1aa608 (diff) | |
download | bcm5719-llvm-4c33d197fa77b9434a7e76d9ee80005de58a0026.tar.gz bcm5719-llvm-4c33d197fa77b9434a7e76d9ee80005de58a0026.zip |
Don't warn on returning the address of a label from a statement expression
Summary:
There isn't anything inherently wrong with returning a label from a
statement expression. In practice, the Linux kernel uses this pattern to
materialize PCs.
Fixes PR38569
Reviewers: niravd, rsmith, nickdesaulniers
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D50805
llvm-svn: 340101
Diffstat (limited to 'llvm/lib/Support/DebugCounter.cpp')
0 files changed, 0 insertions, 0 deletions