mirror of
https://github.com/apple/swift.git
synced 2026-09-28 10:03:29 +02:00
The generated ObjC header spelled the bridging header path with native separators, so clang rejected it under -`Wnonportable-include-path-separator`. Run quoted include paths through `convert_to_slash`, which is a no-op off Windows. `-Wnonportable-include-path-separator` was added upstream in https://github.com/llvm/llvm-project/commit/9a1860c45a915328b392fa1af0bbc75dbe96af7f (https://github.com/llvm/llvm-project/pull/186770). `%check-in-clang-c` compiles the generated header with `-Weverything -Werror`, so on rebranch the backslashed include in the generated compatibility header is now a hard error.