r266090 - clang-cl: Expose -nostdlibinc.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 12 09:38:08 PDT 2016
Author: nico
Date: Tue Apr 12 11:38:07 2016
New Revision: 266090
URL: http://llvm.org/viewvc/llvm-project?rev=266090&view=rev
Log:
clang-cl: Expose -nostdlibinc.
Modified:
cfe/trunk/include/clang/Driver/Options.td
cfe/trunk/test/Driver/cl-options.c
Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=266090&r1=266089&r2=266090&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Tue Apr 12 11:38:07 2016
@@ -1681,7 +1681,7 @@ def noprebind : Flag<["-"], "noprebind">
def noseglinkedit : Flag<["-"], "noseglinkedit">;
def nostartfiles : Flag<["-"], "nostartfiles">;
def nostdinc : Flag<["-"], "nostdinc">;
-def nostdlibinc : Flag<["-"], "nostdlibinc">;
+def nostdlibinc : Flag<["-"], "nostdlibinc">, Flags<[CoreOption]>;
def nostdincxx : Flag<["-"], "nostdinc++">, Flags<[CC1Option]>,
HelpText<"Disable standard #include directories for the C++ standard library">;
def nostdlib : Flag<["-"], "nostdlib">;
Modified: cfe/trunk/test/Driver/cl-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-options.c?rev=266090&r1=266089&r2=266090&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-options.c (original)
+++ cfe/trunk/test/Driver/cl-options.c Tue Apr 12 11:38:07 2016
@@ -454,6 +454,7 @@
// 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
More information about the cfe-commits
mailing list