llvm-project/clang/test/ClangScanDeps
Kousik Kumar 4abac53302 In openFileForRead don't cache erroneous entries if the error relates to them being directories. Add tests.
Summary:
It seems that when the CachingFileSystem is first given a file to open that is actually a directory, it incorrectly
caches that path to be errenous and throws an error when subsequently a directory open call is made for the same
path.
This change makes it so that we do NOT cache a path if it turns out we asked for a file when its a directory.

Reviewers: arphaman

Subscribers: dexonsmith, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68193

llvm-svn: 374366
2019-10-10 15:29:01 +00:00
..
Inputs In openFileForRead don't cache erroneous entries if the error relates to them being directories. Add tests. 2019-10-10 15:29:01 +00:00
error.cpp [clang-scan-deps][NFC] Fix tests - prevent FileCheck matching test dir path 2019-09-11 00:30:26 +00:00
header_stat_before_open.m [clang-scan-deps] Add dependency targets 2019-09-12 00:48:45 +00:00
headerwithdirname.cpp [clang-scan-deps] Fix for headers having the same name as a directory 2019-09-13 22:12:02 +00:00
headerwithdirnamefollowedbyinclude.cpp In openFileForRead don't cache erroneous entries if the error relates to them being directories. Add tests. 2019-10-10 15:29:01 +00:00
no-werror.cpp [clang-scan-deps][NFC] Fix tests - prevent FileCheck matching test dir path 2019-09-11 00:30:26 +00:00
regular_cdb.cpp [clang-scan-deps] Add dependency targets 2019-09-12 00:48:45 +00:00
strip_diag_serialize.cpp [clang-scan-deps] strip the --serialize-diagnostics argument 2019-09-21 00:17:26 +00:00
subframework_header_dir_symlink.m [clang-scan-deps] Add dependency targets 2019-09-12 00:48:45 +00:00
symlink.cpp [clang-scan-deps][NFC] Fix tests - prevent FileCheck matching test dir path 2019-09-11 00:30:26 +00:00
vfsoverlay.cpp [clang-scan-deps] Add dependency targets 2019-09-12 00:48:45 +00:00