[PATCH] D134923: [clang][deps] Canonicalize module map path
Ben Langmuir via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 30 10:09:33 PDT 2022
benlangmuir updated this revision to Diff 464313.
benlangmuir added a comment.
Canonicalize path separator(s) in between the (already canonicalized directory) and the filename. This could cause issues with redundant path separators (`foo//bar`) or non-native separators (`foo/bar` vs `foo\bar` on Windows). Hopefully this was the only issue on Windows.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134923/new/
https://reviews.llvm.org/D134923
Files:
clang/include/clang/Lex/ModuleMap.h
clang/lib/Lex/HeaderSearch.cpp
clang/lib/Lex/ModuleMap.cpp
clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
clang/test/ClangScanDeps/modules-symlink-dir.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134923.464313.patch
Type: text/x-patch
Size: 10103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220930/1aafe95c/attachment.bin>
More information about the cfe-commits
mailing list