llvm-project/clang/test
Ilya Biryukov 87aaa56b42 [Driver] Fix libcxx detection on Darwin with clang run as ./clang
Summary:
By using '..' instead of fs::parent_path.

The intention of the code was to go from 'path/to/clang/bin' to
'path/to/clang/include'. In most cases parent_path works, however it
would fail when clang is run as './clang'.

This was noticed in Chromium's bug tracker, see
https://bugs.chromium.org/p/chromium/issues/detail?id=919761

Reviewers: arphaman, thakis, EricWF

Reviewed By: arphaman, thakis

Subscribers: christof, cfe-commits

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

llvm-svn: 350714
2019-01-09 13:08:11 +00:00
..
ARCMT Quickfix for failing tests. 2018-08-17 23:54:00 +00:00
AST [AST] Store "UsesADL" information in CallExpr. 2018-12-12 21:50:55 +00:00
ASTMerge
Analysis [analyzer] pr38668: Do not attempt to cast loaded integers to floats. 2018-12-22 02:06:51 +00:00
CXX DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
CodeCompletion Refactor the way we handle diagnosing unused expression results. 2019-01-04 16:58:14 +00:00
CodeGen Limit COFF 'common' emission to <=32 alignment types. 2019-01-08 18:44:22 +00:00
CodeGenCUDA [CUDA] Treat extern global variable shadows same as regular extern vars. 2018-12-22 01:11:09 +00:00
CodeGenCXX [NFC] Don't over-eagerly check block alignment 2019-01-08 18:51:38 +00:00
CodeGenCoroutines Revert "[CodeGenCXX] Treat 'this' as noalias in constructors" 2018-10-15 15:43:00 +00:00
CodeGenObjC [ObjCARC] Add an new attribute, objc_externally_retained 2019-01-04 18:33:06 +00:00
CodeGenObjCXX [CodeGen] Replace '@' characters in block descriptors' symbol names with 2018-12-29 17:28:30 +00:00
CodeGenOpenCL Fix opencl test broken on windows by r350643. 2019-01-08 19:10:43 +00:00
CodeGenOpenCLCXX [OpenCL] Add generic AS to 'this' pointer 2018-12-13 10:15:27 +00:00
Coverage [Frontend] Delete -print-decl-contexts 2018-10-03 03:50:44 +00:00
CoverageMapping [Coverage] Specify the Itanium ABI triple for a C++ test 2018-11-28 20:51:09 +00:00
Driver [Driver] Fix libcxx detection on Darwin with clang run as ./clang 2019-01-09 13:08:11 +00:00
FixIt Introduce the _Clang scoped attribute token. 2018-11-09 17:19:45 +00:00
Format
Frontend Validate -add-plugin arguments. 2019-01-03 18:26:06 +00:00
Headers [OpenCL] Add support of cl_intel_device_side_avc_motion_estimation extension 2018-11-08 11:25:41 +00:00
Import [AST] Store "UsesADL" information in CallExpr. 2018-12-12 21:50:55 +00:00
Index Fix incorrect column numbers in test from r350282. 2019-01-03 01:30:50 +00:00
Integration
Layout
Lexer [c++20] Implement P0482R6: enable -fchar8_t by default in C++20 mode. 2018-11-14 21:04:34 +00:00
Misc [ObjCARC] Add an new attribute, objc_externally_retained 2019-01-04 18:33:06 +00:00
Modules CodeGen: fix autolink emission on ELF 2019-01-05 19:27:12 +00:00
OpenMP [OPENMP]Fix PR40191: Do not allow orphaned cancellation constructs. 2019-01-08 15:53:42 +00:00
PCH Reuse code from CGDebugInfo::getOrCreateFile() when creating the file 2018-12-11 16:58:43 +00:00
Parser Add two new pragmas for controlling software pipelining optimizations. 2019-01-04 17:20:00 +00:00
Preprocessor Android is not GNU, so don't claim that it is. 2019-01-08 22:31:19 +00:00
Profile
Refactor
Rewriter
Sema __has_feature(pragma_clang_attribute_namespaces) should be __has_extension 2019-01-08 18:24:39 +00:00
SemaCUDA [CUDA][HIP] Fix ShouldDeleteSpecialMember for inherited constructors 2018-10-09 15:53:14 +00:00
SemaCXX [Sema] Teach Clang that aligned allocation is not supported with macosx10.13 2019-01-08 20:26:56 +00:00
SemaObjC [ObjCARC] Add an new attribute, objc_externally_retained 2019-01-04 18:33:06 +00:00
SemaObjCXX Distinguish `__block` variables that are captured by escaping blocks 2018-10-01 21:51:28 +00:00
SemaOpenCL OpenCL: Improve vector printf warnings 2018-12-01 22:16:27 +00:00
SemaOpenCLCXX [OpenCL] Add generic AS to 'this' pointer 2018-12-13 10:15:27 +00:00
SemaTemplate Fix crash if an in-class explicit function specialization has explicit 2018-12-04 22:26:32 +00:00
TableGen
Templight
Tooling [Driver] Fix libcxx detection on Darwin with clang run as ./clang 2019-01-09 13:08:11 +00:00
Unit
VFS [VFS] Implement `RedirectingFileSystem::getRealPath`. 2018-11-16 01:18:04 +00:00
clang-rename
.clang-format
CMakeLists.txt [analyzer] Fix bots by removing new check-clang-analyzer commands from CHECK-ALL 2018-08-14 18:55:34 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [Driver] Disable -faddrsig on Gentoo by default 2018-12-23 15:07:26 +00:00
lit.site.cfg.py.in Import lit.llvm after rC341132 2018-08-31 00:24:36 +00:00
make_test_dirs.pl