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 | 18fa48c9f9821c732f79fead82d5c2741e899536 (patch) | |
tree | 17683126d19d48d0fafd986cf15781d59b4bcb03 /clang/test/Frontend/system-header-prefix.c | |
parent | 876bee81550afbeeb0790bec23011fb333f54582 (diff) | |
download | bcm5719-llvm-18fa48c9f9821c732f79fead82d5c2741e899536.tar.gz bcm5719-llvm-18fa48c9f9821c732f79fead82d5c2741e899536.zip |
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
llvm-svn: 204775
Diffstat (limited to 'clang/test/Frontend/system-header-prefix.c')
-rw-r--r-- | clang/test/Frontend/system-header-prefix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Frontend/system-header-prefix.c b/clang/test/Frontend/system-header-prefix.c index 449804579fe..55b954fc1b2 100644 --- a/clang/test/Frontend/system-header-prefix.c +++ b/clang/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" |