summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-04-12 16:52:30 +0000
committerNico Weber <nicolasweber@gmx.de>2016-04-12 16:52:30 +0000
commitc8b31f30ad93947ae833a1cd967c43ab24c1a303 (patch)
treee03debfefc518ad983c32d976581661e8c0e22ef
parentb790d4fd6c2f3ced6f4b502efe9ef3fbcd62f959 (diff)
downloadbcm5719-llvm-c8b31f30ad93947ae833a1cd967c43ab24c1a303.tar.gz
bcm5719-llvm-c8b31f30ad93947ae833a1cd967c43ab24c1a303.zip
Revert 266090, needs more testing first.
llvm-svn: 266091
-rw-r--r--clang/include/clang/Driver/Options.td2
-rw-r--r--clang/test/Driver/cl-options.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index e5acbbef4ec..dadb475f43e 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -1681,7 +1681,7 @@ def noprebind : Flag<["-"], "noprebind">;
def noseglinkedit : Flag<["-"], "noseglinkedit">;
def nostartfiles : Flag<["-"], "nostartfiles">;
def nostdinc : Flag<["-"], "nostdinc">;
-def nostdlibinc : Flag<["-"], "nostdlibinc">, Flags<[CoreOption]>;
+def nostdlibinc : Flag<["-"], "nostdlibinc">;
def nostdincxx : Flag<["-"], "nostdinc++">, Flags<[CC1Option]>,
HelpText<"Disable standard #include directories for the C++ standard library">;
def nostdlib : Flag<["-"], "nostdlib">;
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index e826a30d179..c9e857332d7 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/test/Driver/cl-options.c
@@ -454,7 +454,6 @@
// RUN: -fno-ms-extensions \
// RUN: -isystem=some/path \
// RUN: -mllvm -disable-llvm-optzns \
-// RUN: -nostdlibinc \
// RUN: -Wunused-variable \
// RUN: -fmacro-backtrace-limit=0 \
// RUN: -Werror /Zs -- %s 2>&1
OpenPOWER on IntegriCloud