[cfe-commits] r90068 - /cfe/trunk/include/clang/Driver/CC1Options.td

Daniel Dunbar daniel at zuster.org
Sun Nov 29 01:32:20 PST 2009


Author: ddunbar
Date: Sun Nov 29 03:32:20 2009
New Revision: 90068

URL: http://llvm.org/viewvc/llvm-project?rev=90068&view=rev
Log:
clang -cc1: Allow -triple= as an alias for -triple, -code-compiletion-at= as an alias for -code-completion-at, and spell "-std=" option correctly.

Modified:
    cfe/trunk/include/clang/Driver/CC1Options.td

Modified: cfe/trunk/include/clang/Driver/CC1Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/CC1Options.td?rev=90068&r1=90067&r2=90068&view=diff

==============================================================================
--- cfe/trunk/include/clang/Driver/CC1Options.td (original)
+++ cfe/trunk/include/clang/Driver/CC1Options.td Sun Nov 29 03:32:20 2009
@@ -26,6 +26,7 @@
   HelpText<"Target specific attributes">;
 def triple : Separate<"-triple">,
   HelpText<"Specify target triple (e.g. i686-apple-darwin9)">;
+def triple_EQ : Joined<"-triple=">, Alias<triple>;
 
 //===----------------------------------------------------------------------===//
 // Analyzer Options
@@ -183,6 +184,8 @@
 def code_completion_at : Separate<"-code-completion-at">,
   MetaVarName<"file:line:column">,
   HelpText<"Dump code-completion information at a location">;
+def code_completion_at_EQ : Joined<"-code-completion-at=">,
+  Alias<code_completion_at>;
 def no_code_completion_debug_printer : Flag<"-no-code-completion-debug-printer">,
   HelpText<"Don't the \"debug\" code-completion print">;
 def code_completion_macros : Flag<"-code-completion-macros">,
@@ -289,7 +292,7 @@
   HelpText<"Assert that the compilation takes place in a freestanding environment">;
 def fgnu_runtime : Flag<"-fgnu-runtime">,
   HelpText<"Generate output compatible with the standard GNU Objective-C runtime">;
-def std_EQ : Joined<"-std">,
+def std_EQ : Joined<"-std=">,
   HelpText<"Language standard to compile for">;
 def fms_extensions : Flag<"-fms-extensions">,
   HelpText<"Accept some non-standard constructs used in Microsoft header files ">;





More information about the cfe-commits mailing list