summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2016-08-30 23:07:14 +0000
committerDevin Coughlin <dcoughlin@apple.com>2016-08-30 23:07:14 +0000
commit184996bbb4b82ad947507365e55afc5bcca4836d (patch)
tree27ea95274227da55f6ca6dc1a27c6f1a9b5e994e /llvm/lib/Transforms
parentf6275a08ef01f39b7a7c788657c7e1c34013fe9e (diff)
downloadbcm5719-llvm-184996bbb4b82ad947507365e55afc5bcca4836d.tar.gz
bcm5719-llvm-184996bbb4b82ad947507365e55afc5bcca4836d.zip
[analyzer] Use lazily created buffer in EmptyLocalizationContextChecker
Fix a crash when relexing the underlying memory buffer to find incorrect arguments to NSLocalizedString(). With precompiled headers, the raw buffer may be NULL. Instead, use the source manager to get the buffer, which will lazily create the buffer for precompiled headers. rdar://problem/27429091 llvm-svn: 280174
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud