From 0e70fb5c8bd3c632919a76d142b8e788504cfa72 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Sun, 7 Dec 2008 16:47:12 +0000 Subject: Make 'extern' an option property. Makes (forward) work better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60667 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvmc/plugins/Clang/Clang.td | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tools') diff --git a/tools/llvmc/plugins/Clang/Clang.td b/tools/llvmc/plugins/Clang/Clang.td index 2267baf..3856f99 100644 --- a/tools/llvmc/plugins/Clang/Clang.td +++ b/tools/llvmc/plugins/Clang/Clang.td @@ -9,17 +9,17 @@ include "llvm/CompilerDriver/Common.td" def Priority : PluginPriority<1>; def Options : OptionList<[ -(extern_switch "E"), -(extern_switch "c"), -(extern_switch "fsyntax-only"), -(extern_switch "emit-llvm"), -(extern_switch "pthread"), -(extern_list "I"), -(extern_list "include"), -(extern_list "L"), -(extern_list "l"), -(extern_list "Wa,"), -(extern_list "Wl,"), +(switch_option "E", (extern)), +(switch_option "c", (extern)), +(switch_option "fsyntax-only", (extern)), +(switch_option "emit-llvm", (extern)), +(switch_option "pthread", (extern)), +(parameter_list_option "I", (extern)), +(parameter_list_option "include", (extern)), +(parameter_list_option "L", (extern)), +(parameter_list_option "l", (extern)), +(prefix_list_option "Wa,", (extern)), +(prefix_list_option "Wl,", (extern)), (switch_option "clang", (help "Use Clang instead of llvm-gcc")) ]>; -- cgit v1.1