diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2016-08-30 23:07:14 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2016-08-30 23:07:14 +0000 |
commit | 184996bbb4b82ad947507365e55afc5bcca4836d (patch) | |
tree | 27ea95274227da55f6ca6dc1a27c6f1a9b5e994e /llvm/lib/Transforms | |
parent | f6275a08ef01f39b7a7c788657c7e1c34013fe9e (diff) | |
download | bcm5719-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