Skip to content

Commit

Permalink
clang-cl: Expose -nostdlibinc.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266090 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
nico committed Apr 12, 2016
1 parent 8250364 commit 37b403d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/clang/Driver/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -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">;
Expand Down
1 change: 1 addition & 0 deletions test/Driver/cl-options.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37b403d

Please sign in to comment.