'ignore-non-existent-contents' stopped working after r342232 in a way that the actual attribute value isn't used and it works as if it is always `true`. Common use case for VFS iteration is iterating through files in umbrella directories for modules. Ability to detect if some VFS entries point to non-existing files is nice but non-critical. Instead of adding back support for `'ignore-non-existent-contents': false` I am removing the attribute, because such scenario isn't used widely enough and stricter checks don't provide enough value to justify the maintenance. rdar://problem/45176119 Reviewers: bruno Reviewed By: bruno Subscribers: hiraditya, dexonsmith, sammccall, cfe-commits Differential Revision: https://reviews.llvm.org/D53228 llvm-svn: 345212
39 lines
870 B
YAML
39 lines
870 B
YAML
{
|
|
'version': 0,
|
|
'case-sensitive': 'false',
|
|
'roots': [
|
|
{
|
|
'type': 'directory',
|
|
'name': "VDIR/Bar.framework/Headers",
|
|
'contents': [
|
|
{
|
|
'type': 'file',
|
|
'name': "A.h",
|
|
'external-contents': "OUT_DIR/Bar.framework/Headers/A.h"
|
|
},
|
|
{
|
|
'type': 'file',
|
|
'name': "B.h",
|
|
'external-contents': "OUT_DIR/Bar.framework/Headers/B.h"
|
|
},
|
|
{
|
|
'type': 'file',
|
|
'name': "C.h",
|
|
'external-contents': "OUT_DIR/Bar.framework/Headers/C.h"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
'type': 'directory',
|
|
'name': "VDIR/Bar.framework/Modules",
|
|
'contents': [
|
|
{
|
|
'type': 'file',
|
|
'name': "module.modulemap",
|
|
'external-contents': "OUT_DIR/Bar.framework/Modules/module.modulemap"
|
|
}
|
|
]
|
|
},
|
|
]
|
|
}
|