Driver: Add Sentinel flag to option kinds.
llvm-svn: 89367
This commit is contained in:
parent
ad2956c25d
commit
0f32a4bc86
|
@ -14,10 +14,12 @@
|
|||
|
||||
// Define the kinds of options.
|
||||
|
||||
class OptionKind<string name, int predecence = 0> {
|
||||
class OptionKind<string name, int predecence = 0, bit sentinel = 0> {
|
||||
string Name = name;
|
||||
// The kind precedence, kinds with lower precedence are matched first.
|
||||
int Precedence = predecence;
|
||||
// Indicate a sentinel option.
|
||||
bit Sentinel = sentinel;
|
||||
}
|
||||
|
||||
// An option group.
|
||||
|
|
Loading…
Reference in New Issue