Driver: Add Sentinel flag to option kinds.

llvm-svn: 89367
This commit is contained in:
Daniel Dunbar 2009-11-19 18:09:06 +00:00
parent ad2956c25d
commit 0f32a4bc86
1 changed files with 3 additions and 1 deletions

View File

@ -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.