diff options
author | Alex Lorenz <arphaman@gmail.com> | 2019-09-13 22:12:02 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2019-09-13 22:12:02 +0000 |
commit | ee30b0ecc245a5c50e47de19fa21491b50427ae2 (patch) | |
tree | 544eb35443e90cf8326accf44ee9fe7c9f00788d /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 573863ea180b7ce73dda4e019ad94fddf2222363 (diff) | |
download | llvm-ee30b0ecc245a5c50e47de19fa21491b50427ae2.zip llvm-ee30b0ecc245a5c50e47de19fa21491b50427ae2.tar.gz llvm-ee30b0ecc245a5c50e47de19fa21491b50427ae2.tar.bz2 |
[clang-scan-deps] Fix for headers having the same name as a directory
Scan deps tool crashes when called on a C++ file, containing an include
that has the same name as a directory.
The tool crashes since it finds foo/dir and tries to read that as a file and fails.
Patch by: kousikk (Kousik Kumar)
Differential Revision: https://reviews.llvm.org/D67091
llvm-svn: 371903
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions