[LLVMbugs] [Bug 17369] New: Support -FI with clang-cl

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 25 13:21:32 PDT 2013


            Bug ID: 17369
           Summary: Support -FI with clang-cl
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jmuizelaar at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I imagine this would look something like:

diff --git a/include/clang/Driver/CLCompatOptions.td
index c912acc..565abdc 100644
--- a/include/clang/Driver/CLCompatOptions.td
+++ b/include/clang/Driver/CLCompatOptions.td
@@ -50,16 +50,18 @@ class CLRemainingArgs<string name> : Option<["/", "-"],

 // Aliases:
 // (We don't put any of these in cl_compile_Group as the options they alias
 // already in the right group.)

 def _SLASH_c : CLFlag<"c">, HelpText<"Compile only">, Alias<c>;
 def _SLASH_D : CLJoinedOrSeparate<"D">, HelpText<"Define macro">,
   MetaVarName<"<macro[=value]>">, Alias<D>;
+def _SLASH_FI : CLJoinedOrSeparate<"FI">,
+  HelpText<"Include file before parsing"">, Alias<include>;
 def _SLASH_GR : CLFlag<"GR">, HelpText<"Enable RTTI">, Alias<frtti>;
 def _SLASH_GR_ : CLFlag<"GR-">, HelpText<"Disable RTTI">, Alias<fno_rtti>;
 def _SLASH_help : CLFlag<"help">, Alias<help>,
   HelpText<"Display available options">;
 def _SLASH_I : CLJoinedOrSeparate<"I">,
   HelpText<"Add directory to include search path">, MetaVarName<"<dir>">,
 def _SLASH_J : CLFlag<"J">, HelpText<"Make char type unsigned">,

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130925/035658d1/attachment.html>

More information about the llvm-bugs mailing list