diff options
| author | Reid Kleckner <rnk@google.com> | 2018-08-17 22:18:56 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2018-08-17 22:18:56 +0000 |
| commit | 8a2eba80a7382339a70c7107f4bee0def03a1cd0 (patch) | |
| tree | e8a99d2dd7d1c0502f15bb5d8c2ba6398d10431a /clang/lib/CodeGen/CGLoopInfo.cpp | |
| parent | 786ae53d2b1ae5dd8f425cee22cd619c6fd5bcf8 (diff) | |
| download | bcm5719-llvm-8a2eba80a7382339a70c7107f4bee0def03a1cd0.tar.gz bcm5719-llvm-8a2eba80a7382339a70c7107f4bee0def03a1cd0.zip | |
Merging r340101:
------------------------------------------------------------------------
r340101 | rnk | 2018-08-17 15:11:31 -0700 (Fri, 17 Aug 2018) | 14 lines
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: 340103
Diffstat (limited to 'clang/lib/CodeGen/CGLoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions

