diff options
author | Ben Langmuir <blangmuir@apple.com> | 2016-02-04 00:55:24 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2016-02-04 00:55:24 +0000 |
commit | f5416740fc923ed6b24784c8ce73ccf57b6edbbd (patch) | |
tree | b038c3a830f1cf7900833848e3ddf052e84c5e63 /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp | |
parent | cb91e7d395d3f6995061d348717b717448c18503 (diff) | |
download | bcm5719-llvm-f5416740fc923ed6b24784c8ce73ccf57b6edbbd.tar.gz bcm5719-llvm-f5416740fc923ed6b24784c8ce73ccf57b6edbbd.zip |
Fix predefine for __NSConstantString struct type
Per review feedback the name was wrong and it can be used outside
Objective-C.
Unfortunately, making the internal struct visible broke some ASTMatchers
tests that assumed that the first record decl would be from user code,
rather than a builtin type. I'm worried that this will also affect
users' code. So this patch adds a typedef to wrap the internal struct
and only makes the typedef visible to namelookup. This is sufficient to
allow the ASTReader to merge the decls we need without making the struct
itself visible.
rdar://problem/24425801
llvm-svn: 259734
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp')
0 files changed, 0 insertions, 0 deletions