| commit | ce6284b17984adfe4f04471cc034bf3964f85ea1 | [log] [tgz] |
|---|---|---|
| author | George Burgess IV <george.burgess.iv@gmail.com> | Sat Jan 28 02:19:40 2017 +0000 |
| committer | George Burgess IV <george.burgess.iv@gmail.com> | Sat Jan 28 02:19:40 2017 +0000 |
| tree | 9a17bf11709e9dcdd240f90fd3ab278339fdd7c0 | |
| parent | 8c209aa8779de57771b64896f805e14cc0016dcd [diff] |
Change how we handle diagnose_if attributes. This patch changes how we handle argument-dependent `diagnose_if` attributes. In particular, we now check them in the same place that we check for things like passing NULL to Nonnull args, etc. This is basically better in every way than how we were handling them before. :) This fixes PR31638, PR31639, and PR31640. Differential Revision: https://reviews.llvm.org/D28889 llvm-svn: 293360