[llvm] r186517 - OptParser.td: typo

Hans Wennborg hans at hanshq.net
Wed Jul 17 09:26:38 PDT 2013


Author: hans
Date: Wed Jul 17 11:26:38 2013
New Revision: 186517

URL: http://llvm.org/viewvc/llvm-project?rev=186517&view=rev
Log:
OptParser.td: typo

Modified:
    llvm/trunk/include/llvm/Option/OptParser.td

Modified: llvm/trunk/include/llvm/Option/OptParser.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Option/OptParser.td?rev=186517&r1=186516&r2=186517&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Option/OptParser.td (original)
+++ llvm/trunk/include/llvm/Option/OptParser.td Wed Jul 17 11:26:38 2013
@@ -14,10 +14,10 @@
 
 // Define the kinds of options.
 
-class OptionKind<string name, int predecence = 0, bit sentinel = 0> {
+class OptionKind<string name, int precedence = 0, bit sentinel = 0> {
   string Name = name;
   // The kind precedence, kinds with lower precedence are matched first.
-  int Precedence = predecence;
+  int Precedence = precedence;
   // Indicate a sentinel option.
   bit Sentinel = sentinel;
 }





More information about the llvm-commits mailing list