forked from OSchip/llvm-project
Add support for the separate version of /FI.
Patch by Jeff Muizelaar. llvm-svn: 193642
This commit is contained in:
parent
6b2d841975
commit
8c8711207c
|
@ -119,7 +119,7 @@ def _SLASH_Fa : CLJoined<"Fa">,
|
|||
MetaVarName<"<file or directory>">;
|
||||
def _SLASH_fallback : CLCompileFlag<"fallback">,
|
||||
HelpText<"Fall back to cl.exe if clang-cl fails to compile">;
|
||||
def _SLASH_FI : CLJoined<"FI">,
|
||||
def _SLASH_FI : CLJoinedOrSeparate<"FI">,
|
||||
HelpText<"Include file before parsing">, Alias<include_>;
|
||||
def _SLASH_Fe : CLJoined<"Fe">,
|
||||
HelpText<"Set output executable file or directory (ends in / or \\)">,
|
||||
|
|
|
@ -91,6 +91,9 @@
|
|||
// RUN: %clang_cl /FIasdf.h -### -- %s 2>&1 | FileCheck -check-prefix=FI %s
|
||||
// FI: "-include" "asdf.h"
|
||||
|
||||
// RUN: %clang_cl /FI asdf.h -### -- %s 2>&1 | FileCheck -check-prefix=FI_ %s
|
||||
// FI_: "-include" "asdf.h"
|
||||
|
||||
// We forward any unrecognized -W diagnostic options to cc1.
|
||||
// RUN: %clang_cl -Wunused-pragmas -### -- %s 2>&1 | FileCheck -check-prefix=WJoined %s
|
||||
// WJoined: "-cc1"
|
||||
|
|
Loading…
Reference in New Issue