From: Rafael Espindola Date: Wed, 25 Sep 2013 15:26:06 +0000 (+0000) Subject: Move --relocatable-pch to Options.td. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db10fe278886eadaff028a747b260f06d5a37c8b;p=clang Move --relocatable-pch to Options.td. 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 --- diff --git a/include/clang/Driver/CC1Options.td b/include/clang/Driver/CC1Options.td index 1b96ef38c1..2860641cd5 100644 --- a/include/clang/Driver/CC1Options.td +++ b/include/clang/Driver/CC1Options.td @@ -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">, diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 51147f92be..ebda0fb08c 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -873,6 +873,8 @@ def include_ : JoinedOrSeparate<["-", "--"], "include">, Group, E MetaVarName<"">, HelpText<"Include file before parsing">, Flags<[CC1Option]>; def include_pch : Separate<["-"], "include-pch">, Group, Flags<[CC1Option]>, HelpText<"Include precompiled header file">, MetaVarName<"">; +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]>;