================ @@ -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<DiagGroup<"nonportable-include-path">>; + InGroup<NonportablePath>; +def pp_nonportable_path_trailing_whitespace : Warning< + "non-portable path to file '%0'; specified path contains trailing" + "whitespace or dots">, ---------------- tobias-mayer wrote:
Sounds good. How should we handle a case like ` #include "test.h.. .. "` where we have both? Should we add a third option complaining about both or just pick whatever is the last character? https://github.com/llvm/llvm-project/pull/96960 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits