summaryrefslogtreecommitdiffstats
path: root/llvm/utils/git-svn/git-llvm
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-12-06 19:21:10 +0000
committerVedant Kumar <vsk@apple.com>2017-12-06 19:21:10 +0000
commit606908aab53851d390a7a989779798216f91dadb (patch)
tree79347246f29f5a8f1737daf487c0ef0b7867620b /llvm/utils/git-svn/git-llvm
parent8465c38b1ecdb44eac9139a255f17eaae243b755 (diff)
downloadbcm5719-llvm-606908aab53851d390a7a989779798216f91dadb.tar.gz
bcm5719-llvm-606908aab53851d390a7a989779798216f91dadb.zip
Remove no-op function pointer null checks, NFC
Null-checking functions which aren't marked weak_import is a no-op (the compiler rewrites the check to 'true'), regardless of whether a library providing its definition is weak-linked. If the deployment target is greater than the minimum requirement, the availability markup on APIs does not lower to weak_import. Remove no-op null checks to clean up the code and silence warnings. Differential Revision: https://reviews.llvm.org/D40812 llvm-svn: 319936
Diffstat (limited to 'llvm/utils/git-svn/git-llvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud