~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/include/llvm/CompilerDriver/Common.td

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-03-12 11:30:04 UTC
  • mfrom: (0.41.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100312113004-b0fop4bkycszdd0z
Tags: 0.96~rc1+dfsg-0ubuntu1
* New upstream RC - FFE (LP: #537636):
  - Add OfficialDatabaseOnly option to clamav-base.postinst.in
  - Add LocalSocketGroup option to clamav-base.postinst.in
  - Add LocalSocketMode option to clamav-base.postinst.in
  - Add CrossFilesystems option to clamav-base.postinst.in
  - Add ClamukoScannerCount option to clamav-base.postinst.in
  - Add BytecodeSecurity opiton to clamav-base.postinst.in
  - Add DetectionStatsHostID option to clamav-freshclam.postinst.in
  - Add Bytecode option to clamav-freshclam.postinst.in
  - Add MilterSocketGroup option to clamav-milter.postinst.in
  - Add MilterSocketMode option to clamav-milter.postinst.in
  - Add ReportHostname option to clamav-milter.postinst.in
  - Bump libclamav SO version to 6.1.0 in libclamav6.install
  - Drop clamdmon from clamav.examples (no longer shipped by upstream)
  - Drop libclamav.a from libclamav-dev.install (not built by upstream)
  - Update SO version for lintian override for libclamav6
  - Add new Bytecode Testing Tool, usr/bin/clambc, to clamav.install
  - Add build-depends on python and python-setuptools for new test suite
  - Update debian/copyright for the embedded copy of llvm (using the system
    llvm is not currently feasible)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//===- Common.td - Common definitions for LLVMC2  ----------*- tablegen -*-===//
 
2
//
 
3
//                     The LLVM Compiler Infrastructure
 
4
//
 
5
// This file is distributed under the University of Illinois Open Source
 
6
// License. See LICENSE.TXT for details.
 
7
//
 
8
//===----------------------------------------------------------------------===//
 
9
//
 
10
// This file contains common definitions used in llvmc tool description files.
 
11
//
 
12
//===----------------------------------------------------------------------===//
 
13
 
 
14
class Tool<list<dag> l> {
 
15
      list<dag> properties = l;
 
16
}
 
17
 
 
18
// Possible Tool properties.
 
19
 
 
20
def in_language;
 
21
def out_language;
 
22
def output_suffix;
 
23
def command;
 
24
def out_file_option;
 
25
def in_file_option;
 
26
def join;
 
27
def sink;
 
28
def works_on_empty;
 
29
def actions;
 
30
 
 
31
// Possible option types.
 
32
 
 
33
def alias_option;
 
34
def switch_option;
 
35
def parameter_option;
 
36
def parameter_list_option;
 
37
def prefix_option;
 
38
def prefix_list_option;
 
39
 
 
40
// Possible option properties.
 
41
 
 
42
def extern;
 
43
def help;
 
44
def hidden;
 
45
def init;
 
46
def multi_val;
 
47
def one_or_more;
 
48
def zero_or_more;
 
49
def optional;
 
50
def really_hidden;
 
51
def required;
 
52
def comma_separated;
 
53
def forward_not_split;
 
54
 
 
55
// The 'case' construct.
 
56
def case;
 
57
 
 
58
// Boolean constants.
 
59
def true;
 
60
def false;
 
61
 
 
62
// Boolean operators.
 
63
def and;
 
64
def or;
 
65
def not;
 
66
 
 
67
// Primitive tests.
 
68
def switch_on;
 
69
def parameter_equals;
 
70
def element_in_list;
 
71
def input_languages_contain;
 
72
def empty;
 
73
def not_empty;
 
74
def default;
 
75
def single_input_file;
 
76
def multiple_input_files;
 
77
def any_switch_on;
 
78
def any_not_empty;
 
79
def any_empty;
 
80
 
 
81
// Possible actions.
 
82
 
 
83
def append_cmd;
 
84
def forward;
 
85
def forward_as;
 
86
def forward_value;
 
87
def forward_transformed_value;
 
88
def stop_compilation;
 
89
def no_out_file;
 
90
def unpack_values;
 
91
def warning;
 
92
def error;
 
93
def set_option;
 
94
def unset_option;
 
95
 
 
96
// Increase/decrease the edge weight.
 
97
def inc_weight;
 
98
def dec_weight;
 
99
 
 
100
// Empty DAG marker.
 
101
def empty_dag_marker;
 
102
 
 
103
// Used to specify plugin priority.
 
104
class PluginPriority<int p> {
 
105
      int priority = p;
 
106
}
 
107
 
 
108
// Option list - a single place to specify options.
 
109
class OptionList<list<dag> l> {
 
110
      list<dag> options = l;
 
111
}
 
112
 
 
113
// Option preprocessor - actions taken during plugin loading.
 
114
class OptionPreprocessor<dag d> {
 
115
      dag preprocessor = d;
 
116
}
 
117
 
 
118
// Map from suffixes to language names
 
119
 
 
120
class LangToSuffixes<string str, list<string> lst> {
 
121
      string lang = str;
 
122
      list<string> suffixes = lst;
 
123
}
 
124
 
 
125
class LanguageMap<list<LangToSuffixes> lst> {
 
126
      list<LangToSuffixes> map = lst;
 
127
}
 
128
 
 
129
// Compilation graph
 
130
 
 
131
class EdgeBase<string t1, string t2, dag d> {
 
132
      string a = t1;
 
133
      string b = t2;
 
134
      dag weight = d;
 
135
}
 
136
 
 
137
class Edge<string t1, string t2> : EdgeBase<t1, t2, (empty_dag_marker)>;
 
138
 
 
139
// Edge and SimpleEdge are synonyms.
 
140
class SimpleEdge<string t1, string t2> : EdgeBase<t1, t2, (empty_dag_marker)>;
 
141
 
 
142
// Optionally enabled edge.
 
143
class OptionalEdge<string t1, string t2, dag props> : EdgeBase<t1, t2, props>;
 
144
 
 
145
class CompilationGraph<list<EdgeBase> lst> {
 
146
      list<EdgeBase> edges = lst;
 
147
}