From 3541ea8ff78a71cfb4f30a4371cdc136b5bbe013 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361278 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Frontend/warning-stdlibcxx-darwin.cpp | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 test/Frontend/warning-stdlibcxx-darwin.cpp (limited to 'test/Frontend') diff --git a/test/Frontend/warning-stdlibcxx-darwin.cpp b/test/Frontend/warning-stdlibcxx-darwin.cpp deleted file mode 100644 index 697fe27c73..0000000000 --- a/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.1