diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-09-10 16:22:02 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-09-10 16:22:02 +0000 |
commit | 2d04ec5fe65aa5ec0688b661a4abb20456941989 (patch) | |
tree | 103bf0a2d7828188f5efe71b7797786910542c7d /include/llvm/CompilerDriver | |
parent | 684a8b0f10cb43ed77ccc094cdeac6b4740d4598 (diff) | |
download | external_llvm-2d04ec5fe65aa5ec0688b661a4abb20456941989.zip external_llvm-2d04ec5fe65aa5ec0688b661a4abb20456941989.tar.gz external_llvm-2d04ec5fe65aa5ec0688b661a4abb20456941989.tar.bz2 |
Distinguish between 'empty' and empty DAG marker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CompilerDriver')
-rw-r--r-- | include/llvm/CompilerDriver/Common.td | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/llvm/CompilerDriver/Common.td b/include/llvm/CompilerDriver/Common.td index 2ea1f4a..e1a0213 100644 --- a/include/llvm/CompilerDriver/Common.td +++ b/include/llvm/CompilerDriver/Common.td @@ -46,9 +46,6 @@ def really_hidden; def required; def zero_or_one; -// Empty DAG marker. -def empty; - // The 'case' construct. def case; @@ -66,6 +63,7 @@ def switch_on; def parameter_equals; def element_in_list; def input_languages_contain; +def empty; def not_empty; def default; @@ -82,6 +80,9 @@ def error; def inc_weight; def dec_weight; +// Empty DAG marker. +def empty_dag_marker; + // Used to specify plugin priority. class PluginPriority<int p> { int priority = p; @@ -111,10 +112,10 @@ class EdgeBase<string t1, string t2, dag d> { dag weight = d; } -class Edge<string t1, string t2> : EdgeBase<t1, t2, (empty)>; +class Edge<string t1, string t2> : EdgeBase<t1, t2, (empty_dag_marker)>; // Edge and SimpleEdge are synonyms. -class SimpleEdge<string t1, string t2> : EdgeBase<t1, t2, (empty)>; +class SimpleEdge<string t1, string t2> : EdgeBase<t1, t2, (empty_dag_marker)>; // Optionally enabled edge. class OptionalEdge<string t1, string t2, dag props> : EdgeBase<t1, t2, props>; |