[all-commits] [llvm/llvm-project] 9a1860: [clang][Lex] add -Wnonportable-include-path-separa...
Rose Hudson via All-commits
all-commits at lists.llvm.org
Tue Apr 7 07:45:45 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a1860c45a915328b392fa1af0bbc75dbe96af7f
https://github.com/llvm/llvm-project/commit/9a1860c45a915328b392fa1af0bbc75dbe96af7f
Author: Rose Hudson <rose.hudson at sony.com>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/SourceManager.h
M clang/lib/Lex/PPDirectives.cpp
A clang/test/Lexer/backslash-include-win.c
Log Message:
-----------
[clang][Lex] add -Wnonportable-include-path-separator (#186770)
Emit an warning when #include paths contain backslashes, with a fixit to
convert them all to '/'. This can help users that build only on Windows
to automatically make their #includes more portable. The warning is off
by default due to being noisy and not always desirable.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list