summaryrefslogtreecommitdiffstats
path: root/clang/test/ClangScanDeps/subframework_header_dir_symlink.m
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2019-08-31 01:26:04 +0000
committerAlex Lorenz <arphaman@gmail.com>2019-08-31 01:26:04 +0000
commit0377ca641c9af0262270d091578cab19523b1bc6 (patch)
tree07dd78901eff6d926370fdd5414576a90fdfd40e /clang/test/ClangScanDeps/subframework_header_dir_symlink.m
parent09490012afde4ef89165f42d143e18a81e7a1054 (diff)
downloadbcm5719-llvm-0377ca641c9af0262270d091578cab19523b1bc6.tar.gz
bcm5719-llvm-0377ca641c9af0262270d091578cab19523b1bc6.zip
Introduce a DirectoryEntryRef that stores both a reference and an
accessed name to the directory entry This commit introduces a parallel API that returns a DirectoryEntryRef to the FileManager, similar to the parallel FileEntryRef API. All uses will have to be update in follow-up patches. The immediate use of the new API in this patch fixes the issue where a file manager was reused in clang-scan-deps, but reported an different file path whenever a framework lookup was done through a symlink. Differential Revision: https://reviews.llvm.org/D67026 llvm-svn: 370562
Diffstat (limited to 'clang/test/ClangScanDeps/subframework_header_dir_symlink.m')
-rw-r--r--clang/test/ClangScanDeps/subframework_header_dir_symlink.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/ClangScanDeps/subframework_header_dir_symlink.m b/clang/test/ClangScanDeps/subframework_header_dir_symlink.m
index 5cc17851e7c..ae7f884803f 100644
--- a/clang/test/ClangScanDeps/subframework_header_dir_symlink.m
+++ b/clang/test/ClangScanDeps/subframework_header_dir_symlink.m
@@ -10,9 +10,8 @@
// RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/subframework_header_dir_symlink_cdb.json > %t.cdb
// RUN: clang-scan-deps -compilation-database %t.cdb -j 1 -reuse-filemanager=0 | \
// RUN: FileCheck %s
-// FIXME: Make this work when the filemanager is reused:
// RUN: clang-scan-deps -compilation-database %t.cdb -j 1 -reuse-filemanager=1 | \
-// RUN: not FileCheck %s
+// RUN: FileCheck %s
#ifndef EMPTY
#include "Framework/Framework.h"
OpenPOWER on IntegriCloud