]> granicus.if.org Git - clang/commitdiff
Move --relocatable-pch to Options.td.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 25 Sep 2013 15:26:06 +0000 (15:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 25 Sep 2013 15:26:06 +0000 (15:26 +0000)
It is a valid driver option (we have tests for that), so it should not be
marked as NoDriverOption.

No functionality change other than it showing in --help.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191377 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td

index 1b96ef38c10175b698eecaf57ca5c982fdec0a38..2860641cd58474da14743951c9a6a4e68944891e 100644 (file)
@@ -373,8 +373,6 @@ def arcmt_modify : Flag<["-"], "arcmt-modify">,
 def arcmt_migrate : Flag<["-"], "arcmt-migrate">,
   HelpText<"Apply modifications and produces temporary files that conform to ARC">;
 
-def relocatable_pch : Flag<["-", "--"], "relocatable-pch">,
-  HelpText<"Whether to build a relocatable precompiled header">;
 def print_stats : Flag<["-"], "print-stats">,
   HelpText<"Print performance metrics and statistics">;
 def fdump_record_layouts : Flag<["-"], "fdump-record-layouts">,
index 51147f92be2be6e71b871ffa17d514531f5a34a6..ebda0fb08cfdc04d90fef4e131596bc605828845 100644 (file)
@@ -873,6 +873,8 @@ def include_ : JoinedOrSeparate<["-", "--"], "include">, Group<clang_i_Group>, E
     MetaVarName<"<file>">, HelpText<"Include file before parsing">, Flags<[CC1Option]>;
 def include_pch : Separate<["-"], "include-pch">, Group<clang_i_Group>, Flags<[CC1Option]>,
   HelpText<"Include precompiled header file">, MetaVarName<"<file>">;
+def relocatable_pch : Flag<["-", "--"], "relocatable-pch">, Flags<[CC1Option]>,
+  HelpText<"Whether to build a relocatable precompiled header">;
 def init : Separate<["-"], "init">;
 def install__name : Separate<["-"], "install_name">;
 def integrated_as : Flag<["-"], "integrated-as">, Flags<[DriverOption]>;