diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2017-05-05 16:42:44 +0000 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2017-05-05 16:42:44 +0000 |
| commit | 9c5c2bfe54bd491ab6e0f7fb5a3dfe33675339ad (patch) | |
| tree | 8c6c5a9f42cf99f06d52601a495509545a8ff6a1 /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 841b0907c466634af0ed94a3a1a7954b50d0b3a5 (diff) | |
| download | bcm5719-llvm-9c5c2bfe54bd491ab6e0f7fb5a3dfe33675339ad.tar.gz bcm5719-llvm-9c5c2bfe54bd491ab6e0f7fb5a3dfe33675339ad.zip | |
Add a fix-it for -Wunguarded-availability
This patch adds a fix-it for the -Wunguarded-availability warning. This fix-it
is similar to the Swift one: it suggests that you wrap the statement in an
`if (@available)` check. The produced fixits are indented (just like the Swift
ones) to make them look nice in Xcode's fix-it preview.
rdar://31680358
Differential Revision: https://reviews.llvm.org/D32424
llvm-svn: 302253
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions

