Commit 61eda0e
feat: Add Apple Framework header support for __has_include
Apple frameworks store headers under:
<Pkg.framework/Headers/MyHdr.h>
This patch extends `openHeader(...)` so that
`__has_include(<Pkg/MyHdr.h>)` resolves to the framework
layout. A new test `appleFrameworkHasIncludeTest` verifies
the behavior.
Note: this applies only to `__has_include`; plain `#include`
still uses the existing lookup logic.
Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>1 parent 538c5c4 commit 61eda0e
2 files changed
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3007 | 3007 | | |
3008 | 3008 | | |
3009 | 3009 | | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
| 3017 | + | |
| 3018 | + | |
| 3019 | + | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
| 3025 | + | |
| 3026 | + | |
| 3027 | + | |
| 3028 | + | |
| 3029 | + | |
| 3030 | + | |
| 3031 | + | |
| 3032 | + | |
| 3033 | + | |
3010 | 3034 | | |
3011 | 3035 | | |
3012 | 3036 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2131 | 2131 | | |
2132 | 2132 | | |
2133 | 2133 | | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
2134 | 2164 | | |
2135 | 2165 | | |
2136 | 2166 | | |
| |||
3359 | 3389 | | |
3360 | 3390 | | |
3361 | 3391 | | |
| 3392 | + | |
3362 | 3393 | | |
3363 | 3394 | | |
3364 | 3395 | | |
| |||
0 commit comments