[clang] Extend -Wnonportable-include-path with a warning about trailing whitespace or dots (PR #96960)

Tobias Mayer via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 08:39:39 PDT 2024


================
@@ -0,0 +1,11 @@
+// REQUIRES: case-insensitive-filesystem
----------------
tobias-mayer wrote:

I wasn't sure about this but I think I could remove that.
The behavior should be as follows:
- Linux: You get the new warning and a file not found error.
- Windows: You only get the new warning as the file is still found.
- Mac: Warning + error just as on Linux. Case sensitivity shouldn't matter in both cases.

https://github.com/llvm/llvm-project/pull/96960


More information about the cfe-commits mailing list