From e97b5f5cf37e382643b567affd714823215d0e75 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 21 May 2019 17:48:04 +0000 Subject: [clang][Darwin] Refactor header search path logic into the driver Summary: This commit moves the logic for determining system, resource and C++ header search paths from CC1 to the driver. This refactor has already been made for several platforms, but Darwin had been left behind. This refactor tries to implement the previous search path logic with perfect accuracy. In particular, the order of all include paths inside CC1 and all paths that were skipped because nonexistent are conserved after the refactor. This change was also tested against a code base of significant size and revealed no problems. Reviewers: jfb, arphaman Subscribers: nemanjai, javed.absar, kbarton, christof, jkorous, dexonsmith, jsji, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61963 llvm-svn: 361278 --- clang/test/Frontend/warning-stdlibcxx-darwin.cpp | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 clang/test/Frontend/warning-stdlibcxx-darwin.cpp (limited to 'clang/test/Frontend') diff --git a/clang/test/Frontend/warning-stdlibcxx-darwin.cpp b/clang/test/Frontend/warning-stdlibcxx-darwin.cpp deleted file mode 100644 index 697fe27c730..00000000000 --- a/clang/test/Frontend/warning-stdlibcxx-darwin.cpp +++ /dev/null @@ -1,6 +0,0 @@ -// RUN: %clang -cc1 -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist %s 2>&1 | FileCheck %s -// RUN: %clang -cc1 -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist -stdlib=libc++ %s -verify -// RUN: %clang -cc1 -x c++-cpp-output -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist %s -verify -// CHECK: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead - -// expected-no-diagnostics -- cgit v1.2.3