@@ -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 ne
@@ -361,7 +361,11 @@ class NonportablePath : Warning<
"non-portable path to file '%0'; specified path differs in case from file"
" name on disk">;
def pp_nonportable_path : NonportablePath,
- InGroup>;
+ InGroup;
+def pp_nonportable_path_trailing_whitespace : Warning<
+
https://github.com/tobias-mayer updated
https://github.com/llvm/llvm-project/pull/96960
>From 4118e37219390d8757720e62d0bdf058636d0273 Mon Sep 17 00:00:00 2001
From: Tobias Mayer
Date: Thu, 27 Jun 2024 22:04:55 +0200
Subject: [PATCH] add warning about trailing whitespace or dots in include
pat
https://github.com/tobias-mayer created
https://github.com/llvm/llvm-project/pull/96960
Resolves #96064
Extends `-Wnonportable-include-path` with a warning about trailing whitespace
or dots in include paths.
![Screenshot from 2024-06-27
22-10-26](https://github.com/llvm/llvm-project/assets/