diff options
author | Alexander Kornienko <alexfh@google.com> | 2014-03-26 01:39:59 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2014-03-26 01:39:59 +0000 |
commit | 8a2341c22d1f64417a57b6c2457f71aa71e6f7da (patch) | |
tree | d8b38100397f4bc806775a139a167fe400586852 /test/Frontend | |
parent | 70f12c60afd1c3fdf2dd8718f734fd06646bf588 (diff) | |
download | clang_35a-8a2341c22d1f64417a57b6c2457f71aa71e6f7da.tar.gz |
Move the -i[no-]system-prefix options from CC1Options.td to Options.td.
Summary:
This allows them to be used without -cc1 the same way as -I and -isystem.
Renamed the options to --system-header-prefix=/--no-system-header-prefix to avoid interference with -isystem and make the intent of the option cleaner.
Reviewers: rsmith
Reviewed By: rsmith
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3185
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend')
-rw-r--r-- | test/Frontend/system-header-prefix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Frontend/system-header-prefix.c b/test/Frontend/system-header-prefix.c index 449804579f..55b954fc1b 100644 --- a/test/Frontend/system-header-prefix.c +++ b/test/Frontend/system-header-prefix.c @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -isystem-prefix libs/ -ino-system-prefix libs/mylib/ -I%S/Inputs/SystemHeaderPrefix -Wundef -E %s 2>&1 | FileCheck %s +// RUN: %clang --system-header-prefix=libs/ --no-system-header-prefix=libs/mylib/ -I%S/Inputs/SystemHeaderPrefix -Wundef -E %s 2>&1 | FileCheck %s +// RUN: %clang --system-header-prefix libs/ --no-system-header-prefix libs/mylib/ -I%S/Inputs/SystemHeaderPrefix -Wundef -E %s 2>&1 | FileCheck %s #include "src/all.h" |