diff options
author | Sam McCall <sam.mccall@gmail.com> | 2022-11-24 17:50:54 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2022-11-25 11:01:22 +0100 |
commit | 8bed59c7e7da2fea41a9167e15c15a8f58a5ede7 (patch) | |
tree | ec5712544b5781b1f90ae8207c3953c87028ced8 /llvm/lib/Support/TargetParser.cpp | |
parent | 2e5366ac2e05fb49ad4b62b86c23359ad95740bb (diff) | |
download | llvm-8bed59c7e7da2fea41a9167e15c15a8f58a5ede7.zip llvm-8bed59c7e7da2fea41a9167e15c15a8f58a5ede7.tar.gz llvm-8bed59c7e7da2fea41a9167e15c15a8f58a5ede7.tar.bz2 |
[Lex] Fix suggested spelling of /usr/bin/../include/foo
Since D60873 we remove dotdots from the search path entries, but not the
filenames we're matching against, so do the latter too.
Since this also removes (single) dots, drop the logic to skip over them.
(Some of this was already dead, some is newly dead).
See D138676 for motivation.
Differential Revision: https://reviews.llvm.org/D138677
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions