mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 06:26:10 +00:00

This commit adds support for a new -iframeworkwithsysroot compiler option which allows the user to specify a framework path that can be prefixed with the sysroot. This option is similar to the -iwithsysroot option that exists to supplement -isystem. rdar://21316352 Differential Revision: https://reviews.llvm.org/D30183 llvm-svn: 297614
6 lines
231 B
C
6 lines
231 B
C
// RUN: %clang -fsyntax-only -iframework %S/Inputs %s -Xclang -verify
|
|
// RUN: %clang -fsyntax-only -isysroot %S -iframeworkwithsysroot /Inputs %s -Xclang -verify
|
|
// expected-no-diagnostics
|
|
|
|
#include <TestFramework/TestFramework.h>
|