Skip to content

Commit ca4827f

Browse files
committed
[clang] Add features.json entry for "print-headers-direct-per-file"
Swift Build needs to know when "-header-include-filtering=direct-per-file" is supported by Clang. We already added a fake feature flag in Swift Build based on a check of the Apple Clang version number. Adding a real entry in features.json will let us replace that hack. rdar://161691058
1 parent 5c7af2f commit ca4827f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/tools/driver/features.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
},
4141
{
4242
"name": "extract-api-supports-cpp"
43+
},
44+
{
45+
"name": "print-headers-direct-per-file"
4346
}
4447
]
4548
}

0 commit comments

Comments
 (0)