
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
6 lines
169 B
C
6 lines
169 B
C
// Used to test missing checker for missing localization context comments
|
|
// in precompiled headers.
|
|
|
|
#define MyLocalizedStringInPCH(key) NSLocalizedString((key), @"")
|
|
|