From: Daniel Dunbar Date: Thu, 19 Nov 2009 18:09:06 +0000 (+0000) Subject: Driver: Add Sentinel flag to option kinds. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f010b26b60f3f51b6fa0335218c9a458ec30cff4;p=clang Driver: Add Sentinel flag to option kinds. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89367 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/OptParser.td b/include/clang/Driver/OptParser.td index 70b59c69c2..3df315a0db 100644 --- a/include/clang/Driver/OptParser.td +++ b/include/clang/Driver/OptParser.td @@ -14,10 +14,12 @@ // Define the kinds of options. -class OptionKind { +class OptionKind { 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.